{ "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", "X-Requested-With": "", "Vary": "X-Requested-With, X-Workarea-Segments", "Last-Modified": "Wed, 19 Aug 2020 13:45:36 GMT", "Cache-Control": "no-cache, no-store, must-revalidate", "X-Request-Id": "9ab89bcd-6eb8-469f-b110-24fdd3b826ff", "X-Runtime": "0.007152", "X-Workarea-Segments": "", "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\": \"5f3d2d000218236de151ea58\",\n \"created_at\": \"2020-08-19T13:45:36.166Z\",\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\": \"2020-08-19T13:45:36.166Z\"\n },\n {\n \"_id\": \"5f3d2d000218236de151ea57\",\n \"created_at\": \"2020-08-19T13:45:36.160Z\",\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\": \"2020-08-19T13:45:36.160Z\"\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" }