{ "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": { "page": "1", "sort_by": "created_at", "sort_direction": "desc" }, "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/\"776213037e68c5d9be68c559c93f9c7f\"", "Cache-Control": "no-cache, no-store, must-revalidate", "X-Request-Id": "590d8a7e-dcd7-4f28-845e-27194402f281", "X-Runtime": "0.009025", "Expires": "0", "Content-Length": "476" }, "request_method": "GET", "request_path": "/api/admin/payment_profiles?page=1&sort_by=created_at&sort_direction=desc", "request_body": null, "request_content_type": null, "response_status": 200, "response_status_text": "OK", "response_body": "{\n \"payment_profiles\": [\n {\n \"_id\": \"5d5ec9c5d4322a04dfbf62df\",\n \"created_at\": \"2019-08-22T16:58:45.244Z\",\n \"email\": \"user@workarea.com\",\n \"gateway_id\": null,\n \"reference\": \"1\",\n \"store_credit\": {\n \"cents\": 0.0,\n \"currency_iso\": \"USD\"\n },\n \"updated_at\": \"2019-08-22T16:58:45.244Z\"\n },\n {\n \"_id\": \"5d5ec9c5d4322a04dfbf62de\",\n \"created_at\": \"2019-08-22T16:58:45.240Z\",\n \"email\": \"user@workarea.com\",\n \"gateway_id\": null,\n \"reference\": \"0\",\n \"store_credit\": {\n \"cents\": 0.0,\n \"currency_iso\": \"USD\"\n },\n \"updated_at\": \"2019-08-22T16:58:45.240Z\"\n }\n ]\n}", "response_content_type": "application/json", "curl": "curl -g \"https://www.example.com/api/admin/payment_profiles?page=1&sort_by=created_at&sort_direction=desc\" -X GET " } ], "resource": "Payment Profiles", "description": "Listing payment profiles", "route": "/api/admin/payment_profiles", "http_method": "GET" }