{ "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/\"55415aa508af62241225b2d540b0e48e\"", "Cache-Control": "no-cache, no-store, must-revalidate", "X-Request-Id": "5b95226d-a3b5-4507-856f-8d39539ae5f3", "X-Runtime": "0.006248", "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\": \"5d5dbcd6d4322a4b69d7899a\",\n \"created_at\": \"2019-08-21T21:51:18.275Z\",\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-21T21:51:18.275Z\"\n },\n {\n \"_id\": \"5d5dbcd6d4322a4b69d78999\",\n \"created_at\": \"2019-08-21T21:51:18.271Z\",\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-21T21:51:18.271Z\"\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" }