{ "parameters": [ ], "response_fields": [ ], "requests": [ { "request_headers": { "Authorization": "Token token=\"3gstq5QbUorVGaQ68esor1nD\"" }, "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", "Access-Control-Allow-Origin": "*", "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, POST, PATCH, PUT, DELETE, OPTIONS", "X-Requested-With": "", "Vary": "X-Requested-With, X-Flash-Messages", "ETag": "W/\"52292c68f1c4a0050eafa702eb3dd1d6\"", "Cache-Control": "no-cache, no-store, must-revalidate", "X-Request-Id": "291bedc7-9905-4898-98e8-f70e8107d308", "X-Runtime": "0.006976", "Expires": "0", "Content-Length": "294" }, "request_method": "GET", "request_path": "/api/storefront/saved_credit_cards/5d5ec9d0d4322a04dfbf6336", "request_body": null, "request_content_type": null, "response_status": 200, "response_status_text": "OK", "response_body": "{\n \"user_id\": \"5d5ec9d0d4322a04dfbf6332\",\n \"id\": \"5d5ec9d0d4322a04dfbf6336\",\n \"url\": \"http://www.example.com/api/storefront/saved_credit_cards/5d5ec9d0d4322a04dfbf6336\",\n \"default\": false,\n \"issuer\": \"Visa\",\n \"display_number\": \"XXXX-XXXX-XXXX-1881\",\n \"month\": 3,\n \"year\": 2023,\n \"first_name\": \"Susan\",\n \"last_name\": \"Baker\"\n}", "response_content_type": "application/json", "curl": "curl -g \"https://www.example.com/api/storefront/saved_credit_cards/5d5ec9d0d4322a04dfbf6336\" -X GET \\\n\t-H \"Authorization: Token token=\\\"3gstq5QbUorVGaQ68esor1nD\\\"\"" } ], "resource": "Saved Credit Cards", "description": "Showing a saved credit card", "route": "/api/storefront/saved_credit_cards/:id", "http_method": "GET" }