{ "parameters": [ ], "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", "X-Requested-With": "", "Vary": "X-Requested-With, X-Workarea-Segments", "Last-Modified": "Wed, 19 Aug 2020 13:51:04 GMT", "Cache-Control": "no-cache, no-store, must-revalidate", "X-Request-Id": "8644ed45-274d-4456-97c5-d98ae0ce881f", "X-Runtime": "0.010314", "X-Workarea-Segments": "", "Expires": "0", "Content-Length": "1313" }, "request_method": "GET", "request_path": "/api/admin/payments/1234", "request_body": null, "request_content_type": null, "response_status": 200, "response_status_text": "OK", "response_body": "{\n \"payment\": {\n \"_id\": \"1234\",\n \"address\": {\n \"_id\": \"5f3d2e440218236de151f81e\",\n \"city\": \"Philadelphia\",\n \"company\": null,\n \"country\": \"US\",\n \"created_at\": null,\n \"first_name\": \"Ben\",\n \"last_name\": \"Crouse\",\n \"phone_extension\": null,\n \"phone_number\": null,\n \"postal_code\": \"19106\",\n \"region\": \"PA\",\n \"street\": \"22 S. 3rd St.\",\n \"street_2\": \"Second Floor\",\n \"updated_at\": null\n },\n \"created_at\": \"2020-08-19T13:51:00.939Z\",\n \"credit_card\": {\n \"_id\": \"5f3d2e450218236de151f82d\",\n \"amount\": {\n \"cents\": 1100.0,\n \"currency_iso\": \"USD\"\n },\n \"created_at\": null,\n \"display_number\": \"XXXX-XXXX-XXXX-1\",\n \"issuer\": \"Test Card\",\n \"month\": 1,\n \"saved_card_id\": null,\n \"token\": \"1\",\n \"updated_at\": \"2020-08-19T13:51:03.575Z\",\n \"year\": 2021\n },\n \"profile_id\": \"5f3d2e450218236de151f82c\",\n \"updated_at\": \"2020-08-19T13:51:03.583Z\"\n },\n \"payment_transactions\": [\n {\n \"_id\": \"5f3d2e470218236de151f83c\",\n \"action\": \"authorize\",\n \"amount\": {\n \"cents\": 1100.0,\n \"currency_iso\": \"USD\"\n },\n \"canceled_at\": null,\n \"cancellation\": null,\n \"created_at\": \"2020-08-19T13:51:03.579Z\",\n \"payment_id\": \"1234\",\n \"reference_id\": null,\n \"response\": {\n \"success\": true,\n \"message\": \"Bogus Gateway: Forced success\",\n \"params\": {\n \"authorized_amount\": \"11.00\"\n },\n \"options\": {\n \"test\": true,\n \"authorization\": \"53433\",\n \"avs_result\": {\n \"code\": null,\n \"message\": null,\n \"street_match\": null,\n \"postal_match\": null\n },\n \"cvv_result\": null\n }\n },\n \"success\": true,\n \"tender_id\": \"5f3d2e450218236de151f82d\",\n \"updated_at\": \"2020-08-19T13:51:03.579Z\"\n }\n ]\n}", "response_content_type": "application/json", "curl": "curl -g \"https://www.example.com/api/admin/payments/1234\" -X GET " } ], "resource": "Payments", "description": "Showing an payment", "route": "/api/admin/payments/:id", "http_method": "GET" }