{ "parameters": [ { "name": "page", "description": "Current page" }, { "name": "sort_by", "description": "Field on which to sort (see responses for possible values)" }, { "name": "sort_direction", "description": "Direction to sort (asc or desc)" } ], "response_fields": [ ], "requests": [ { "request_headers": { }, "request_query_parameters": { }, "response_headers": { "X-Frame-Options": "SAMEORIGIN", "X-XSS-Protection": "1; mode=block", "X-Content-Type-Options": "nosniff", "X-Download-Options": "noopen", "X-Permitted-Cross-Domain-Policies": "none", "Referrer-Policy": "strict-origin-when-cross-origin", "Content-Type": "application/json; charset=utf-8", "ETag": "W/\"9ac1581976228c0ac46f8c5e5dd0800e\"", "Cache-Control": "no-cache, no-store, must-revalidate", "X-Request-Id": "a6905c11-f89a-4292-a496-42582a2dd0a2", "X-Runtime": "0.005539", "Expires": "0", "Content-Length": "628" }, "request_method": "GET", "request_path": "/api/admin/payment_profiles/5d5dbd7cd4322a4b69d7917b/saved_credit_cards", "request_body": null, "request_content_type": null, "response_status": 200, "response_status_text": "OK", "response_body": "{\n \"saved_credit_cards\": [\n {\n \"_id\": \"5d5dbd7cd4322a4b69d7917f\",\n \"created_at\": \"2019-08-21T21:54:04.844Z\",\n \"default\": false,\n \"display_number\": \"XXXX-XXXX-XXXX-1\",\n \"first_name\": \"Ben\",\n \"issuer\": \"Test Card\",\n \"last_name\": \"Crouse\",\n \"month\": 1,\n \"profile_id\": \"5d5dbd7cd4322a4b69d7917b\",\n \"token\": \"1\",\n \"updated_at\": \"2019-08-21T21:54:04.844Z\",\n \"year\": 2020\n },\n {\n \"_id\": \"5d5dbd7dd4322a4b69d79183\",\n \"created_at\": \"2019-08-21T21:54:05.116Z\",\n \"default\": false,\n \"display_number\": \"XXXX-XXXX-XXXX-1\",\n \"first_name\": \"Ben\",\n \"issuer\": \"Test Card\",\n \"last_name\": \"Crouse\",\n \"month\": 1,\n \"profile_id\": \"5d5dbd7cd4322a4b69d7917b\",\n \"token\": \"1\",\n \"updated_at\": \"2019-08-21T21:54:05.116Z\",\n \"year\": 2020\n }\n ]\n}", "response_content_type": "application/json", "curl": "curl -g \"https://www.example.com/api/admin/payment_profiles/5d5dbd7cd4322a4b69d7917b/saved_credit_cards\" -X GET " } ], "resource": "Saved Credit Cards", "description": "Listing saved credit cards", "route": "/api/admin/payment_profiles/:payment_profile_id/saved_credit_cards", "http_method": "GET" }