{ "parameters": [ ], "response_fields": [ ], "requests": [ { "request_headers": { "Content-Type": "application/json" }, "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", "Location": "/api/admin/payment_profiles/5dddc54212415942540756ef/saved_credit_cards/5dddc54212415942540756f6", "Content-Type": "application/json; charset=utf-8", "X-Requested-With": "", "Vary": "X-Requested-With, X-Workarea-Segments", "Last-Modified": "Wed, 27 Nov 2019 00:37:22 GMT", "Cache-Control": "no-cache, no-store, must-revalidate", "X-Request-Id": "2f21f679-6523-496e-a33f-81efb947ab6a", "X-Runtime": "0.012134", "X-Workarea-Segments": "", "Expires": "0", "Content-Length": "323" }, "request_method": "POST", "request_path": "/api/admin/payment_profiles/5dddc54212415942540756ef/saved_credit_cards", "request_body": "{\"saved_credit_card\":{\"created_at\":\"2019-11-27T00:37:22.725Z\",\"default\":false,\"display_number\":\"XXXX-XXXX-XXXX-1\",\"first_name\":\"Ben\",\"issuer\":\"Test Card\",\"last_name\":\"Crouse\",\"month\":1,\"profile_id\":\"5dddc54212415942540756f3\",\"token\":\"1\",\"updated_at\":\"2019-11-27T00:37:22.725Z\",\"year\":2020}}", "request_content_type": "application/json", "response_status": 201, "response_status_text": "Created", "response_body": "{\n \"saved_credit_card\": {\n \"_id\": \"5dddc54212415942540756f6\",\n \"created_at\": \"2019-11-27T00:37:22.725Z\",\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\": \"5dddc54212415942540756ef\",\n \"token\": \"1\",\n \"updated_at\": \"2019-11-27T00:37:22.725Z\",\n \"year\": 2020\n }\n}", "response_content_type": "application/json", "curl": "curl \"https://www.example.com/api/admin/payment_profiles/5dddc54212415942540756ef/saved_credit_cards\" -d '{\"saved_credit_card\":{\"created_at\":\"2019-11-27T00:37:22.725Z\",\"default\":false,\"display_number\":\"XXXX-XXXX-XXXX-1\",\"first_name\":\"Ben\",\"issuer\":\"Test Card\",\"last_name\":\"Crouse\",\"month\":1,\"profile_id\":\"5dddc54212415942540756f3\",\"token\":\"1\",\"updated_at\":\"2019-11-27T00:37:22.725Z\",\"year\":2020}}' -X POST \\\n\t-H \"Content-Type: application/json\"" } ], "resource": "Saved Credit Cards", "description": "Creating a saved credit card", "route": "/api/admin/payment_profiles/:payment_profile_id/saved_credit_cards", "http_method": "POST" }