{ "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/5d5ec9c3d4322a04dfbf62cf", "Content-Type": "application/json; charset=utf-8", "ETag": "W/\"a242c30eee786dd7933fc2c579086ac6\"", "Cache-Control": "no-cache, no-store, must-revalidate", "X-Request-Id": "3d7e2286-f881-4643-b2cb-572f49d8adcc", "X-Runtime": "0.018116", "Expires": "0", "Content-Length": "246" }, "request_method": "POST", "request_path": "/api/admin/payment_profiles", "request_body": "{\"payment_profile\":{\"created_at\":\"2019-08-22T16:58:43.767Z\",\"email\":\"user@workarea.com\",\"gateway_id\":null,\"reference\":2,\"store_credit\":{\"cents\":0.0,\"currency_iso\":\"USD\"},\"updated_at\":\"2019-08-22T16:58:43.767Z\"}}", "request_content_type": "application/json", "response_status": 201, "response_status_text": "Created", "response_body": "{\n \"payment_profile\": {\n \"_id\": \"5d5ec9c3d4322a04dfbf62cf\",\n \"created_at\": \"2019-08-22T16:58:43.767Z\",\n \"email\": \"user@workarea.com\",\n \"gateway_id\": null,\n \"reference\": \"2\",\n \"store_credit\": {\n \"cents\": 0.0,\n \"currency_iso\": \"USD\"\n },\n \"updated_at\": \"2019-08-22T16:58:43.767Z\"\n }\n}", "response_content_type": "application/json", "curl": "curl \"https://www.example.com/api/admin/payment_profiles\" -d '{\"payment_profile\":{\"created_at\":\"2019-08-22T16:58:43.767Z\",\"email\":\"user@workarea.com\",\"gateway_id\":null,\"reference\":2,\"store_credit\":{\"cents\":0.0,\"currency_iso\":\"USD\"},\"updated_at\":\"2019-08-22T16:58:43.767Z\"}}' -X POST \\\n\t-H \"Content-Type: application/json\"" } ], "resource": "Payment Profiles", "description": "Creating a payment profile", "route": "/api/admin/payment_profiles", "http_method": "POST" }