{"info":{"schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json","name":"Ginger platform APIs","description":{"content":"Every API of your Ginger platform instance, a folder per API.","type":"text/plain"}},"item":[{"name":"Authentication","description":{"content":"Log users in with an email address, a password and multi-factor authentication (MFA), reset passwords and enrol\nusers in MFA. See [Log in with a username and password](https://platform-preview.dev.gingerpayments.com/api-reference/authentication/username-password).\n","type":"text/plain"},"item":[{"name":"Tokens","description":"Tokens of users, and password reset tokens.","item":[{"id":"089cab49-58e1-4ea9-8855-f9bef728861f","name":"Create a token","request":{"name":"Create a token","description":{"content":"Logs a user in. Needs no authentication. The token expires 30 minutes after its last use, and ends the earlier\ntokens of the user. When the user has MFA, send `mfa_token` or a valid `trusted_token`.\n","type":"text/plain"},"url":{"path":["v1","tokens",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"email\": \"ops@example.com\",\n  \"password\": \"correct-Horse-battery-7\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"4c44ff43-cb62-446d-ac87-5dc037e036ee","name":"The user is logged in.","originalRequest":{"url":{"path":["v1","tokens",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"email\": \"ops@example.com\",\n  \"password\": \"correct-Horse-battery-7\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"4c0ffee5c0ffee5c0ffee5c0ffee5c0f\",\n  \"created\": \"2026-04-30T12:16:28.598389+00:00\",\n  \"merchant_id\": \"b09a6915-71f8-4597-986e-c431d37a09b8\",\n  \"account_id\": \"845c16de-f627-48cb-bc81-a6b3b1fb134b\",\n  \"email\": \"ops@example.com\",\n  \"legal_name\": \"Example user\",\n  \"expiration\": \"2026-04-30T12:46:28.598171+00:00\",\n  \"expiration_period\": \"PT30M\",\n  \"status\": \"active\",\n  \"permissions\": {\n    \"/merchants/self/\": {\n      \"GET\": true\n    },\n    \"/merchants/self/users/self/\": {\n      \"GET\": true,\n      \"PUT\": true\n    },\n    \"/orders/**\": {\n      \"GET\": true\n    },\n    \"/search/orders/\": {\n      \"POST\": true\n    }\n  },\n  \"trusted_token\": \"7e57c0de7e57c0de7e57c0de7e57c0de7e57c0de\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"90347bb5-b506-48a5-90f4-0ed835323397","name":"The login failed. `error.type` is `InvalidPasswordError`, `MFARequiredError` (with `mfa_methods`),\n`InvalidMFAToken` or `BackOffLimitReached`.","originalRequest":{"url":{"path":["v1","tokens",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"email\": \"ops@example.com\",\n  \"password\": \"correct-Horse-battery-7\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"MFARequiredError\",\n    \"value\": \"MFA is required\"\n  },\n  \"mfa_methods\": {\n    \"authenticator\": {},\n    \"sms\": {\n      \"masked_phone_number\": \"*********990\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"681bd5af-386c-4203-b0c6-0d4be29d35c5","name":"Retrieve a token","request":{"name":"Retrieve a token","description":{"content":"Returns the token with the current permissions of the user, and extends it by its expiration period.","type":"text/plain"},"url":{"path":["v1","tokens",":token_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"4c0ffee5c0ffee5c0ffee5c0ffee5c0f","key":"token_id","disabled":false,"description":{"content":"(Required) The `id` of the token.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"c41478d6-4893-48b7-942b-c20398bf6899","name":"The token.","originalRequest":{"url":{"path":["v1","tokens",":token_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The `id` of the token.","type":"text/plain"},"type":"any","value":"4c0ffee5c0ffee5c0ffee5c0ffee5c0f","key":"token_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"4c0ffee5c0ffee5c0ffee5c0ffee5c0f\",\n  \"created\": \"2016-06-07T01:39:48.565Z\",\n  \"merchant_id\": \"b09a6915-71f8-4597-986e-c431d37a09b8\",\n  \"account_id\": \"845c16de-f627-48cb-bc81-a6b3b1fb134b\",\n  \"email\": \"ops@example.com\",\n  \"legal_name\": \"Example user\",\n  \"expiration\": \"1969-04-23T22:06:31.018Z\",\n  \"expiration_period\": \"PT30M\",\n  \"status\": \"invalid\",\n  \"permissions\": {\n    \"/merchants/self/\": {\n      \"GET\": true\n    },\n    \"/orders/**\": {\n      \"GET\": true\n    }\n  },\n  \"field_permissions\": {},\n  \"allowed_project_ids\": [\n    \"string\",\n    \"string\"\n  ],\n  \"trusted_token\": \"7e57c0de7e57c0de7e57c0de7e57c0de7e57c0de\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4dc701f2-8f03-4a24-b51d-3affb5321421","name":"The credentials are missing, unknown or expired.","originalRequest":{"url":{"path":["v1","tokens",":token_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The `id` of the token.","type":"text/plain"},"type":"any","value":"4c0ffee5c0ffee5c0ffee5c0ffee5c0f","key":"token_id"}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"2c16b726-2641-43cd-a502-66aff6c05eb5","name":"Revoke a token","request":{"name":"Revoke a token","description":{"content":"Logs the user out. Authenticate with the token itself. The token gets the status `inactive`.","type":"text/plain"},"url":{"path":["v1","tokens",":token_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"4c0ffee5c0ffee5c0ffee5c0ffee5c0f","key":"token_id","disabled":false,"description":{"content":"(Required) The `id` of the token.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{},"auth":null},"response":[{"id":"2d35f269-6a7a-4b38-b9f9-5e4866d3c369","name":"The token, now `inactive`.","originalRequest":{"url":{"path":["v1","tokens",":token_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The `id` of the token.","type":"text/plain"},"type":"any","value":"4c0ffee5c0ffee5c0ffee5c0ffee5c0f","key":"token_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"DELETE","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"4c0ffee5c0ffee5c0ffee5c0ffee5c0f\",\n  \"created\": \"2016-06-07T01:39:48.565Z\",\n  \"merchant_id\": \"b09a6915-71f8-4597-986e-c431d37a09b8\",\n  \"account_id\": \"845c16de-f627-48cb-bc81-a6b3b1fb134b\",\n  \"email\": \"ops@example.com\",\n  \"legal_name\": \"Example user\",\n  \"expiration\": \"1969-04-23T22:06:31.018Z\",\n  \"expiration_period\": \"PT30M\",\n  \"status\": \"invalid\",\n  \"permissions\": {\n    \"/merchants/self/\": {\n      \"GET\": true\n    },\n    \"/orders/**\": {\n      \"GET\": true\n    }\n  },\n  \"field_permissions\": {},\n  \"allowed_project_ids\": [\n    \"string\",\n    \"string\"\n  ],\n  \"trusted_token\": \"7e57c0de7e57c0de7e57c0de7e57c0de7e57c0de\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0b3ccb86-4a95-47f2-8e51-9edbc699b7a1","name":"The credentials are missing, unknown or expired.","originalRequest":{"url":{"path":["v1","tokens",":token_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The `id` of the token.","type":"text/plain"},"type":"any","value":"4c0ffee5c0ffee5c0ffee5c0ffee5c0f","key":"token_id"}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"DELETE","body":{}},"status":"Unauthorized","code":401,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"1a2f0877-d185-4688-bd76-999f2ad2ebc9","name":"Create a password reset token","request":{"name":"Create a password reset token","description":{"content":"Creates a token, valid for 30 minutes, that only allows setting the password of the user with\n[Reset a password](https://platform-preview.dev.gingerpayments.com/api-reference/self-service/users/reset-password). Authenticate with an API key that has\npermission for `POST /tokens/password-reset/`. Ends the active tokens and trusted devices of the user.\n","type":"text/plain"},"url":{"path":["v1","tokens","password-reset",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"email\": \"ops@example.com\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"84d2c8fc-c388-43b0-a279-f2db60a05e52","name":"The password reset token. Its `id` is the credential for the reset.","originalRequest":{"url":{"path":["v1","tokens","password-reset",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"email\": \"ops@example.com\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"5ca1ab1e5ca1ab1e5ca1ab1e5ca1ab1e\",\n  \"created\": \"2026-08-29T14:47:01.739+00:00\",\n  \"merchant_id\": \"b09a6915-71f8-4597-986e-c431d37a09b8\",\n  \"account_id\": \"845c16de-f627-48cb-bc81-a6b3b1fb134b\",\n  \"email\": \"ops@example.com\",\n  \"legal_name\": \"Example user\",\n  \"expiration\": \"2026-08-29T15:17:01.739+00:00\",\n  \"expiration_period\": \"PT30M\",\n  \"status\": \"active\",\n  \"permissions\": {\n    \"/merchants/self/users/self/password/\": {\n      \"POST\": true\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"275dbd46-f0ae-4c24-9423-661462c6b751","name":"The email address is unknown, or the user or its merchant isn't active.","originalRequest":{"url":{"path":["v1","tokens","password-reset",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"email\": \"ops@example.com\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"28fba8ba-84f4-4932-9d58-bbd7a16fa925","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","tokens","password-reset",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"email\": \"ops@example.com\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"625c5686-0dd4-412e-b611-99b24ce88629","name":"The API key has no permission for this request.","originalRequest":{"url":{"path":["v1","tokens","password-reset",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"email\": \"ops@example.com\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]},{"name":"MFA","description":"Enrol a user in multi-factor authentication.","item":[{"id":"7d14dc87-6ff4-41d3-a4e1-8580f5dc89d1","name":"Start an authenticator app enrolment","request":{"name":"Start an authenticator app enrolment","description":{"content":"Starts enrolling the logged-in user in MFA with an authenticator app. For users only. The first enrolment needs\nno `password` or `mfa_token`; later ones need both. Confirm with\n[Confirm an MFA enrolment](https://platform-preview.dev.gingerpayments.com/api-reference/authentication/mfa/confirm-enrollment).\n","type":"text/plain"},"url":{"path":["v1","mfa","enrollment","start","authenticator",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"password\": \"correct-Horse-battery-7\",\n  \"mfa_token\": \"123456\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"4a38a702-a5cc-4975-99aa-aea481b659f6","name":"The enrolment has started.","originalRequest":{"url":{"path":["v1","mfa","enrollment","start","authenticator",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"password\": \"correct-Horse-battery-7\",\n  \"mfa_token\": \"123456\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"845c16de-f627-48cb-bc81-a6b3b1fb134b__bc060460-266e-43f2-a030-e8b8d80126da\",\n  \"otpauth_url\": \"otpauth://totp/user%40example.com?secret=EXAMPLESECRET&issuer=Example+platform\",\n  \"secret\": \"EXAMPLESECRET\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1a1831ca-8c6a-484d-95bd-ce9db70d000f","name":"The `password` or `mfa_token` is wrong, or missing when needed.","originalRequest":{"url":{"path":["v1","mfa","enrollment","start","authenticator",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"password\": \"correct-Horse-battery-7\",\n  \"mfa_token\": \"123456\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"InvalidMFAToken\",\n    \"value\": \"Authentication failed\"\n  },\n  \"mfa_methods\": {\n    \"authenticator\": {},\n    \"sms\": {\n      \"masked_phone_number\": \"*********990\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"317e4b89-0206-4d82-909e-0b89b0af6ecb","name":"The credentials aren't those of a user, or lack the permission `POST /mfa/enrollment/**`.","originalRequest":{"url":{"path":["v1","mfa","enrollment","start","authenticator",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"password\": \"correct-Horse-battery-7\",\n  \"mfa_token\": \"123456\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"28e6446d-7af7-4401-b8ab-c3f8b795fd71","name":"Start an SMS enrolment","request":{"name":"Start an SMS enrolment","description":{"content":"Starts enrolling the logged-in user in MFA by SMS, and sends a code to the phone number. For users only. The\nfirst enrolment needs no `password` or `mfa_token`; later ones need both.\n","type":"text/plain"},"url":{"path":["v1","mfa","enrollment","start","sms",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"phone\": \"+31612345678\",\n  \"password\": \"correct-Horse-battery-7\",\n  \"mfa_token\": \"123456\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"5b9daa55-2f92-456d-8549-77fc08a2b618","name":"The enrolment has started and the code is sent.","originalRequest":{"url":{"path":["v1","mfa","enrollment","start","sms",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"phone\": \"+31612345678\",\n  \"password\": \"correct-Horse-battery-7\",\n  \"mfa_token\": \"123456\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"845c16de-f627-48cb-bc81-a6b3b1fb134b__bc060460-266e-43f2-a030-e8b8d80126da\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"46ee9331-2a4e-4115-aaf2-5d06f4256512","name":"The phone number doesn't start with the country code, or the `password` or `mfa_token` is wrong.","originalRequest":{"url":{"path":["v1","mfa","enrollment","start","sms",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"phone\": \"+31612345678\",\n  \"password\": \"correct-Horse-battery-7\",\n  \"mfa_token\": \"123456\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"99ebe800-1c84-4651-b2f8-19b54f5d886a","name":"The credentials aren't those of a user, or lack the permission `POST /mfa/enrollment/**`.","originalRequest":{"url":{"path":["v1","mfa","enrollment","start","sms",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"phone\": \"+31612345678\",\n  \"password\": \"correct-Horse-battery-7\",\n  \"mfa_token\": \"123456\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"8dcc6d0e-fbad-4d8f-a81d-3fafe998d352","name":"Confirm an MFA enrolment","request":{"name":"Confirm an MFA enrolment","description":{"content":"Confirms the enrolment with a code from the app or the SMS, and ends the trusted devices of the user.","type":"text/plain"},"url":{"path":["v1","mfa","enrollment",":enrollment_id","confirm",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"string","key":"enrollment_id","disabled":false,"description":{"content":"(Required) The `id` from the start of the enrolment.","type":"text/plain"}}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"otp\": \"654321\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"7ed96b7e-58f4-49d1-bdd0-49e1e2e559f9","name":"The method is active. Each recovery code works once, instead of an MFA code.","originalRequest":{"url":{"path":["v1","mfa","enrollment",":enrollment_id","confirm",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The `id` from the start of the enrolment.","type":"text/plain"},"type":"any","value":"string","key":"enrollment_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"otp\": \"654321\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"recovery_codes\": [\n    \"8ddad24b6d82608d\",\n    \"4b44f3c53ef34f2b\",\n    \"feab6f7f031dfeb0\"\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"13204a42-4747-4f48-b60b-adcec4759be6","name":"The code is wrong.","originalRequest":{"url":{"path":["v1","mfa","enrollment",":enrollment_id","confirm",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The `id` from the start of the enrolment.","type":"text/plain"},"type":"any","value":"string","key":"enrollment_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"otp\": \"654321\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"code\": \"string\",\n  \"message\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1471a4fc-829a-487b-8af0-f3b3fe0b195e","name":"The enrolment belongs to another user, or the credentials aren't those of a user.","originalRequest":{"url":{"path":["v1","mfa","enrollment",":enrollment_id","confirm",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The `id` from the start of the enrolment.","type":"text/plain"},"type":"any","value":"string","key":"enrollment_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"otp\": \"654321\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]}]},{"name":"Boarding API","description":{"content":"Create and manage the merchants of your platform: merchants, users, roles, projects, contracts, hosted payment page\nimages, payout entities and platform settings. All operations are under `/v1/admin` and need an admin API key.\nSee [Boarding API](https://platform-preview.dev.gingerpayments.com/api-reference/boarding) for how the API behaves, and [Board a merchant](https://platform-preview.dev.gingerpayments.com/merchants/board-merchants)\nfor the walk-through.\n\nUpdates merge the fields you send into the stored object. Fields that aren't in the schema are dropped from the\nrequest. `DELETE` on a merchant, project or user sets its status to `inactive`.\n","type":"text/plain"},"item":[{"name":"Merchants","description":"The businesses on your platform.","item":[{"id":"11c2de79-3857-41c5-95be-8764b967b913","name":"List merchants","request":{"name":"List merchants","description":{},"url":{"path":["v1","admin","merchants",""],"host":["{{baseUrl}}"],"query":[{"disabled":true,"description":{"content":"The maximum number of merchants to return, 1 or more. No limit by default.","type":"text/plain"},"key":"limit","value":"8303"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"02c32468-bd89-4fbe-8c35-223e90e6b821","name":"The merchants.","originalRequest":{"url":{"path":["v1","admin","merchants",""],"host":["{{baseUrl}}"],"query":[{"disabled":true,"description":{"content":"The maximum number of merchants to return, 1 or more. No limit by default.","type":"text/plain"},"key":"limit","value":"8303"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"company_name\": \"string\",\n    \"id\": \"d8819b3c-a031-0a18-0079-574cfc92c496\",\n    \"created\": \"1957-12-13T04:45:46.339Z\",\n    \"modified\": \"2011-06-23T21:35:38.010Z\",\n    \"status\": \"active\",\n    \"external_merchant_id\": null,\n    \"external_reference_number\": \"string\",\n    \"email\": \"VEtIaq5tP5@gYNSPhxRwqfDqOs.og\",\n    \"phone_numbers\": [\n      \"string\",\n      \"string\"\n    ],\n    \"website_url\": null,\n    \"addresses\": [\n      {\n        \"country\": \"string\",\n        \"type\": \"postal\",\n        \"address_line_1\": \"string\",\n        \"address_line_2\": \"string\",\n        \"postal_code\": \"string\",\n        \"city\": \"string\",\n        \"address\": \"string\"\n      },\n      {\n        \"country\": \"string\",\n        \"type\": \"postal\",\n        \"address_line_1\": \"string\",\n        \"address_line_2\": \"string\",\n        \"postal_code\": \"string\",\n        \"city\": \"string\",\n        \"address\": \"string\"\n      }\n    ],\n    \"business_type\": \"string\",\n    \"chamber_of_commerce_number\": null,\n    \"vat_number\": \"string\",\n    \"vat_class\": \"reverse-charge\",\n    \"contact_persons\": {\n      \"general\": \"string\",\n      \"technical\": \"string\",\n      \"financial\": \"string\"\n    },\n    \"locale\": null,\n    \"timezone\": \"string\",\n    \"district_court\": \"string\",\n    \"bank_account\": {\n      \"iban\": \"string\",\n      \"holder_name\": \"string\",\n      \"currency\": \"EUR\",\n      \"bic\": \"string\"\n    },\n    \"base_permissions\": {\n      \"/orders/**\": {\n        \"*\": true\n      },\n      \"/payment-methods/credit-card/\": {\n        \"POST\": true\n      }\n    },\n    \"contracts\": {\n      \"key_0\": {\n        \"fields\": {\n          \"one_click_enabled\": false,\n          \"recurring_enabled\": true,\n          \"gateway\": \"string\",\n          \"credit_limit\": 7402,\n          \"begin_date\": \"string\",\n          \"end_date\": \"string\",\n          \"funding_delay\": 1625\n        }\n      },\n      \"key_1\": {\n        \"fields\": {\n          \"one_click_enabled\": true,\n          \"recurring_enabled\": false,\n          \"gateway\": \"string\",\n          \"credit_limit\": 2991,\n          \"begin_date\": \"string\",\n          \"end_date\": \"string\",\n          \"funding_delay\": 802\n        }\n      }\n    },\n    \"save_payment_method_enabled\": false,\n    \"tags\": {\n      \"iso\": \"Acme Payments\",\n      \"risk\": \"low\"\n    },\n    \"priceplan_id\": null,\n    \"payout_system\": \"net\",\n    \"payout_scheme\": {\n      \"frequency\": \"monthly\",\n      \"weekdays\": [\n        \"monday\",\n        \"friday\"\n      ],\n      \"monthdays\": [\n        15,\n        10\n      ]\n    },\n    \"invoice_charge_method\": \"invoice-transfer\",\n    \"settings\": {}\n  },\n  {\n    \"company_name\": \"string\",\n    \"id\": \"7a5f82dc-de1d-de2c-82ba-1cd0852617f9\",\n    \"created\": \"2011-07-29T15:37:08.018Z\",\n    \"modified\": \"1959-04-06T18:29:32.117Z\",\n    \"status\": \"inactive\",\n    \"external_merchant_id\": \"string\",\n    \"external_reference_number\": \"string\",\n    \"email\": \"QVio2apwz5Z4PC6@uSxQAXHkeNPIoRDtUbxjJc.btz\",\n    \"phone_numbers\": [\n      \"string\",\n      \"string\"\n    ],\n    \"website_url\": \"http://UvcHorhMakgKdLeDiB.gaour3-vB,03UU8bHZ1hL58ENJByO,lMIsEXIUzZ6PuMQZJ7bDo2y\",\n    \"addresses\": [\n      {\n        \"country\": \"string\",\n        \"type\": \"billing\",\n        \"address_line_1\": \"string\",\n        \"address_line_2\": \"string\",\n        \"postal_code\": \"string\",\n        \"city\": \"string\",\n        \"address\": \"string\"\n      },\n      {\n        \"country\": \"string\",\n        \"type\": \"billing\",\n        \"address_line_1\": \"string\",\n        \"address_line_2\": \"string\",\n        \"postal_code\": \"string\",\n        \"city\": \"string\",\n        \"address\": \"string\"\n      }\n    ],\n    \"business_type\": null,\n    \"chamber_of_commerce_number\": \"string\",\n    \"vat_number\": null,\n    \"vat_class\": \"nl-high\",\n    \"contact_persons\": {\n      \"general\": \"string\",\n      \"technical\": \"string\",\n      \"financial\": \"string\"\n    },\n    \"locale\": null,\n    \"timezone\": null,\n    \"district_court\": \"string\",\n    \"bank_account\": {\n      \"iban\": \"string\",\n      \"holder_name\": \"string\",\n      \"currency\": \"EUR\",\n      \"bic\": \"string\"\n    },\n    \"base_permissions\": {\n      \"/orders/**\": {\n        \"*\": true\n      },\n      \"/payment-methods/credit-card/\": {\n        \"POST\": true\n      }\n    },\n    \"contracts\": {\n      \"key_0\": {\n        \"fields\": {\n          \"one_click_enabled\": false,\n          \"recurring_enabled\": true,\n          \"gateway\": \"string\",\n          \"credit_limit\": 9593,\n          \"begin_date\": \"string\",\n          \"end_date\": \"string\",\n          \"funding_delay\": 113\n        }\n      }\n    },\n    \"save_payment_method_enabled\": true,\n    \"tags\": {\n      \"iso\": \"Acme Payments\",\n      \"risk\": \"low\"\n    },\n    \"priceplan_id\": \"string\",\n    \"payout_system\": \"gross\",\n    \"payout_scheme\": {\n      \"frequency\": \"weekly\",\n      \"weekdays\": [\n        \"wednesday\",\n        \"monday\"\n      ],\n      \"monthdays\": [\n        14,\n        18\n      ]\n    },\n    \"invoice_charge_method\": \"do-not-charge\",\n    \"settings\": {}\n  }\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"d2050af7-dc3a-4df2-8263-8b433556be48","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","merchants",""],"host":["{{baseUrl}}"],"query":[{"disabled":true,"description":{"content":"The maximum number of merchants to return, 1 or more. No limit by default.","type":"text/plain"},"key":"limit","value":"8303"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"f4804fbb-4f51-4b67-af41-978a4bfec484","name":"Create a merchant","request":{"name":"Create a merchant","description":{},"url":{"path":["v1","admin","merchants",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"company_name\": \"Acme Coffee B.V.\",\n  \"status\": \"pending\",\n  \"email\": \"ops@example.com\",\n  \"website_url\": \"https://www.example.com/\",\n  \"phone_numbers\": [\n    \"+31201234567\"\n  ],\n  \"addresses\": [\n    {\n      \"type\": \"billing\",\n      \"address_line_1\": \"Coffee Street 1\",\n      \"postal_code\": \"1011 AB\",\n      \"city\": \"Amsterdam\",\n      \"country\": \"NL\"\n    }\n  ],\n  \"external_merchant_id\": \"ACME-0001\",\n  \"base_permissions\": {\n    \"/merchants/self/\": {\n      \"GET\": true\n    },\n    \"/merchants/self/*/**\": {\n      \"*\": true\n    },\n    \"/orders/**\": {\n      \"*\": true\n    },\n    \"/payment-methods/credit-card/\": {\n      \"POST\": true\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"23a9b056-7202-4695-8154-8f6a88377ab0","name":"The merchant is created.","originalRequest":{"url":{"path":["v1","admin","merchants",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"company_name\": \"Acme Coffee B.V.\",\n  \"status\": \"pending\",\n  \"email\": \"ops@example.com\",\n  \"website_url\": \"https://www.example.com/\",\n  \"phone_numbers\": [\n    \"+31201234567\"\n  ],\n  \"addresses\": [\n    {\n      \"type\": \"billing\",\n      \"address_line_1\": \"Coffee Street 1\",\n      \"postal_code\": \"1011 AB\",\n      \"city\": \"Amsterdam\",\n      \"country\": \"NL\"\n    }\n  ],\n  \"external_merchant_id\": \"ACME-0001\",\n  \"base_permissions\": {\n    \"/merchants/self/\": {\n      \"GET\": true\n    },\n    \"/merchants/self/*/**\": {\n      \"*\": true\n    },\n    \"/orders/**\": {\n      \"*\": true\n    },\n    \"/payment-methods/credit-card/\": {\n      \"POST\": true\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"company_name\": \"string\",\n  \"id\": \"34c7f1f6-606e-b566-153f-00a6401dcbb8\",\n  \"created\": \"1962-11-17T23:39:29.098Z\",\n  \"modified\": null,\n  \"status\": \"pending\",\n  \"external_merchant_id\": null,\n  \"external_reference_number\": null,\n  \"email\": \"PEbzea8uG9K@srJDeSwGiveycoiJN.jd\",\n  \"phone_numbers\": [\n    \"string\",\n    \"string\"\n  ],\n  \"website_url\": null,\n  \"addresses\": [\n    {\n      \"country\": \"string\",\n      \"type\": \"business\",\n      \"address_line_1\": \"string\",\n      \"address_line_2\": \"string\",\n      \"postal_code\": \"string\",\n      \"city\": \"string\",\n      \"address\": \"string\"\n    },\n    {\n      \"country\": \"string\",\n      \"type\": \"business\",\n      \"address_line_1\": \"string\",\n      \"address_line_2\": \"string\",\n      \"postal_code\": \"string\",\n      \"city\": \"string\",\n      \"address\": \"string\"\n    }\n  ],\n  \"business_type\": \"string\",\n  \"chamber_of_commerce_number\": null,\n  \"vat_number\": \"string\",\n  \"vat_class\": \"reverse-charge\",\n  \"contact_persons\": {\n    \"general\": \"string\",\n    \"technical\": \"string\",\n    \"financial\": \"string\"\n  },\n  \"locale\": null,\n  \"timezone\": null,\n  \"district_court\": null,\n  \"bank_account\": {\n    \"iban\": \"string\",\n    \"holder_name\": \"string\",\n    \"currency\": \"EUR\",\n    \"bic\": \"string\"\n  },\n  \"base_permissions\": {\n    \"/orders/**\": {\n      \"*\": true\n    },\n    \"/payment-methods/credit-card/\": {\n      \"POST\": true\n    }\n  },\n  \"contracts\": {\n    \"key_0\": {\n      \"fields\": {\n        \"one_click_enabled\": false,\n        \"recurring_enabled\": false,\n        \"gateway\": \"string\",\n        \"credit_limit\": 1123,\n        \"begin_date\": \"string\",\n        \"end_date\": \"string\",\n        \"funding_delay\": 9853\n      }\n    }\n  },\n  \"save_payment_method_enabled\": false,\n  \"tags\": {\n    \"iso\": \"Acme Payments\",\n    \"risk\": \"low\"\n  },\n  \"priceplan_id\": null,\n  \"payout_system\": \"net\",\n  \"payout_scheme\": {\n    \"frequency\": \"weekly\",\n    \"weekdays\": [\n      \"tuesday\",\n      \"thursday\"\n    ],\n    \"monthdays\": [\n      4,\n      26\n    ]\n  },\n  \"invoice_charge_method\": \"invoice-transfer\",\n  \"settings\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"daf0005b-66cb-411d-b9f5-3fdd4d28116a","name":"The request doesn't match the schema. `property_path` names the field.","originalRequest":{"url":{"path":["v1","admin","merchants",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"company_name\": \"Acme Coffee B.V.\",\n  \"status\": \"pending\",\n  \"email\": \"ops@example.com\",\n  \"website_url\": \"https://www.example.com/\",\n  \"phone_numbers\": [\n    \"+31201234567\"\n  ],\n  \"addresses\": [\n    {\n      \"type\": \"billing\",\n      \"address_line_1\": \"Coffee Street 1\",\n      \"postal_code\": \"1011 AB\",\n      \"city\": \"Amsterdam\",\n      \"country\": \"NL\"\n    }\n  ],\n  \"external_merchant_id\": \"ACME-0001\",\n  \"base_permissions\": {\n    \"/merchants/self/\": {\n      \"GET\": true\n    },\n    \"/merchants/self/*/**\": {\n      \"*\": true\n    },\n    \"/orders/**\": {\n      \"*\": true\n    },\n    \"/payment-methods/credit-card/\": {\n      \"POST\": true\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d98d26ea-2c8a-4cf8-bf47-73e124c4a05e","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","merchants",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"company_name\": \"Acme Coffee B.V.\",\n  \"status\": \"pending\",\n  \"email\": \"ops@example.com\",\n  \"website_url\": \"https://www.example.com/\",\n  \"phone_numbers\": [\n    \"+31201234567\"\n  ],\n  \"addresses\": [\n    {\n      \"type\": \"billing\",\n      \"address_line_1\": \"Coffee Street 1\",\n      \"postal_code\": \"1011 AB\",\n      \"city\": \"Amsterdam\",\n      \"country\": \"NL\"\n    }\n  ],\n  \"external_merchant_id\": \"ACME-0001\",\n  \"base_permissions\": {\n    \"/merchants/self/\": {\n      \"GET\": true\n    },\n    \"/merchants/self/*/**\": {\n      \"*\": true\n    },\n    \"/orders/**\": {\n      \"*\": true\n    },\n    \"/payment-methods/credit-card/\": {\n      \"POST\": true\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"f265dabb-8b80-487e-8191-da7162271d92","name":"Get a merchant","request":{"name":"Get a merchant","description":{},"url":{"path":["v1","admin","merchants",":merchant_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"37c603d7-4c02-4390-93e4-72cdb8612184","name":"The merchant.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"company_name\": \"string\",\n  \"id\": \"34c7f1f6-606e-b566-153f-00a6401dcbb8\",\n  \"created\": \"1962-11-17T23:39:29.098Z\",\n  \"modified\": null,\n  \"status\": \"pending\",\n  \"external_merchant_id\": null,\n  \"external_reference_number\": null,\n  \"email\": \"PEbzea8uG9K@srJDeSwGiveycoiJN.jd\",\n  \"phone_numbers\": [\n    \"string\",\n    \"string\"\n  ],\n  \"website_url\": null,\n  \"addresses\": [\n    {\n      \"country\": \"string\",\n      \"type\": \"business\",\n      \"address_line_1\": \"string\",\n      \"address_line_2\": \"string\",\n      \"postal_code\": \"string\",\n      \"city\": \"string\",\n      \"address\": \"string\"\n    },\n    {\n      \"country\": \"string\",\n      \"type\": \"business\",\n      \"address_line_1\": \"string\",\n      \"address_line_2\": \"string\",\n      \"postal_code\": \"string\",\n      \"city\": \"string\",\n      \"address\": \"string\"\n    }\n  ],\n  \"business_type\": \"string\",\n  \"chamber_of_commerce_number\": null,\n  \"vat_number\": \"string\",\n  \"vat_class\": \"reverse-charge\",\n  \"contact_persons\": {\n    \"general\": \"string\",\n    \"technical\": \"string\",\n    \"financial\": \"string\"\n  },\n  \"locale\": null,\n  \"timezone\": null,\n  \"district_court\": null,\n  \"bank_account\": {\n    \"iban\": \"string\",\n    \"holder_name\": \"string\",\n    \"currency\": \"EUR\",\n    \"bic\": \"string\"\n  },\n  \"base_permissions\": {\n    \"/orders/**\": {\n      \"*\": true\n    },\n    \"/payment-methods/credit-card/\": {\n      \"POST\": true\n    }\n  },\n  \"contracts\": {\n    \"key_0\": {\n      \"fields\": {\n        \"one_click_enabled\": false,\n        \"recurring_enabled\": false,\n        \"gateway\": \"string\",\n        \"credit_limit\": 1123,\n        \"begin_date\": \"string\",\n        \"end_date\": \"string\",\n        \"funding_delay\": 9853\n      }\n    }\n  },\n  \"save_payment_method_enabled\": false,\n  \"tags\": {\n    \"iso\": \"Acme Payments\",\n    \"risk\": \"low\"\n  },\n  \"priceplan_id\": null,\n  \"payout_system\": \"net\",\n  \"payout_scheme\": {\n    \"frequency\": \"weekly\",\n    \"weekdays\": [\n      \"tuesday\",\n      \"thursday\"\n    ],\n    \"monthdays\": [\n      4,\n      26\n    ]\n  },\n  \"invoice_charge_method\": \"invoice-transfer\",\n  \"settings\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d1440102-7484-492f-b489-eab3201b3834","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8a2d3434-8808-4b81-ae98-e5df128722b8","name":"The object doesn't exist.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"60527135-d8f1-4221-a8c8-32895a5a444f","name":"Update a merchant","request":{"name":"Update a merchant","description":{"content":"Merges the fields you send into the merchant; nested objects such as `tags` and `contact_persons` are merged\ntoo. `company_name` is required. A merchant with status `ended` can't be changed. The IBAN of `bank_account`\ncan't be changed with this call.\n","type":"text/plain"},"url":{"path":["v1","admin","merchants",":merchant_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"}}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"company_name\": \"Acme Coffee B.V.\",\n  \"status\": \"active\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"55f35daa-1672-4867-8b0f-73aef3f204b3","name":"The updated merchant.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"company_name\": \"Acme Coffee B.V.\",\n  \"status\": \"active\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"company_name\": \"string\",\n  \"id\": \"34c7f1f6-606e-b566-153f-00a6401dcbb8\",\n  \"created\": \"1962-11-17T23:39:29.098Z\",\n  \"modified\": null,\n  \"status\": \"pending\",\n  \"external_merchant_id\": null,\n  \"external_reference_number\": null,\n  \"email\": \"PEbzea8uG9K@srJDeSwGiveycoiJN.jd\",\n  \"phone_numbers\": [\n    \"string\",\n    \"string\"\n  ],\n  \"website_url\": null,\n  \"addresses\": [\n    {\n      \"country\": \"string\",\n      \"type\": \"business\",\n      \"address_line_1\": \"string\",\n      \"address_line_2\": \"string\",\n      \"postal_code\": \"string\",\n      \"city\": \"string\",\n      \"address\": \"string\"\n    },\n    {\n      \"country\": \"string\",\n      \"type\": \"business\",\n      \"address_line_1\": \"string\",\n      \"address_line_2\": \"string\",\n      \"postal_code\": \"string\",\n      \"city\": \"string\",\n      \"address\": \"string\"\n    }\n  ],\n  \"business_type\": \"string\",\n  \"chamber_of_commerce_number\": null,\n  \"vat_number\": \"string\",\n  \"vat_class\": \"reverse-charge\",\n  \"contact_persons\": {\n    \"general\": \"string\",\n    \"technical\": \"string\",\n    \"financial\": \"string\"\n  },\n  \"locale\": null,\n  \"timezone\": null,\n  \"district_court\": null,\n  \"bank_account\": {\n    \"iban\": \"string\",\n    \"holder_name\": \"string\",\n    \"currency\": \"EUR\",\n    \"bic\": \"string\"\n  },\n  \"base_permissions\": {\n    \"/orders/**\": {\n      \"*\": true\n    },\n    \"/payment-methods/credit-card/\": {\n      \"POST\": true\n    }\n  },\n  \"contracts\": {\n    \"key_0\": {\n      \"fields\": {\n        \"one_click_enabled\": false,\n        \"recurring_enabled\": false,\n        \"gateway\": \"string\",\n        \"credit_limit\": 1123,\n        \"begin_date\": \"string\",\n        \"end_date\": \"string\",\n        \"funding_delay\": 9853\n      }\n    }\n  },\n  \"save_payment_method_enabled\": false,\n  \"tags\": {\n    \"iso\": \"Acme Payments\",\n    \"risk\": \"low\"\n  },\n  \"priceplan_id\": null,\n  \"payout_system\": \"net\",\n  \"payout_scheme\": {\n    \"frequency\": \"weekly\",\n    \"weekdays\": [\n      \"tuesday\",\n      \"thursday\"\n    ],\n    \"monthdays\": [\n      4,\n      26\n    ]\n  },\n  \"invoice_charge_method\": \"invoice-transfer\",\n  \"settings\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"21930d9d-fd0b-47d2-ae76-11b95b863f13","name":"The request doesn't match the schema. `property_path` names the field.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"company_name\": \"Acme Coffee B.V.\",\n  \"status\": \"active\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"613e54dc-c4cf-4101-bd30-6fff1a2c1b84","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"company_name\": \"Acme Coffee B.V.\",\n  \"status\": \"active\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7f9e4110-a930-4529-bba1-67d8e99834ac","name":"The object doesn't exist.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"company_name\": \"Acme Coffee B.V.\",\n  \"status\": \"active\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"d3bb0079-d435-411d-bf2a-83ca21de1efe","name":"Deactivate a merchant","request":{"name":"Deactivate a merchant","description":{"content":"Sets the status of the merchant to `inactive`. Not allowed for a merchant with status `ending` or `ended`.","type":"text/plain"},"url":{"path":["v1","admin","merchants",":merchant_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{},"auth":null},"response":[{"id":"45b9838e-2016-4397-ae40-6911b45d76cb","name":"The merchant, with status `inactive`.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"DELETE","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"company_name\": \"string\",\n  \"id\": \"34c7f1f6-606e-b566-153f-00a6401dcbb8\",\n  \"created\": \"1962-11-17T23:39:29.098Z\",\n  \"modified\": null,\n  \"status\": \"pending\",\n  \"external_merchant_id\": null,\n  \"external_reference_number\": null,\n  \"email\": \"PEbzea8uG9K@srJDeSwGiveycoiJN.jd\",\n  \"phone_numbers\": [\n    \"string\",\n    \"string\"\n  ],\n  \"website_url\": null,\n  \"addresses\": [\n    {\n      \"country\": \"string\",\n      \"type\": \"business\",\n      \"address_line_1\": \"string\",\n      \"address_line_2\": \"string\",\n      \"postal_code\": \"string\",\n      \"city\": \"string\",\n      \"address\": \"string\"\n    },\n    {\n      \"country\": \"string\",\n      \"type\": \"business\",\n      \"address_line_1\": \"string\",\n      \"address_line_2\": \"string\",\n      \"postal_code\": \"string\",\n      \"city\": \"string\",\n      \"address\": \"string\"\n    }\n  ],\n  \"business_type\": \"string\",\n  \"chamber_of_commerce_number\": null,\n  \"vat_number\": \"string\",\n  \"vat_class\": \"reverse-charge\",\n  \"contact_persons\": {\n    \"general\": \"string\",\n    \"technical\": \"string\",\n    \"financial\": \"string\"\n  },\n  \"locale\": null,\n  \"timezone\": null,\n  \"district_court\": null,\n  \"bank_account\": {\n    \"iban\": \"string\",\n    \"holder_name\": \"string\",\n    \"currency\": \"EUR\",\n    \"bic\": \"string\"\n  },\n  \"base_permissions\": {\n    \"/orders/**\": {\n      \"*\": true\n    },\n    \"/payment-methods/credit-card/\": {\n      \"POST\": true\n    }\n  },\n  \"contracts\": {\n    \"key_0\": {\n      \"fields\": {\n        \"one_click_enabled\": false,\n        \"recurring_enabled\": false,\n        \"gateway\": \"string\",\n        \"credit_limit\": 1123,\n        \"begin_date\": \"string\",\n        \"end_date\": \"string\",\n        \"funding_delay\": 9853\n      }\n    }\n  },\n  \"save_payment_method_enabled\": false,\n  \"tags\": {\n    \"iso\": \"Acme Payments\",\n    \"risk\": \"low\"\n  },\n  \"priceplan_id\": null,\n  \"payout_system\": \"net\",\n  \"payout_scheme\": {\n    \"frequency\": \"weekly\",\n    \"weekdays\": [\n      \"tuesday\",\n      \"thursday\"\n    ],\n    \"monthdays\": [\n      4,\n      26\n    ]\n  },\n  \"invoice_charge_method\": \"invoice-transfer\",\n  \"settings\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5b097ad6-7718-4933-a903-7caea383355b","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"DELETE","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e0de62a0-63ca-4f14-bf93-272cb18b9252","name":"The object doesn't exist.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]},{"name":"Users","description":"The people who log in to the Merchant portal for a merchant.","item":[{"id":"b7ad7e1c-bfe4-451d-9128-947620114c9b","name":"List the users of a merchant","request":{"name":"List the users of a merchant","description":{},"url":{"path":["v1","admin","merchants",":merchant_id","users",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"e0ffbf23-86af-4d5b-9917-6db81ecdbbaf","name":"The users.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","users",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"email\": \"fvQGdk4cx8eifmm@Hm.hsj\",\n    \"id\": \"f436895c-22de-6918-78e2-1e8117316330\",\n    \"merchant_id\": \"bb0b48d4-1237-2c12-7026-cc206ca53042\",\n    \"created\": \"2013-10-18T10:05:10.637Z\",\n    \"modified\": \"1963-01-09T21:43:27.447Z\",\n    \"status\": \"active\",\n    \"legal_name\": \"string\",\n    \"salutation\": \"na\",\n    \"phone_numbers\": [\n      \"string\",\n      \"string\"\n    ],\n    \"locale\": null,\n    \"timezone\": null,\n    \"roles\": [\n      \"b706e647-0b21-2cee-6901-8e049481052d\",\n      \"c37ffb23-7693-0fb8-c301-0745cb9f901c\"\n    ],\n    \"permissions\": {\n      \"/orders/**\": {\n        \"*\": true\n      },\n      \"/payment-methods/credit-card/\": {\n        \"POST\": true\n      }\n    },\n    \"field_permissions\": {\n      \"key_0\": {\n        \"key_0\": {\n          \"read\": false,\n          \"write\": true\n        },\n        \"key_1\": {\n          \"read\": false,\n          \"write\": false\n        }\n      }\n    },\n    \"mfa\": {},\n    \"last_login\": \"2012-12-19T21:25:50.637Z\"\n  },\n  {\n    \"email\": \"Xowv5D3K0Z--6Bg@PRaYxSGUeRNfPdq.umtn\",\n    \"id\": \"b91ac9fe-7a3a-b5fb-0e94-0b4c6845b157\",\n    \"merchant_id\": \"50f2717b-3923-8bfe-9412-e39981a69efd\",\n    \"created\": \"1950-10-24T12:34:02.813Z\",\n    \"modified\": null,\n    \"status\": \"inactive\",\n    \"legal_name\": \"string\",\n    \"salutation\": \"mrs\",\n    \"phone_numbers\": [\n      \"string\",\n      \"string\"\n    ],\n    \"locale\": null,\n    \"timezone\": \"string\",\n    \"roles\": [\n      \"642a7d50-25a0-26c8-dda6-bee23657b58a\",\n      \"93f22048-fc83-8c70-b477-e5efbd7a9c59\"\n    ],\n    \"permissions\": {\n      \"/orders/**\": {\n        \"*\": true\n      },\n      \"/payment-methods/credit-card/\": {\n        \"POST\": true\n      }\n    },\n    \"field_permissions\": {\n      \"key_0\": {\n        \"key_0\": {\n          \"read\": true,\n          \"write\": false\n        }\n      },\n      \"key_1\": {\n        \"key_0\": {\n          \"read\": false,\n          \"write\": true\n        },\n        \"key_1\": {\n          \"read\": true,\n          \"write\": false\n        }\n      }\n    },\n    \"mfa\": {},\n    \"last_login\": \"2000-12-10T00:35:35.027Z\"\n  }\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"1c5613bb-3d3f-418f-ac7f-436fe5656133","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","users",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2c7f8a48-82db-491d-8eea-e4eff07faf2e","name":"The object doesn't exist.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","users",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c0279a07-cecf-4a5c-993d-c3f643f1949d","name":"Create a user","request":{"name":"Create a user","description":{"content":"Creates a user for the merchant. The email address is the username and must be unique on the platform. Give\nthe user roles with `roles`; a user with roles has no permissions of its own.\n","type":"text/plain"},"url":{"path":["v1","admin","merchants",":merchant_id","users",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"}}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"legal_name\": \"Alex Example\",\n  \"email\": \"alex@example.com\",\n  \"locale\": \"en_GB\",\n  \"roles\": [\n    \"3367941d-75a2-4193-a8ab-add781d5f7f4\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"e6a98be3-c216-4b94-9458-88dff0e22d17","name":"The user is created.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","users",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"legal_name\": \"Alex Example\",\n  \"email\": \"alex@example.com\",\n  \"locale\": \"en_GB\",\n  \"roles\": [\n    \"3367941d-75a2-4193-a8ab-add781d5f7f4\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"email\": \"DX5FS4t@xcgnpfTeSbIhnB.pqym\",\n  \"id\": \"57c7b5c7-a50e-e3cc-afde-ddcd86abb5b0\",\n  \"merchant_id\": \"7d845398-6a7c-fa29-7cc6-c0db3c28ab68\",\n  \"created\": \"2017-09-01T19:26:34.153Z\",\n  \"modified\": null,\n  \"status\": \"active\",\n  \"legal_name\": \"string\",\n  \"salutation\": \"mrs\",\n  \"phone_numbers\": [\n    \"string\",\n    \"string\"\n  ],\n  \"locale\": \"string\",\n  \"timezone\": null,\n  \"roles\": [\n    \"1264ce0b-3dc7-2a07-9ca5-783a727b0768\",\n    \"5584e34f-398d-c259-74e1-36526448f5cb\"\n  ],\n  \"permissions\": {\n    \"/orders/**\": {\n      \"*\": true\n    },\n    \"/payment-methods/credit-card/\": {\n      \"POST\": true\n    }\n  },\n  \"field_permissions\": {\n    \"key_0\": {\n      \"key_0\": {\n        \"read\": true,\n        \"write\": false\n      },\n      \"key_1\": {\n        \"read\": true,\n        \"write\": false\n      }\n    },\n    \"key_1\": {\n      \"key_0\": {\n        \"read\": true,\n        \"write\": true\n      }\n    }\n  },\n  \"mfa\": {},\n  \"last_login\": \"1947-09-12T00:29:24.425Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"80ecdb0b-c7ce-4cd0-a979-f88806c54edb","name":"The request doesn't match the schema. `property_path` names the field.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","users",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"legal_name\": \"Alex Example\",\n  \"email\": \"alex@example.com\",\n  \"locale\": \"en_GB\",\n  \"roles\": [\n    \"3367941d-75a2-4193-a8ab-add781d5f7f4\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b2a5d5b5-ec7d-4762-89b0-64e15394d2ba","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","users",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"legal_name\": \"Alex Example\",\n  \"email\": \"alex@example.com\",\n  \"locale\": \"en_GB\",\n  \"roles\": [\n    \"3367941d-75a2-4193-a8ab-add781d5f7f4\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"f9562e0d-0a46-4715-b406-6ecd37cf5d47","name":"Get a user","request":{"name":"Get a user","description":{},"url":{"path":["v1","admin","merchants",":merchant_id","users",":user_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"}},{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"user_id","disabled":false,"description":{"content":"(Required) The ID of the user.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"84936c05-a516-4962-a4ba-8ec22ea7e1d8","name":"The user.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","users",":user_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the user.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"user_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"email\": \"DX5FS4t@xcgnpfTeSbIhnB.pqym\",\n  \"id\": \"57c7b5c7-a50e-e3cc-afde-ddcd86abb5b0\",\n  \"merchant_id\": \"7d845398-6a7c-fa29-7cc6-c0db3c28ab68\",\n  \"created\": \"2017-09-01T19:26:34.153Z\",\n  \"modified\": null,\n  \"status\": \"active\",\n  \"legal_name\": \"string\",\n  \"salutation\": \"mrs\",\n  \"phone_numbers\": [\n    \"string\",\n    \"string\"\n  ],\n  \"locale\": \"string\",\n  \"timezone\": null,\n  \"roles\": [\n    \"1264ce0b-3dc7-2a07-9ca5-783a727b0768\",\n    \"5584e34f-398d-c259-74e1-36526448f5cb\"\n  ],\n  \"permissions\": {\n    \"/orders/**\": {\n      \"*\": true\n    },\n    \"/payment-methods/credit-card/\": {\n      \"POST\": true\n    }\n  },\n  \"field_permissions\": {\n    \"key_0\": {\n      \"key_0\": {\n        \"read\": true,\n        \"write\": false\n      },\n      \"key_1\": {\n        \"read\": true,\n        \"write\": false\n      }\n    },\n    \"key_1\": {\n      \"key_0\": {\n        \"read\": true,\n        \"write\": true\n      }\n    }\n  },\n  \"mfa\": {},\n  \"last_login\": \"1947-09-12T00:29:24.425Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"92732c27-4827-4723-81e2-b5fe62e2a7e5","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","users",":user_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the user.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"user_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2fbfb4ae-f5ef-4ddf-9727-7e29095b7681","name":"The object doesn't exist.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","users",":user_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the user.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"user_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"e4a7c8dd-8ad8-4c43-bf80-27d639f93de4","name":"Update a user","request":{"name":"Update a user","description":{"content":"Changing the email address checks that no other user has it.","type":"text/plain"},"url":{"path":["v1","admin","merchants",":merchant_id","users",":user_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"}},{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"user_id","disabled":false,"description":{"content":"(Required) The ID of the user.","type":"text/plain"}}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"email\": \"alex@example.com\",\n  \"status\": \"active\",\n  \"roles\": [\n    \"55f0cfa5-6102-4f87-918c-1025c1ffb913\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"6263a634-b754-467f-9c40-4c4a577146a1","name":"The updated user.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","users",":user_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the user.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"user_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"email\": \"alex@example.com\",\n  \"status\": \"active\",\n  \"roles\": [\n    \"55f0cfa5-6102-4f87-918c-1025c1ffb913\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"email\": \"DX5FS4t@xcgnpfTeSbIhnB.pqym\",\n  \"id\": \"57c7b5c7-a50e-e3cc-afde-ddcd86abb5b0\",\n  \"merchant_id\": \"7d845398-6a7c-fa29-7cc6-c0db3c28ab68\",\n  \"created\": \"2017-09-01T19:26:34.153Z\",\n  \"modified\": null,\n  \"status\": \"active\",\n  \"legal_name\": \"string\",\n  \"salutation\": \"mrs\",\n  \"phone_numbers\": [\n    \"string\",\n    \"string\"\n  ],\n  \"locale\": \"string\",\n  \"timezone\": null,\n  \"roles\": [\n    \"1264ce0b-3dc7-2a07-9ca5-783a727b0768\",\n    \"5584e34f-398d-c259-74e1-36526448f5cb\"\n  ],\n  \"permissions\": {\n    \"/orders/**\": {\n      \"*\": true\n    },\n    \"/payment-methods/credit-card/\": {\n      \"POST\": true\n    }\n  },\n  \"field_permissions\": {\n    \"key_0\": {\n      \"key_0\": {\n        \"read\": true,\n        \"write\": false\n      },\n      \"key_1\": {\n        \"read\": true,\n        \"write\": false\n      }\n    },\n    \"key_1\": {\n      \"key_0\": {\n        \"read\": true,\n        \"write\": true\n      }\n    }\n  },\n  \"mfa\": {},\n  \"last_login\": \"1947-09-12T00:29:24.425Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b731c126-8f13-4d13-8e33-d159e1cd93e7","name":"The request doesn't match the schema. `property_path` names the field.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","users",":user_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the user.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"user_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"email\": \"alex@example.com\",\n  \"status\": \"active\",\n  \"roles\": [\n    \"55f0cfa5-6102-4f87-918c-1025c1ffb913\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f229faf4-d5ea-4953-b4c9-e5f662b2fa28","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","users",":user_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the user.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"user_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"email\": \"alex@example.com\",\n  \"status\": \"active\",\n  \"roles\": [\n    \"55f0cfa5-6102-4f87-918c-1025c1ffb913\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e03cac38-7995-425f-b383-fccca4869930","name":"The object doesn't exist.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","users",":user_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the user.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"user_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"email\": \"alex@example.com\",\n  \"status\": \"active\",\n  \"roles\": [\n    \"55f0cfa5-6102-4f87-918c-1025c1ffb913\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c188cb87-c7ee-4208-8512-2d64c248d6a2","name":"Deactivate a user","request":{"name":"Deactivate a user","description":{"content":"Sets the status of the user to `inactive`.","type":"text/plain"},"url":{"path":["v1","admin","merchants",":merchant_id","users",":user_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"}},{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"user_id","disabled":false,"description":{"content":"(Required) The ID of the user.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{},"auth":null},"response":[{"id":"8273a4c5-fe5e-4549-90bf-a450eb284c3e","name":"The user, with status `inactive`.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","users",":user_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the user.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"user_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"DELETE","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"email\": \"DX5FS4t@xcgnpfTeSbIhnB.pqym\",\n  \"id\": \"57c7b5c7-a50e-e3cc-afde-ddcd86abb5b0\",\n  \"merchant_id\": \"7d845398-6a7c-fa29-7cc6-c0db3c28ab68\",\n  \"created\": \"2017-09-01T19:26:34.153Z\",\n  \"modified\": null,\n  \"status\": \"active\",\n  \"legal_name\": \"string\",\n  \"salutation\": \"mrs\",\n  \"phone_numbers\": [\n    \"string\",\n    \"string\"\n  ],\n  \"locale\": \"string\",\n  \"timezone\": null,\n  \"roles\": [\n    \"1264ce0b-3dc7-2a07-9ca5-783a727b0768\",\n    \"5584e34f-398d-c259-74e1-36526448f5cb\"\n  ],\n  \"permissions\": {\n    \"/orders/**\": {\n      \"*\": true\n    },\n    \"/payment-methods/credit-card/\": {\n      \"POST\": true\n    }\n  },\n  \"field_permissions\": {\n    \"key_0\": {\n      \"key_0\": {\n        \"read\": true,\n        \"write\": false\n      },\n      \"key_1\": {\n        \"read\": true,\n        \"write\": false\n      }\n    },\n    \"key_1\": {\n      \"key_0\": {\n        \"read\": true,\n        \"write\": true\n      }\n    }\n  },\n  \"mfa\": {},\n  \"last_login\": \"1947-09-12T00:29:24.425Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b14f78db-f4c9-4ef6-8dfe-e598d17ed3ed","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","users",":user_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the user.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"user_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"DELETE","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"79edcfb5-cabc-4f69-8a42-c71aa1282645","name":"The object doesn't exist.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","users",":user_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the user.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"user_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"1b97eaad-b9ec-4428-b46b-177f2d006795","name":"Reset the multi-factor authentication of a user","request":{"name":"Reset the multi-factor authentication of a user","description":{"content":"Removes the enrolment of the user for the method, so the user enrols again at the next login.","type":"text/plain"},"url":{"path":["v1","admin","mfa",":enrollment_method","users",":user_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"string","key":"enrollment_method","disabled":false,"description":{"content":"(Required) The multi-factor authentication method to reset, `sms` or `authenticator`.","type":"text/plain"}},{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"user_id","disabled":false,"description":{"content":"(Required) The ID of the user.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{},"auth":null},"response":[{"id":"2d83227c-cbc8-499d-af19-6dd7f830c2ca","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","mfa",":enrollment_method","users",":user_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The multi-factor authentication method to reset, `sms` or `authenticator`.","type":"text/plain"},"type":"any","value":"string","key":"enrollment_method"},{"disabled":false,"description":{"content":"(Required) The ID of the user.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"user_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"DELETE","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"adf71d93-6805-4f68-ac93-fb54b38d62f7","name":"The object doesn't exist.","originalRequest":{"url":{"path":["v1","admin","mfa",":enrollment_method","users",":user_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The multi-factor authentication method to reset, `sms` or `authenticator`.","type":"text/plain"},"type":"any","value":"string","key":"enrollment_method"},{"disabled":false,"description":{"content":"(Required) The ID of the user.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"user_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"433d26ad-47f2-4605-a9ca-97bf284b7b82","name":"The enrolment is removed.","originalRequest":{"url":{"path":["v1","admin","mfa",":enrollment_method","users",":user_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The multi-factor authentication method to reset, `sms` or `authenticator`.","type":"text/plain"},"type":"any","value":"string","key":"enrollment_method"},{"disabled":false,"description":{"content":"(Required) The ID of the user.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"user_id"}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"DELETE","body":{}},"status":"OK","code":200,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]},{"name":"Roles","description":"Bundles of permissions you assign to users.","item":[{"id":"d15dc724-9a71-4ce8-acc5-43fe277d576d","name":"List the roles of a merchant","request":{"name":"List the roles of a merchant","description":{},"url":{"path":["v1","admin","merchants",":merchant_id","roles",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"09755da9-0f77-45e0-b31a-e328f8a4d0bb","name":"The roles.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","roles",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"name\": \"string\",\n    \"id\": \"308f88b9-52d0-766e-216e-718cde8b70f0\",\n    \"created\": \"1980-05-07T03:18:50.365Z\",\n    \"modified\": null,\n    \"description\": \"string\",\n    \"permissions\": {\n      \"/orders/**\": {\n        \"*\": true\n      },\n      \"/payment-methods/credit-card/\": {\n        \"POST\": true\n      }\n    },\n    \"field_permissions\": {\n      \"key_0\": {\n        \"key_0\": {\n          \"read\": true,\n          \"write\": true\n        },\n        \"key_1\": {\n          \"read\": false,\n          \"write\": false\n        },\n        \"key_2\": {\n          \"read\": false,\n          \"write\": true\n        }\n      },\n      \"key_1\": {\n        \"key_0\": {\n          \"read\": true,\n          \"write\": false\n        },\n        \"key_1\": {\n          \"read\": true,\n          \"write\": false\n        },\n        \"key_2\": {\n          \"read\": false,\n          \"write\": true\n        }\n      }\n    },\n    \"max_allowed_correction_amount\": 2947\n  },\n  {\n    \"name\": \"string\",\n    \"id\": \"43b5276e-e0a3-cda6-abf1-2ecdf6901b1d\",\n    \"created\": \"1980-01-03T05:42:02.714Z\",\n    \"modified\": \"1969-07-25T03:41:47.226Z\",\n    \"description\": \"string\",\n    \"permissions\": {\n      \"/orders/**\": {\n        \"*\": true\n      },\n      \"/payment-methods/credit-card/\": {\n        \"POST\": true\n      }\n    },\n    \"field_permissions\": {\n      \"key_0\": {\n        \"key_0\": {\n          \"read\": true,\n          \"write\": true\n        }\n      }\n    },\n    \"max_allowed_correction_amount\": 3818\n  }\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"ed93c2a8-e62e-4d45-94c7-bcd3d143c01c","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","roles",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"81abb258-4153-4fcd-9821-6e0571e52adb","name":"The object doesn't exist.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","roles",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"f39ca000-01c4-4636-9273-0ef6440c9078","name":"Create a role","request":{"name":"Create a role","description":{"content":"Creates a role. Its permissions are limited to the base permissions of the merchant. Without `permissions`,\nthe role gets the merchant's base permissions. Roles can't hold payment method permissions.\n","type":"text/plain"},"url":{"path":["v1","admin","merchants",":merchant_id","roles",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"}}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Merchant administrator\",\n  \"permissions\": {\n    \"/merchants/self/\": {\n      \"GET\": true\n    },\n    \"/merchants/self/*/**\": {\n      \"*\": true\n    },\n    \"/merchants/self/projects/**\": {\n      \"GET\": true\n    },\n    \"/reports/*/merchants/self/**\": {\n      \"GET\": true\n    },\n    \"/search/*/\": {\n      \"POST\": true\n    },\n    \"/orders/**\": {\n      \"*\": true\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"0413d702-553c-4464-bf71-a2adbe4a3357","name":"The role is created.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","roles",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Merchant administrator\",\n  \"permissions\": {\n    \"/merchants/self/\": {\n      \"GET\": true\n    },\n    \"/merchants/self/*/**\": {\n      \"*\": true\n    },\n    \"/merchants/self/projects/**\": {\n      \"GET\": true\n    },\n    \"/reports/*/merchants/self/**\": {\n      \"GET\": true\n    },\n    \"/search/*/\": {\n      \"POST\": true\n    },\n    \"/orders/**\": {\n      \"*\": true\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"name\": \"string\",\n  \"id\": \"0d5a4a20-718d-95c6-a0f0-13a24b064483\",\n  \"created\": \"1958-06-30T12:08:09.907Z\",\n  \"modified\": \"2015-01-25T05:15:14.708Z\",\n  \"description\": \"string\",\n  \"permissions\": {\n    \"/orders/**\": {\n      \"*\": true\n    },\n    \"/payment-methods/credit-card/\": {\n      \"POST\": true\n    }\n  },\n  \"field_permissions\": {\n    \"key_0\": {\n      \"key_0\": {\n        \"read\": false,\n        \"write\": true\n      },\n      \"key_1\": {\n        \"read\": false,\n        \"write\": false\n      },\n      \"key_2\": {\n        \"read\": false,\n        \"write\": false\n      }\n    },\n    \"key_1\": {\n      \"key_0\": {\n        \"read\": false,\n        \"write\": true\n      }\n    }\n  },\n  \"max_allowed_correction_amount\": 1216\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3b3babed-bc12-4a4a-99c4-6d09d6f67b43","name":"The request doesn't match the schema. `property_path` names the field.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","roles",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Merchant administrator\",\n  \"permissions\": {\n    \"/merchants/self/\": {\n      \"GET\": true\n    },\n    \"/merchants/self/*/**\": {\n      \"*\": true\n    },\n    \"/merchants/self/projects/**\": {\n      \"GET\": true\n    },\n    \"/reports/*/merchants/self/**\": {\n      \"GET\": true\n    },\n    \"/search/*/\": {\n      \"POST\": true\n    },\n    \"/orders/**\": {\n      \"*\": true\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c9442470-7ca3-4c36-a629-a766b176274e","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","roles",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Merchant administrator\",\n  \"permissions\": {\n    \"/merchants/self/\": {\n      \"GET\": true\n    },\n    \"/merchants/self/*/**\": {\n      \"*\": true\n    },\n    \"/merchants/self/projects/**\": {\n      \"GET\": true\n    },\n    \"/reports/*/merchants/self/**\": {\n      \"GET\": true\n    },\n    \"/search/*/\": {\n      \"POST\": true\n    },\n    \"/orders/**\": {\n      \"*\": true\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"1ee6c49f-4c66-4893-97d6-93a51306be2c","name":"Get a role","request":{"name":"Get a role","description":{},"url":{"path":["v1","admin","merchants",":merchant_id","roles",":role_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"}},{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"role_id","disabled":false,"description":{"content":"(Required) The ID of the role.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"be2e964b-ad40-45b8-b82b-eccb872e24ca","name":"The role.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","roles",":role_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the role.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"role_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"name\": \"string\",\n  \"id\": \"0d5a4a20-718d-95c6-a0f0-13a24b064483\",\n  \"created\": \"1958-06-30T12:08:09.907Z\",\n  \"modified\": \"2015-01-25T05:15:14.708Z\",\n  \"description\": \"string\",\n  \"permissions\": {\n    \"/orders/**\": {\n      \"*\": true\n    },\n    \"/payment-methods/credit-card/\": {\n      \"POST\": true\n    }\n  },\n  \"field_permissions\": {\n    \"key_0\": {\n      \"key_0\": {\n        \"read\": false,\n        \"write\": true\n      },\n      \"key_1\": {\n        \"read\": false,\n        \"write\": false\n      },\n      \"key_2\": {\n        \"read\": false,\n        \"write\": false\n      }\n    },\n    \"key_1\": {\n      \"key_0\": {\n        \"read\": false,\n        \"write\": true\n      }\n    }\n  },\n  \"max_allowed_correction_amount\": 1216\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d21fd279-e9f8-469d-89ec-875c74d7f5d1","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","roles",":role_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the role.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"role_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a31a172b-a2c8-487b-aaba-0871142ba286","name":"The object doesn't exist.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","roles",":role_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the role.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"role_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"b67e6f44-cff5-40bc-81a0-6e2c7d0bce62","name":"Update a role","request":{"name":"Update a role","description":{},"url":{"path":["v1","admin","merchants",":merchant_id","roles",":role_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"}},{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"role_id","disabled":false,"description":{"content":"(Required) The ID of the role.","type":"text/plain"}}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"description\": \"string\",\n  \"permissions\": {\n    \"/orders/**\": {\n      \"*\": true\n    },\n    \"/payment-methods/credit-card/\": {\n      \"POST\": true\n    }\n  },\n  \"field_permissions\": {\n    \"key_0\": {\n      \"key_0\": {\n        \"read\": true,\n        \"write\": false\n      },\n      \"key_1\": {\n        \"read\": false,\n        \"write\": true\n      }\n    },\n    \"key_1\": {\n      \"key_0\": {\n        \"read\": false,\n        \"write\": true\n      },\n      \"key_1\": {\n        \"read\": true,\n        \"write\": true\n      }\n    }\n  },\n  \"max_allowed_correction_amount\": 3001\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"06da9f0b-eff8-4a47-b836-d9b26060ff49","name":"The updated role.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","roles",":role_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the role.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"role_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"description\": \"string\",\n  \"permissions\": {\n    \"/orders/**\": {\n      \"*\": true\n    },\n    \"/payment-methods/credit-card/\": {\n      \"POST\": true\n    }\n  },\n  \"field_permissions\": {\n    \"key_0\": {\n      \"key_0\": {\n        \"read\": true,\n        \"write\": false\n      },\n      \"key_1\": {\n        \"read\": false,\n        \"write\": true\n      }\n    },\n    \"key_1\": {\n      \"key_0\": {\n        \"read\": false,\n        \"write\": true\n      },\n      \"key_1\": {\n        \"read\": true,\n        \"write\": true\n      }\n    }\n  },\n  \"max_allowed_correction_amount\": 3001\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"name\": \"string\",\n  \"id\": \"0d5a4a20-718d-95c6-a0f0-13a24b064483\",\n  \"created\": \"1958-06-30T12:08:09.907Z\",\n  \"modified\": \"2015-01-25T05:15:14.708Z\",\n  \"description\": \"string\",\n  \"permissions\": {\n    \"/orders/**\": {\n      \"*\": true\n    },\n    \"/payment-methods/credit-card/\": {\n      \"POST\": true\n    }\n  },\n  \"field_permissions\": {\n    \"key_0\": {\n      \"key_0\": {\n        \"read\": false,\n        \"write\": true\n      },\n      \"key_1\": {\n        \"read\": false,\n        \"write\": false\n      },\n      \"key_2\": {\n        \"read\": false,\n        \"write\": false\n      }\n    },\n    \"key_1\": {\n      \"key_0\": {\n        \"read\": false,\n        \"write\": true\n      }\n    }\n  },\n  \"max_allowed_correction_amount\": 1216\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2f7fae74-8d8d-45b7-9e9e-7b18d2d6114d","name":"The request doesn't match the schema. `property_path` names the field.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","roles",":role_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the role.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"role_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"description\": \"string\",\n  \"permissions\": {\n    \"/orders/**\": {\n      \"*\": true\n    },\n    \"/payment-methods/credit-card/\": {\n      \"POST\": true\n    }\n  },\n  \"field_permissions\": {\n    \"key_0\": {\n      \"key_0\": {\n        \"read\": true,\n        \"write\": false\n      },\n      \"key_1\": {\n        \"read\": false,\n        \"write\": true\n      }\n    },\n    \"key_1\": {\n      \"key_0\": {\n        \"read\": false,\n        \"write\": true\n      },\n      \"key_1\": {\n        \"read\": true,\n        \"write\": true\n      }\n    }\n  },\n  \"max_allowed_correction_amount\": 3001\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d9c25dda-e63b-499a-9c2e-3c2f328cdc09","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","roles",":role_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the role.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"role_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"description\": \"string\",\n  \"permissions\": {\n    \"/orders/**\": {\n      \"*\": true\n    },\n    \"/payment-methods/credit-card/\": {\n      \"POST\": true\n    }\n  },\n  \"field_permissions\": {\n    \"key_0\": {\n      \"key_0\": {\n        \"read\": true,\n        \"write\": false\n      },\n      \"key_1\": {\n        \"read\": false,\n        \"write\": true\n      }\n    },\n    \"key_1\": {\n      \"key_0\": {\n        \"read\": false,\n        \"write\": true\n      },\n      \"key_1\": {\n        \"read\": true,\n        \"write\": true\n      }\n    }\n  },\n  \"max_allowed_correction_amount\": 3001\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cfe889b0-2f78-4f8f-943e-d7d06c9e76fb","name":"The object doesn't exist.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","roles",":role_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the role.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"role_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"description\": \"string\",\n  \"permissions\": {\n    \"/orders/**\": {\n      \"*\": true\n    },\n    \"/payment-methods/credit-card/\": {\n      \"POST\": true\n    }\n  },\n  \"field_permissions\": {\n    \"key_0\": {\n      \"key_0\": {\n        \"read\": true,\n        \"write\": false\n      },\n      \"key_1\": {\n        \"read\": false,\n        \"write\": true\n      }\n    },\n    \"key_1\": {\n      \"key_0\": {\n        \"read\": false,\n        \"write\": true\n      },\n      \"key_1\": {\n        \"read\": true,\n        \"write\": true\n      }\n    }\n  },\n  \"max_allowed_correction_amount\": 3001\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]},{"name":"Projects","description":"The webshops and apps of a merchant, each with its own API key.","item":[{"id":"b506ad2e-850f-445f-a43d-0cf33326076a","name":"List the projects of a merchant","request":{"name":"List the projects of a merchant","description":{},"url":{"path":["v1","admin","merchants",":merchant_id","projects",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"5f75da8f-2418-43f6-9ae4-a78e364eb39d","name":"The projects.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","projects",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"trade_name\": \"string\",\n    \"description\": \"string\",\n    \"website_url\": \"https://qwOrTsqonMRYRjvdTGcgtrlLTLKx.ugG8XYeKLX4DQRyTTeb5QvOOqiCQcSvxYnYQoYJUuuyQ-HZKXC93A\",\n    \"status\": \"active-production\",\n    \"id\": \"3f8c2135-102a-9539-387e-158b65e020c0\",\n    \"merchant_id\": \"1ec9b19a-59f2-e209-76f2-0e445e2124da\",\n    \"created\": \"1994-07-03T16:07:47.581Z\",\n    \"modified\": \"1982-06-17T14:29:02.211Z\",\n    \"apikey\": \"string\",\n    \"external_project_id\": \"string\",\n    \"webhook_url\": \"https://cOrfmPtjAfAm.aeiDriH.4NYFV\",\n    \"terms_and_conditions_url\": \"http://OhONoSPzXbzba.bbtmftvOgq\",\n    \"locale\": null,\n    \"timezone\": \"string\",\n    \"mcc\": \"string\",\n    \"acceptor_id\": \"string\",\n    \"ip_whitelist\": [\n      \"string\",\n      \"string\"\n    ],\n    \"fraud_prevention_integration\": \"cybersource\",\n    \"fraud_prevention_risk_profile\": \"string\",\n    \"permissions\": {\n      \"/orders/**\": {\n        \"*\": true\n      },\n      \"/payment-methods/credit-card/\": {\n        \"POST\": true\n      }\n    },\n    \"contracts\": {\n      \"key_0\": {\n        \"fields\": {\n          \"boarding_mode\": \"full-merchant\",\n          \"schemes\": {\n            \"visa\": \"\",\n            \"mastercard\": \"\",\n            \"bancontact\": \"\"\n          },\n          \"boarding_status\": \"string\",\n          \"merchant_key\": \"string\",\n          \"currencies\": \"\",\n          \"dynamic_3ds_rules\": \"\",\n          \"begin_date\": \"string\",\n          \"end_date\": null,\n          \"funding_delay\": 6473,\n          \"manual_capture_enabled\": true,\n          \"delayed_capture_enabled\": false\n        }\n      },\n      \"key_1\": {\n        \"fields\": {\n          \"boarding_mode\": \"acceptors-only\",\n          \"schemes\": {\n            \"visa\": \"\",\n            \"mastercard\": \"\",\n            \"bancontact\": \"\"\n          },\n          \"boarding_status\": \"string\",\n          \"merchant_key\": \"string\",\n          \"currencies\": \"\",\n          \"dynamic_3ds_rules\": \"\",\n          \"begin_date\": \"string\",\n          \"end_date\": \"string\",\n          \"funding_delay\": 4615,\n          \"manual_capture_enabled\": true,\n          \"delayed_capture_enabled\": true\n        }\n      }\n    },\n    \"settings\": {\n      \"payment_methods\": {\n        \"key_0\": {\n          \"enabled_by_merchant\": true,\n          \"disabled_brands\": [\n            \"maestro\",\n            \"vpay\"\n          ]\n        },\n        \"key_1\": {\n          \"enabled_by_merchant\": true,\n          \"disabled_brands\": [\n            \"vpay\",\n            \"cup\"\n          ]\n        },\n        \"key_2\": {\n          \"enabled_by_merchant\": false,\n          \"disabled_brands\": [\n            \"jcb\",\n            \"jcb\"\n          ]\n        }\n      },\n      \"hosted-payment-page\": {\n        \"default\": {\n          \"hide_header\": true,\n          \"header_background_color\": \"#k57qi\",\n          \"header_font_color\": \"#1X2SF\",\n          \"sidebar_background_color\": \"#Dhpp\",\n          \"sidebar_font_color\": \"#F8sa\",\n          \"payment_button_background_color\": \"#hJNh\",\n          \"payment_button_font_color\": \"#xnoJ\",\n          \"return_button_font_color\": \"#KcfWo\",\n          \"language_selector_font_color\": \"#xc5\",\n          \"logo_image_url\": null,\n          \"background_image_url\": \"http://KxrIRlqjQgljjZqJH.bvw6zQFho5s\"\n        },\n        \"preview\": {\n          \"hide_header\": true,\n          \"header_background_color\": \"#eYZxW\",\n          \"header_font_color\": \"#xCRT\",\n          \"sidebar_background_color\": \"#ERad3v\",\n          \"sidebar_font_color\": \"#41VzlH\",\n          \"payment_button_background_color\": \"#oj2E\",\n          \"payment_button_font_color\": \"#nG3z\",\n          \"return_button_font_color\": \"#hhX\",\n          \"language_selector_font_color\": \"#cT2u\",\n          \"logo_image_url\": null,\n          \"background_image_url\": null\n        },\n        \"payment_method_order\": [\n          \"string\",\n          \"string\"\n        ]\n      }\n    }\n  },\n  {\n    \"trade_name\": \"string\",\n    \"description\": \"string\",\n    \"website_url\": \"https://IZVjBOO.mfvRpJm2jc,hQimSZnb9Q30-q2deONVmsAqyUY+cXUABT27-TmORq43\",\n    \"status\": \"active-production\",\n    \"id\": \"c5458b25-0375-b128-91db-2d79da1c0378\",\n    \"merchant_id\": \"d84182ef-6dd4-7212-f59d-bd02cebb4ddd\",\n    \"created\": \"2017-10-20T21:58:26.296Z\",\n    \"modified\": \"1949-01-04T12:09:24.074Z\",\n    \"apikey\": \"string\",\n    \"external_project_id\": \"string\",\n    \"webhook_url\": \"http://jiKzbZPuJzlZqlsO.auaHspWPVJaovShiaZcZxPr+HtSrUOR92G4v4I\",\n    \"terms_and_conditions_url\": \"https://iPkgDtwWWcIyo.ydcMfl5.RggqXo8e7Vw+AEX2e4scf,pKdp+473Nfkeh3HwUZGbZ9OWt-IeHhjh1AiOJaEZ+C6ogU0rRH\",\n    \"locale\": null,\n    \"timezone\": null,\n    \"mcc\": \"string\",\n    \"acceptor_id\": \"string\",\n    \"ip_whitelist\": [\n      \"string\",\n      \"string\"\n    ],\n    \"fraud_prevention_integration\": \"cybersource\",\n    \"fraud_prevention_risk_profile\": \"string\",\n    \"permissions\": {\n      \"/orders/**\": {\n        \"*\": true\n      },\n      \"/payment-methods/credit-card/\": {\n        \"POST\": true\n      }\n    },\n    \"contracts\": {\n      \"key_0\": {\n        \"fields\": {\n          \"boarding_mode\": \"full-merchant\",\n          \"schemes\": {\n            \"visa\": \"\",\n            \"mastercard\": \"\",\n            \"bancontact\": \"\"\n          },\n          \"boarding_status\": \"string\",\n          \"merchant_key\": \"string\",\n          \"currencies\": \"\",\n          \"dynamic_3ds_rules\": \"\",\n          \"begin_date\": \"string\",\n          \"end_date\": \"string\",\n          \"funding_delay\": 8078,\n          \"manual_capture_enabled\": false,\n          \"delayed_capture_enabled\": true\n        }\n      }\n    },\n    \"settings\": {\n      \"payment_methods\": {\n        \"key_0\": {\n          \"enabled_by_merchant\": false,\n          \"disabled_brands\": [\n            \"amex\",\n            \"diners/discover\"\n          ]\n        },\n        \"key_1\": {\n          \"enabled_by_merchant\": true,\n          \"disabled_brands\": [\n            \"cup\",\n            \"cup\"\n          ]\n        }\n      },\n      \"hosted-payment-page\": {\n        \"default\": {\n          \"hide_header\": false,\n          \"header_background_color\": \"#rg16m\",\n          \"header_font_color\": \"#pAGM\",\n          \"sidebar_background_color\": \"#f3RO\",\n          \"sidebar_font_color\": \"#kZPn5\",\n          \"payment_button_background_color\": \"#SgPB\",\n          \"payment_button_font_color\": \"#qHlV\",\n          \"return_button_font_color\": \"#BTCVq\",\n          \"language_selector_font_color\": \"#Cjl8\",\n          \"logo_image_url\": \"http://puovEiZ.kmXKykcG3aBY\",\n          \"background_image_url\": null\n        },\n        \"preview\": {\n          \"hide_header\": true,\n          \"header_background_color\": \"#fAo\",\n          \"header_font_color\": \"#t3LHT\",\n          \"sidebar_background_color\": \"#fnlf\",\n          \"sidebar_font_color\": \"#EAZX\",\n          \"payment_button_background_color\": \"#o3Kh\",\n          \"payment_button_font_color\": \"#7es\",\n          \"return_button_font_color\": \"#Ccn\",\n          \"language_selector_font_color\": \"#nR8Rqr\",\n          \"logo_image_url\": \"http://iyn.bgYe7f-rGFweXNpiu4wxbXdK1\",\n          \"background_image_url\": \"http://lKoymbzEUSjezcGasLkwpOvhhJQrMFWh.nlnuu6jwp,Y0\"\n        },\n        \"payment_method_order\": [\n          \"string\",\n          \"string\"\n        ]\n      }\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"4f064a28-4b81-443e-8bad-f0abb8a12cf7","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","projects",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"15d21abf-7b83-42a4-9e00-eeeb896c9535","name":"The object doesn't exist.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","projects",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"2ac2f9f2-e251-4929-a727-5411ce876fc4","name":"Create a project","request":{"name":"Create a project","description":{"content":"Creates a project with a new API key. Without `permissions`, the project gets the base permissions of the\nmerchant; permissions you send are limited to them. Not allowed for a merchant with status `ending` or `ended`.\n","type":"text/plain"},"url":{"path":["v1","admin","merchants",":merchant_id","projects",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"}}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"trade_name\": \"Acme Coffee\",\n  \"description\": \"Acme Coffee webshop (test)\",\n  \"status\": \"active-testing\",\n  \"website_url\": \"https://www.example.com/\",\n  \"webhook_url\": \"https://www.example.com/webhook/\",\n  \"permissions\": {\n    \"/orders/**\": {\n      \"*\": true\n    },\n    \"/payment-methods/credit-card/\": {\n      \"POST\": true\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"d8a0d564-66fc-474c-9fa3-bcd6ea57997e","name":"The project is created. The response holds its API key in `apikey`.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","projects",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"trade_name\": \"Acme Coffee\",\n  \"description\": \"Acme Coffee webshop (test)\",\n  \"status\": \"active-testing\",\n  \"website_url\": \"https://www.example.com/\",\n  \"webhook_url\": \"https://www.example.com/webhook/\",\n  \"permissions\": {\n    \"/orders/**\": {\n      \"*\": true\n    },\n    \"/payment-methods/credit-card/\": {\n      \"POST\": true\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"trade_name\": \"string\",\n  \"description\": \"string\",\n  \"website_url\": \"http://fOLFyvBvRfbHVTHHerTGlalJuNnNeO.mvZga6NfCiNIWfA\",\n  \"status\": \"inactive\",\n  \"id\": \"46478c74-2d3e-641b-9e97-8c616e7ecb3f\",\n  \"merchant_id\": \"add72b14-35af-9f79-8749-2e4f200536b7\",\n  \"created\": \"1979-10-28T00:50:07.626Z\",\n  \"modified\": null,\n  \"apikey\": \"string\",\n  \"external_project_id\": \"string\",\n  \"webhook_url\": null,\n  \"terms_and_conditions_url\": \"https://XLpfJHtsRStVfpnMeGebSNGU.wqdrgBJj4m0DXHDSZdrovupwBwwNKAoUqwyKRfqVQp-nEnoh.aKa0qLIjTDRnUSsjb\",\n  \"locale\": \"string\",\n  \"timezone\": null,\n  \"mcc\": \"string\",\n  \"acceptor_id\": \"string\",\n  \"ip_whitelist\": [\n    \"string\",\n    \"string\"\n  ],\n  \"fraud_prevention_integration\": \"cybersource\",\n  \"fraud_prevention_risk_profile\": \"string\",\n  \"permissions\": {\n    \"/orders/**\": {\n      \"*\": true\n    },\n    \"/payment-methods/credit-card/\": {\n      \"POST\": true\n    }\n  },\n  \"contracts\": {\n    \"key_0\": {\n      \"fields\": {\n        \"boarding_mode\": \"full-merchant\",\n        \"schemes\": {\n          \"visa\": \"\",\n          \"mastercard\": \"\",\n          \"bancontact\": \"\"\n        },\n        \"boarding_status\": \"string\",\n        \"merchant_key\": \"string\",\n        \"currencies\": \"\",\n        \"dynamic_3ds_rules\": \"\",\n        \"begin_date\": \"string\",\n        \"end_date\": null,\n        \"funding_delay\": 7979,\n        \"manual_capture_enabled\": true,\n        \"delayed_capture_enabled\": false\n      }\n    },\n    \"key_1\": {\n      \"fields\": {\n        \"boarding_mode\": \"disabled\",\n        \"schemes\": {\n          \"visa\": \"\",\n          \"mastercard\": \"\",\n          \"bancontact\": \"\"\n        },\n        \"boarding_status\": \"string\",\n        \"merchant_key\": \"string\",\n        \"currencies\": \"\",\n        \"dynamic_3ds_rules\": \"\",\n        \"begin_date\": \"string\",\n        \"end_date\": null,\n        \"funding_delay\": 3548,\n        \"manual_capture_enabled\": true,\n        \"delayed_capture_enabled\": false\n      }\n    }\n  },\n  \"settings\": {\n    \"payment_methods\": {\n      \"key_0\": {\n        \"enabled_by_merchant\": false,\n        \"disabled_brands\": [\n          \"mastercard\",\n          \"mastercard\"\n        ]\n      },\n      \"key_1\": {\n        \"enabled_by_merchant\": true,\n        \"disabled_brands\": [\n          \"cup\",\n          \"amex\"\n        ]\n      }\n    },\n    \"hosted-payment-page\": {\n      \"default\": {\n        \"hide_header\": false,\n        \"header_background_color\": \"#q93zPU\",\n        \"header_font_color\": \"#NJHz\",\n        \"sidebar_background_color\": \"#N3A\",\n        \"sidebar_font_color\": \"#gMn\",\n        \"payment_button_background_color\": \"#MZS\",\n        \"payment_button_font_color\": \"#ovexW5\",\n        \"return_button_font_color\": \"#VbG\",\n        \"language_selector_font_color\": \"#09A22\",\n        \"logo_image_url\": null,\n        \"background_image_url\": \"http://wYKCyyCmAqxISunJFOdHlSIoaeAteY.ucshZBMNeibtLYkkmPuJX,AsomFGEqmNZ1vYCjEFNI1AcgIKaWdXPNiCnR-ug\"\n      },\n      \"preview\": {\n        \"hide_header\": false,\n        \"header_background_color\": \"#Zy2NP\",\n        \"header_font_color\": \"#5dth\",\n        \"sidebar_background_color\": \"#Nknh\",\n        \"sidebar_font_color\": \"#JF7\",\n        \"payment_button_background_color\": \"#HAJE\",\n        \"payment_button_font_color\": \"#cAc\",\n        \"return_button_font_color\": \"#rLu2q\",\n        \"language_selector_font_color\": \"#YpZW\",\n        \"logo_image_url\": \"http://mcgjoMIQibJYdSOUQ.qsfppQEOXs5WnRHnLb5YPCV.hXNfztnI2gNjzkOCkkRbDWuz,zNeRMRR4LbyU\",\n        \"background_image_url\": \"http://ZAkEWXxPHcPusF.wkFKTmjxlD3xMsZFxOrnBiJQgfv0dWZaEyBXFEG3HEO1XN63gekwn0D5MrT5sIbWrT1Ow1A\"\n      },\n      \"payment_method_order\": [\n        \"string\",\n        \"string\"\n      ]\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c8f6feb2-033a-4cea-a112-02e597f2bd15","name":"The request doesn't match the schema. `property_path` names the field.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","projects",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"trade_name\": \"Acme Coffee\",\n  \"description\": \"Acme Coffee webshop (test)\",\n  \"status\": \"active-testing\",\n  \"website_url\": \"https://www.example.com/\",\n  \"webhook_url\": \"https://www.example.com/webhook/\",\n  \"permissions\": {\n    \"/orders/**\": {\n      \"*\": true\n    },\n    \"/payment-methods/credit-card/\": {\n      \"POST\": true\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"da783841-8977-45f7-be15-e0346e179e86","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","projects",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"trade_name\": \"Acme Coffee\",\n  \"description\": \"Acme Coffee webshop (test)\",\n  \"status\": \"active-testing\",\n  \"website_url\": \"https://www.example.com/\",\n  \"webhook_url\": \"https://www.example.com/webhook/\",\n  \"permissions\": {\n    \"/orders/**\": {\n      \"*\": true\n    },\n    \"/payment-methods/credit-card/\": {\n      \"POST\": true\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"63cd5cc9-a8a3-46b9-91f4-5d3f94addac9","name":"Get a project","request":{"name":"Get a project","description":{},"url":{"path":["v1","admin","merchants",":merchant_id","projects",":project_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"}},{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"project_id","disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"740bbe26-0b51-4213-ab25-ac4865a675b0","name":"The project.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","projects",":project_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"project_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"trade_name\": \"string\",\n  \"description\": \"string\",\n  \"website_url\": \"http://fOLFyvBvRfbHVTHHerTGlalJuNnNeO.mvZga6NfCiNIWfA\",\n  \"status\": \"inactive\",\n  \"id\": \"46478c74-2d3e-641b-9e97-8c616e7ecb3f\",\n  \"merchant_id\": \"add72b14-35af-9f79-8749-2e4f200536b7\",\n  \"created\": \"1979-10-28T00:50:07.626Z\",\n  \"modified\": null,\n  \"apikey\": \"string\",\n  \"external_project_id\": \"string\",\n  \"webhook_url\": null,\n  \"terms_and_conditions_url\": \"https://XLpfJHtsRStVfpnMeGebSNGU.wqdrgBJj4m0DXHDSZdrovupwBwwNKAoUqwyKRfqVQp-nEnoh.aKa0qLIjTDRnUSsjb\",\n  \"locale\": \"string\",\n  \"timezone\": null,\n  \"mcc\": \"string\",\n  \"acceptor_id\": \"string\",\n  \"ip_whitelist\": [\n    \"string\",\n    \"string\"\n  ],\n  \"fraud_prevention_integration\": \"cybersource\",\n  \"fraud_prevention_risk_profile\": \"string\",\n  \"permissions\": {\n    \"/orders/**\": {\n      \"*\": true\n    },\n    \"/payment-methods/credit-card/\": {\n      \"POST\": true\n    }\n  },\n  \"contracts\": {\n    \"key_0\": {\n      \"fields\": {\n        \"boarding_mode\": \"full-merchant\",\n        \"schemes\": {\n          \"visa\": \"\",\n          \"mastercard\": \"\",\n          \"bancontact\": \"\"\n        },\n        \"boarding_status\": \"string\",\n        \"merchant_key\": \"string\",\n        \"currencies\": \"\",\n        \"dynamic_3ds_rules\": \"\",\n        \"begin_date\": \"string\",\n        \"end_date\": null,\n        \"funding_delay\": 7979,\n        \"manual_capture_enabled\": true,\n        \"delayed_capture_enabled\": false\n      }\n    },\n    \"key_1\": {\n      \"fields\": {\n        \"boarding_mode\": \"disabled\",\n        \"schemes\": {\n          \"visa\": \"\",\n          \"mastercard\": \"\",\n          \"bancontact\": \"\"\n        },\n        \"boarding_status\": \"string\",\n        \"merchant_key\": \"string\",\n        \"currencies\": \"\",\n        \"dynamic_3ds_rules\": \"\",\n        \"begin_date\": \"string\",\n        \"end_date\": null,\n        \"funding_delay\": 3548,\n        \"manual_capture_enabled\": true,\n        \"delayed_capture_enabled\": false\n      }\n    }\n  },\n  \"settings\": {\n    \"payment_methods\": {\n      \"key_0\": {\n        \"enabled_by_merchant\": false,\n        \"disabled_brands\": [\n          \"mastercard\",\n          \"mastercard\"\n        ]\n      },\n      \"key_1\": {\n        \"enabled_by_merchant\": true,\n        \"disabled_brands\": [\n          \"cup\",\n          \"amex\"\n        ]\n      }\n    },\n    \"hosted-payment-page\": {\n      \"default\": {\n        \"hide_header\": false,\n        \"header_background_color\": \"#q93zPU\",\n        \"header_font_color\": \"#NJHz\",\n        \"sidebar_background_color\": \"#N3A\",\n        \"sidebar_font_color\": \"#gMn\",\n        \"payment_button_background_color\": \"#MZS\",\n        \"payment_button_font_color\": \"#ovexW5\",\n        \"return_button_font_color\": \"#VbG\",\n        \"language_selector_font_color\": \"#09A22\",\n        \"logo_image_url\": null,\n        \"background_image_url\": \"http://wYKCyyCmAqxISunJFOdHlSIoaeAteY.ucshZBMNeibtLYkkmPuJX,AsomFGEqmNZ1vYCjEFNI1AcgIKaWdXPNiCnR-ug\"\n      },\n      \"preview\": {\n        \"hide_header\": false,\n        \"header_background_color\": \"#Zy2NP\",\n        \"header_font_color\": \"#5dth\",\n        \"sidebar_background_color\": \"#Nknh\",\n        \"sidebar_font_color\": \"#JF7\",\n        \"payment_button_background_color\": \"#HAJE\",\n        \"payment_button_font_color\": \"#cAc\",\n        \"return_button_font_color\": \"#rLu2q\",\n        \"language_selector_font_color\": \"#YpZW\",\n        \"logo_image_url\": \"http://mcgjoMIQibJYdSOUQ.qsfppQEOXs5WnRHnLb5YPCV.hXNfztnI2gNjzkOCkkRbDWuz,zNeRMRR4LbyU\",\n        \"background_image_url\": \"http://ZAkEWXxPHcPusF.wkFKTmjxlD3xMsZFxOrnBiJQgfv0dWZaEyBXFEG3HEO1XN63gekwn0D5MrT5sIbWrT1Ow1A\"\n      },\n      \"payment_method_order\": [\n        \"string\",\n        \"string\"\n      ]\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7bf853da-7d66-4a31-97b1-118990d3bbed","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","projects",":project_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"project_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"403c6ace-0d68-4054-8a73-cefff9146d5e","name":"The object doesn't exist.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","projects",":project_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"project_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"227b7090-bf43-4563-9fa8-f8ed2b05dd49","name":"Update a project","request":{"name":"Update a project","description":{"content":"Updates the project. `trade_name`, `description`, `website_url` and `status` are required. The style of the\nhosted payment page in `settings.hosted-payment-page` is merged into the stored style.\n","type":"text/plain"},"url":{"path":["v1","admin","merchants",":merchant_id","projects",":project_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"}},{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"project_id","disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"}}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"trade_name\": \"Acme Coffee\",\n  \"description\": \"Acme Coffee webshop\",\n  \"status\": \"active-production\",\n  \"website_url\": \"https://www.example.com/\",\n  \"settings\": {\n    \"hosted-payment-page\": {\n      \"preview\": {\n        \"header_background_color\": \"#1d3557\",\n        \"header_font_color\": \"#ffffff\",\n        \"sidebar_background_color\": \"#1d3557\",\n        \"sidebar_font_color\": \"#ffffff\",\n        \"payment_button_background_color\": \"#e63946\",\n        \"payment_button_font_color\": \"#ffffff\",\n        \"return_button_font_color\": \"#1d3557\",\n        \"language_selector_font_color\": \"#1d3557\",\n        \"hide_header\": false\n      }\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"87d16140-9289-4672-99d6-3d316c3a7007","name":"The updated project.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","projects",":project_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"project_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"trade_name\": \"Acme Coffee\",\n  \"description\": \"Acme Coffee webshop\",\n  \"status\": \"active-production\",\n  \"website_url\": \"https://www.example.com/\",\n  \"settings\": {\n    \"hosted-payment-page\": {\n      \"preview\": {\n        \"header_background_color\": \"#1d3557\",\n        \"header_font_color\": \"#ffffff\",\n        \"sidebar_background_color\": \"#1d3557\",\n        \"sidebar_font_color\": \"#ffffff\",\n        \"payment_button_background_color\": \"#e63946\",\n        \"payment_button_font_color\": \"#ffffff\",\n        \"return_button_font_color\": \"#1d3557\",\n        \"language_selector_font_color\": \"#1d3557\",\n        \"hide_header\": false\n      }\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"trade_name\": \"string\",\n  \"description\": \"string\",\n  \"website_url\": \"http://fOLFyvBvRfbHVTHHerTGlalJuNnNeO.mvZga6NfCiNIWfA\",\n  \"status\": \"inactive\",\n  \"id\": \"46478c74-2d3e-641b-9e97-8c616e7ecb3f\",\n  \"merchant_id\": \"add72b14-35af-9f79-8749-2e4f200536b7\",\n  \"created\": \"1979-10-28T00:50:07.626Z\",\n  \"modified\": null,\n  \"apikey\": \"string\",\n  \"external_project_id\": \"string\",\n  \"webhook_url\": null,\n  \"terms_and_conditions_url\": \"https://XLpfJHtsRStVfpnMeGebSNGU.wqdrgBJj4m0DXHDSZdrovupwBwwNKAoUqwyKRfqVQp-nEnoh.aKa0qLIjTDRnUSsjb\",\n  \"locale\": \"string\",\n  \"timezone\": null,\n  \"mcc\": \"string\",\n  \"acceptor_id\": \"string\",\n  \"ip_whitelist\": [\n    \"string\",\n    \"string\"\n  ],\n  \"fraud_prevention_integration\": \"cybersource\",\n  \"fraud_prevention_risk_profile\": \"string\",\n  \"permissions\": {\n    \"/orders/**\": {\n      \"*\": true\n    },\n    \"/payment-methods/credit-card/\": {\n      \"POST\": true\n    }\n  },\n  \"contracts\": {\n    \"key_0\": {\n      \"fields\": {\n        \"boarding_mode\": \"full-merchant\",\n        \"schemes\": {\n          \"visa\": \"\",\n          \"mastercard\": \"\",\n          \"bancontact\": \"\"\n        },\n        \"boarding_status\": \"string\",\n        \"merchant_key\": \"string\",\n        \"currencies\": \"\",\n        \"dynamic_3ds_rules\": \"\",\n        \"begin_date\": \"string\",\n        \"end_date\": null,\n        \"funding_delay\": 7979,\n        \"manual_capture_enabled\": true,\n        \"delayed_capture_enabled\": false\n      }\n    },\n    \"key_1\": {\n      \"fields\": {\n        \"boarding_mode\": \"disabled\",\n        \"schemes\": {\n          \"visa\": \"\",\n          \"mastercard\": \"\",\n          \"bancontact\": \"\"\n        },\n        \"boarding_status\": \"string\",\n        \"merchant_key\": \"string\",\n        \"currencies\": \"\",\n        \"dynamic_3ds_rules\": \"\",\n        \"begin_date\": \"string\",\n        \"end_date\": null,\n        \"funding_delay\": 3548,\n        \"manual_capture_enabled\": true,\n        \"delayed_capture_enabled\": false\n      }\n    }\n  },\n  \"settings\": {\n    \"payment_methods\": {\n      \"key_0\": {\n        \"enabled_by_merchant\": false,\n        \"disabled_brands\": [\n          \"mastercard\",\n          \"mastercard\"\n        ]\n      },\n      \"key_1\": {\n        \"enabled_by_merchant\": true,\n        \"disabled_brands\": [\n          \"cup\",\n          \"amex\"\n        ]\n      }\n    },\n    \"hosted-payment-page\": {\n      \"default\": {\n        \"hide_header\": false,\n        \"header_background_color\": \"#q93zPU\",\n        \"header_font_color\": \"#NJHz\",\n        \"sidebar_background_color\": \"#N3A\",\n        \"sidebar_font_color\": \"#gMn\",\n        \"payment_button_background_color\": \"#MZS\",\n        \"payment_button_font_color\": \"#ovexW5\",\n        \"return_button_font_color\": \"#VbG\",\n        \"language_selector_font_color\": \"#09A22\",\n        \"logo_image_url\": null,\n        \"background_image_url\": \"http://wYKCyyCmAqxISunJFOdHlSIoaeAteY.ucshZBMNeibtLYkkmPuJX,AsomFGEqmNZ1vYCjEFNI1AcgIKaWdXPNiCnR-ug\"\n      },\n      \"preview\": {\n        \"hide_header\": false,\n        \"header_background_color\": \"#Zy2NP\",\n        \"header_font_color\": \"#5dth\",\n        \"sidebar_background_color\": \"#Nknh\",\n        \"sidebar_font_color\": \"#JF7\",\n        \"payment_button_background_color\": \"#HAJE\",\n        \"payment_button_font_color\": \"#cAc\",\n        \"return_button_font_color\": \"#rLu2q\",\n        \"language_selector_font_color\": \"#YpZW\",\n        \"logo_image_url\": \"http://mcgjoMIQibJYdSOUQ.qsfppQEOXs5WnRHnLb5YPCV.hXNfztnI2gNjzkOCkkRbDWuz,zNeRMRR4LbyU\",\n        \"background_image_url\": \"http://ZAkEWXxPHcPusF.wkFKTmjxlD3xMsZFxOrnBiJQgfv0dWZaEyBXFEG3HEO1XN63gekwn0D5MrT5sIbWrT1Ow1A\"\n      },\n      \"payment_method_order\": [\n        \"string\",\n        \"string\"\n      ]\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ab4b296a-5ec2-41bc-a263-847bff0fa4d3","name":"The request doesn't match the schema. `property_path` names the field.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","projects",":project_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"project_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"trade_name\": \"Acme Coffee\",\n  \"description\": \"Acme Coffee webshop\",\n  \"status\": \"active-production\",\n  \"website_url\": \"https://www.example.com/\",\n  \"settings\": {\n    \"hosted-payment-page\": {\n      \"preview\": {\n        \"header_background_color\": \"#1d3557\",\n        \"header_font_color\": \"#ffffff\",\n        \"sidebar_background_color\": \"#1d3557\",\n        \"sidebar_font_color\": \"#ffffff\",\n        \"payment_button_background_color\": \"#e63946\",\n        \"payment_button_font_color\": \"#ffffff\",\n        \"return_button_font_color\": \"#1d3557\",\n        \"language_selector_font_color\": \"#1d3557\",\n        \"hide_header\": false\n      }\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b1ea628a-23ac-4474-af04-1800bead082a","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","projects",":project_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"project_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"trade_name\": \"Acme Coffee\",\n  \"description\": \"Acme Coffee webshop\",\n  \"status\": \"active-production\",\n  \"website_url\": \"https://www.example.com/\",\n  \"settings\": {\n    \"hosted-payment-page\": {\n      \"preview\": {\n        \"header_background_color\": \"#1d3557\",\n        \"header_font_color\": \"#ffffff\",\n        \"sidebar_background_color\": \"#1d3557\",\n        \"sidebar_font_color\": \"#ffffff\",\n        \"payment_button_background_color\": \"#e63946\",\n        \"payment_button_font_color\": \"#ffffff\",\n        \"return_button_font_color\": \"#1d3557\",\n        \"language_selector_font_color\": \"#1d3557\",\n        \"hide_header\": false\n      }\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"dd4ce17f-0aac-402b-8617-a70004f76220","name":"The object doesn't exist.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","projects",":project_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"project_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"trade_name\": \"Acme Coffee\",\n  \"description\": \"Acme Coffee webshop\",\n  \"status\": \"active-production\",\n  \"website_url\": \"https://www.example.com/\",\n  \"settings\": {\n    \"hosted-payment-page\": {\n      \"preview\": {\n        \"header_background_color\": \"#1d3557\",\n        \"header_font_color\": \"#ffffff\",\n        \"sidebar_background_color\": \"#1d3557\",\n        \"sidebar_font_color\": \"#ffffff\",\n        \"payment_button_background_color\": \"#e63946\",\n        \"payment_button_font_color\": \"#ffffff\",\n        \"return_button_font_color\": \"#1d3557\",\n        \"language_selector_font_color\": \"#1d3557\",\n        \"hide_header\": false\n      }\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"2f073cb2-d352-4dfb-91d8-075c9965bb07","name":"Deactivate a project","request":{"name":"Deactivate a project","description":{"content":"Sets the status of the project to `inactive`.","type":"text/plain"},"url":{"path":["v1","admin","merchants",":merchant_id","projects",":project_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"}},{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"project_id","disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{},"auth":null},"response":[{"id":"9c0faae8-74e3-4ae8-a059-ba512aeb6d50","name":"The project, with status `inactive`.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","projects",":project_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"project_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"DELETE","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"trade_name\": \"string\",\n  \"description\": \"string\",\n  \"website_url\": \"http://fOLFyvBvRfbHVTHHerTGlalJuNnNeO.mvZga6NfCiNIWfA\",\n  \"status\": \"inactive\",\n  \"id\": \"46478c74-2d3e-641b-9e97-8c616e7ecb3f\",\n  \"merchant_id\": \"add72b14-35af-9f79-8749-2e4f200536b7\",\n  \"created\": \"1979-10-28T00:50:07.626Z\",\n  \"modified\": null,\n  \"apikey\": \"string\",\n  \"external_project_id\": \"string\",\n  \"webhook_url\": null,\n  \"terms_and_conditions_url\": \"https://XLpfJHtsRStVfpnMeGebSNGU.wqdrgBJj4m0DXHDSZdrovupwBwwNKAoUqwyKRfqVQp-nEnoh.aKa0qLIjTDRnUSsjb\",\n  \"locale\": \"string\",\n  \"timezone\": null,\n  \"mcc\": \"string\",\n  \"acceptor_id\": \"string\",\n  \"ip_whitelist\": [\n    \"string\",\n    \"string\"\n  ],\n  \"fraud_prevention_integration\": \"cybersource\",\n  \"fraud_prevention_risk_profile\": \"string\",\n  \"permissions\": {\n    \"/orders/**\": {\n      \"*\": true\n    },\n    \"/payment-methods/credit-card/\": {\n      \"POST\": true\n    }\n  },\n  \"contracts\": {\n    \"key_0\": {\n      \"fields\": {\n        \"boarding_mode\": \"full-merchant\",\n        \"schemes\": {\n          \"visa\": \"\",\n          \"mastercard\": \"\",\n          \"bancontact\": \"\"\n        },\n        \"boarding_status\": \"string\",\n        \"merchant_key\": \"string\",\n        \"currencies\": \"\",\n        \"dynamic_3ds_rules\": \"\",\n        \"begin_date\": \"string\",\n        \"end_date\": null,\n        \"funding_delay\": 7979,\n        \"manual_capture_enabled\": true,\n        \"delayed_capture_enabled\": false\n      }\n    },\n    \"key_1\": {\n      \"fields\": {\n        \"boarding_mode\": \"disabled\",\n        \"schemes\": {\n          \"visa\": \"\",\n          \"mastercard\": \"\",\n          \"bancontact\": \"\"\n        },\n        \"boarding_status\": \"string\",\n        \"merchant_key\": \"string\",\n        \"currencies\": \"\",\n        \"dynamic_3ds_rules\": \"\",\n        \"begin_date\": \"string\",\n        \"end_date\": null,\n        \"funding_delay\": 3548,\n        \"manual_capture_enabled\": true,\n        \"delayed_capture_enabled\": false\n      }\n    }\n  },\n  \"settings\": {\n    \"payment_methods\": {\n      \"key_0\": {\n        \"enabled_by_merchant\": false,\n        \"disabled_brands\": [\n          \"mastercard\",\n          \"mastercard\"\n        ]\n      },\n      \"key_1\": {\n        \"enabled_by_merchant\": true,\n        \"disabled_brands\": [\n          \"cup\",\n          \"amex\"\n        ]\n      }\n    },\n    \"hosted-payment-page\": {\n      \"default\": {\n        \"hide_header\": false,\n        \"header_background_color\": \"#q93zPU\",\n        \"header_font_color\": \"#NJHz\",\n        \"sidebar_background_color\": \"#N3A\",\n        \"sidebar_font_color\": \"#gMn\",\n        \"payment_button_background_color\": \"#MZS\",\n        \"payment_button_font_color\": \"#ovexW5\",\n        \"return_button_font_color\": \"#VbG\",\n        \"language_selector_font_color\": \"#09A22\",\n        \"logo_image_url\": null,\n        \"background_image_url\": \"http://wYKCyyCmAqxISunJFOdHlSIoaeAteY.ucshZBMNeibtLYkkmPuJX,AsomFGEqmNZ1vYCjEFNI1AcgIKaWdXPNiCnR-ug\"\n      },\n      \"preview\": {\n        \"hide_header\": false,\n        \"header_background_color\": \"#Zy2NP\",\n        \"header_font_color\": \"#5dth\",\n        \"sidebar_background_color\": \"#Nknh\",\n        \"sidebar_font_color\": \"#JF7\",\n        \"payment_button_background_color\": \"#HAJE\",\n        \"payment_button_font_color\": \"#cAc\",\n        \"return_button_font_color\": \"#rLu2q\",\n        \"language_selector_font_color\": \"#YpZW\",\n        \"logo_image_url\": \"http://mcgjoMIQibJYdSOUQ.qsfppQEOXs5WnRHnLb5YPCV.hXNfztnI2gNjzkOCkkRbDWuz,zNeRMRR4LbyU\",\n        \"background_image_url\": \"http://ZAkEWXxPHcPusF.wkFKTmjxlD3xMsZFxOrnBiJQgfv0dWZaEyBXFEG3HEO1XN63gekwn0D5MrT5sIbWrT1Ow1A\"\n      },\n      \"payment_method_order\": [\n        \"string\",\n        \"string\"\n      ]\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"04c0ebc3-b86c-45d9-a935-dc836b6c63b6","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","projects",":project_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"project_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"DELETE","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2e627a89-e8f1-46a3-8561-ca4d478d9973","name":"The object doesn't exist.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","projects",":project_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"project_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"baa3966a-2e45-4012-861c-1aa93bff0972","name":"Get the payment method settings of a project","request":{"name":"Get the payment method settings of a project","description":{},"url":{"path":["v1","admin","merchants",":merchant_id","projects",":project_id","settings",":payment_method",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"}},{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"project_id","disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"}},{"type":"any","value":"string","key":"payment_method","disabled":false,"description":{"content":"(Required) The payment method, such as `credit-card`, `apple-pay`, `google-pay`, `bancontact`, `swish` or `vipps-mobilepay`.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"82c24304-bf3d-403e-b294-aa41fa32095e","name":"The settings of the payment method.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","projects",":project_id","settings",":payment_method",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The payment method, such as `credit-card`, `apple-pay`, `google-pay`, `bancontact`, `swish` or `vipps-mobilepay`.","type":"text/plain"},"type":"any","value":"string","key":"payment_method"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"enabled_by_merchant\": false,\n  \"disabled_brands\": [\n    \"maestro\",\n    \"maestro\"\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fddbd4a8-c374-40c8-8d36-377ddfcd3db3","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","projects",":project_id","settings",":payment_method",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The payment method, such as `credit-card`, `apple-pay`, `google-pay`, `bancontact`, `swish` or `vipps-mobilepay`.","type":"text/plain"},"type":"any","value":"string","key":"payment_method"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8ca3c29f-ce69-4988-9037-ac773913cb03","name":"The object doesn't exist.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","projects",":project_id","settings",":payment_method",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The payment method, such as `credit-card`, `apple-pay`, `google-pay`, `bancontact`, `swish` or `vipps-mobilepay`.","type":"text/plain"},"type":"any","value":"string","key":"payment_method"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c0362e08-f429-4263-880b-f511b6cf1393","name":"Update the payment method settings of a project","request":{"name":"Update the payment method settings of a project","description":{"content":"Switches a payment method on or off for the project, and for cards, disables brands the contract allows.","type":"text/plain"},"url":{"path":["v1","admin","merchants",":merchant_id","projects",":project_id","settings",":payment_method",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"}},{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"project_id","disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"}},{"type":"any","value":"string","key":"payment_method","disabled":false,"description":{"content":"(Required) The payment method, such as `credit-card`, `apple-pay`, `google-pay`, `bancontact`, `swish` or `vipps-mobilepay`.","type":"text/plain"}}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"enabled_by_merchant\": true,\n  \"disabled_brands\": [\n    \"maestro\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"e06c7796-6554-4c62-807e-144094bf9068","name":"The settings of the payment method.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","projects",":project_id","settings",":payment_method",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The payment method, such as `credit-card`, `apple-pay`, `google-pay`, `bancontact`, `swish` or `vipps-mobilepay`.","type":"text/plain"},"type":"any","value":"string","key":"payment_method"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"enabled_by_merchant\": true,\n  \"disabled_brands\": [\n    \"maestro\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"enabled_by_merchant\": false,\n  \"disabled_brands\": [\n    \"maestro\",\n    \"maestro\"\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b0b3f24f-051c-4a77-b872-47e9b38396ba","name":"The request doesn't match the schema. `property_path` names the field.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","projects",":project_id","settings",":payment_method",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The payment method, such as `credit-card`, `apple-pay`, `google-pay`, `bancontact`, `swish` or `vipps-mobilepay`.","type":"text/plain"},"type":"any","value":"string","key":"payment_method"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"enabled_by_merchant\": true,\n  \"disabled_brands\": [\n    \"maestro\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"42e7541f-b8b7-4e27-8ad0-2c6e7869dce4","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","projects",":project_id","settings",":payment_method",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The payment method, such as `credit-card`, `apple-pay`, `google-pay`, `bancontact`, `swish` or `vipps-mobilepay`.","type":"text/plain"},"type":"any","value":"string","key":"payment_method"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"enabled_by_merchant\": true,\n  \"disabled_brands\": [\n    \"maestro\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]},{"name":"Contracts","description":"The processor terms of a payment method, on a merchant or a project. See [Processor contracts](https://platform-preview.dev.gingerpayments.com/merchants/contracts).","item":[{"id":"b4bf6cfa-c1f7-4174-91f0-ffdb03c6ceb0","name":"Get a merchant contract","request":{"name":"Get a merchant contract","description":{"content":"Returns the fields of the contract.","type":"text/plain"},"url":{"path":["v1","admin","merchants",":merchant_id","contracts",":contract",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"}},{"type":"any","value":"string","key":"contract","disabled":false,"description":{"content":"(Required) The contract type, such as `credit-card` or `_main`.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"4bfad010-63f0-4e96-9f64-5a31a15cf3d5","name":"The fields of the contract.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","contracts",":contract",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The contract type, such as `credit-card` or `_main`.","type":"text/plain"},"type":"any","value":"string","key":"contract"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"one_click_enabled\": false,\n  \"recurring_enabled\": false,\n  \"gateway\": \"string\",\n  \"credit_limit\": 3585,\n  \"begin_date\": \"string\",\n  \"end_date\": \"string\",\n  \"funding_delay\": 8229\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"489b1209-4f4d-49f7-9ea1-544bbe794f88","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","contracts",":contract",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The contract type, such as `credit-card` or `_main`.","type":"text/plain"},"type":"any","value":"string","key":"contract"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fc12aa87-565e-4965-991e-e8c84efcecdf","name":"The object doesn't exist.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","contracts",":contract",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The contract type, such as `credit-card` or `_main`.","type":"text/plain"},"type":"any","value":"string","key":"contract"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"53c5da9d-fe65-4994-ace6-b5d2728433d2","name":"Update a merchant contract","request":{"name":"Update a merchant contract","description":{"content":"Merges the fields you send into the contract, and creates the contract when it doesn't exist. The merchant's\n`credit-card` contract switches on one-click and recurring payments for all card payment methods of the merchant.\n","type":"text/plain"},"url":{"path":["v1","admin","merchants",":merchant_id","contracts",":contract",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"}},{"type":"any","value":"string","key":"contract","disabled":false,"description":{"content":"(Required) The contract type, such as `credit-card` or `_main`.","type":"text/plain"}}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"one_click_enabled\": true,\n  \"recurring_enabled\": true\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"affb66f9-5eab-4481-b491-f994e9872253","name":"The fields of the contract.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","contracts",":contract",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The contract type, such as `credit-card` or `_main`.","type":"text/plain"},"type":"any","value":"string","key":"contract"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"one_click_enabled\": true,\n  \"recurring_enabled\": true\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"one_click_enabled\": false,\n  \"recurring_enabled\": false,\n  \"gateway\": \"string\",\n  \"credit_limit\": 3585,\n  \"begin_date\": \"string\",\n  \"end_date\": \"string\",\n  \"funding_delay\": 8229\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cd9bd0d9-c341-42c0-955c-d57382dcd263","name":"The request doesn't match the schema. `property_path` names the field.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","contracts",":contract",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The contract type, such as `credit-card` or `_main`.","type":"text/plain"},"type":"any","value":"string","key":"contract"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"one_click_enabled\": true,\n  \"recurring_enabled\": true\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a0f75646-39af-4dd5-a55b-026a9380f8ea","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","contracts",":contract",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The contract type, such as `credit-card` or `_main`.","type":"text/plain"},"type":"any","value":"string","key":"contract"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"one_click_enabled\": true,\n  \"recurring_enabled\": true\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"15542d6f-312b-444a-9f13-c816f053cf3d","name":"Get a project contract","request":{"name":"Get a project contract","description":{"content":"Returns the fields of the contract.","type":"text/plain"},"url":{"path":["v1","admin","merchants",":merchant_id","projects",":project_id","contracts",":contract",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"}},{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"project_id","disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"}},{"type":"any","value":"string","key":"contract","disabled":false,"description":{"content":"(Required) The contract type: `silverflow-v2`, `silverflow-oct`, `ginger-elavon`, `rapyd`, `shift4`, `credit-card`,\n`amex`, `google-pay`, `apple-pay`, `bancontact`, `vipps-mobilepay` or `swish`. See\n[Processor contracts](https://platform-preview.dev.gingerpayments.com/merchants/contracts#contract-types).\n","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"794ca5aa-e168-42dd-84e1-748c0897cad9","name":"The fields of the contract.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","projects",":project_id","contracts",":contract",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The contract type: `silverflow-v2`, `silverflow-oct`, `ginger-elavon`, `rapyd`, `shift4`, `credit-card`,\n`amex`, `google-pay`, `apple-pay`, `bancontact`, `vipps-mobilepay` or `swish`. See\n[Processor contracts](https://platform-preview.dev.gingerpayments.com/merchants/contracts#contract-types).\n","type":"text/plain"},"type":"any","value":"string","key":"contract"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"boarding_mode\": \"acceptors-only\",\n  \"schemes\": {\n    \"visa\": \"\",\n    \"mastercard\": \"\",\n    \"bancontact\": \"\"\n  },\n  \"boarding_status\": \"string\",\n  \"merchant_key\": \"string\",\n  \"currencies\": \"\",\n  \"dynamic_3ds_rules\": \"\",\n  \"begin_date\": \"string\",\n  \"end_date\": \"string\",\n  \"funding_delay\": 3751,\n  \"manual_capture_enabled\": false,\n  \"delayed_capture_enabled\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a4cefc90-34eb-4dd3-8777-32c85f973fd1","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","projects",":project_id","contracts",":contract",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The contract type: `silverflow-v2`, `silverflow-oct`, `ginger-elavon`, `rapyd`, `shift4`, `credit-card`,\n`amex`, `google-pay`, `apple-pay`, `bancontact`, `vipps-mobilepay` or `swish`. See\n[Processor contracts](https://platform-preview.dev.gingerpayments.com/merchants/contracts#contract-types).\n","type":"text/plain"},"type":"any","value":"string","key":"contract"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c264422f-69e8-4076-87a0-9d0438f2dac0","name":"The object doesn't exist.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","projects",":project_id","contracts",":contract",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The contract type: `silverflow-v2`, `silverflow-oct`, `ginger-elavon`, `rapyd`, `shift4`, `credit-card`,\n`amex`, `google-pay`, `apple-pay`, `bancontact`, `vipps-mobilepay` or `swish`. See\n[Processor contracts](https://platform-preview.dev.gingerpayments.com/merchants/contracts#contract-types).\n","type":"text/plain"},"type":"any","value":"string","key":"contract"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"01d93e16-febe-4363-a1de-f53459f25afd","name":"Update a project contract","request":{"name":"Update a project contract","description":{"content":"Merges the fields you send into the contract of the project, and creates the contract when it doesn't exist.\nThe fields depend on the contract type. For `silverflow-v2` and `silverflow-oct` with a `boarding_mode` other\nthan `disabled`, Ginger boards the merchant at Silverflow after the contract is saved, see\n[Silverflow merchant boarding](https://platform-preview.dev.gingerpayments.com/processing/silverflow/merchant-boarding).\n","type":"text/plain"},"url":{"path":["v1","admin","merchants",":merchant_id","projects",":project_id","contracts",":contract",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"}},{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"project_id","disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"}},{"type":"any","value":"string","key":"contract","disabled":false,"description":{"content":"(Required) The contract type: `silverflow-v2`, `silverflow-oct`, `ginger-elavon`, `rapyd`, `shift4`, `credit-card`,\n`amex`, `google-pay`, `apple-pay`, `bancontact`, `vipps-mobilepay` or `swish`. See\n[Processor contracts](https://platform-preview.dev.gingerpayments.com/merchants/contracts#contract-types).\n","type":"text/plain"}}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"boarding_mode\": \"full-merchant\",\n  \"currencies\": [\n    \"EUR\"\n  ],\n  \"schemes\": {\n    \"visa\": {\n      \"charge_type\": \"charge\",\n      \"bin_key\": \"bin-visa-123\",\n      \"mid\": \"MID-VISA-456\"\n    },\n    \"mastercard\": {\n      \"charge_type\": \"charge\",\n      \"bin_key\": \"bin-mc-789\",\n      \"mid\": \"MID-MC-012\"\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"ed58a6d2-edc4-4f55-b96a-260a3ee5d335","name":"The fields of the contract.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","projects",":project_id","contracts",":contract",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The contract type: `silverflow-v2`, `silverflow-oct`, `ginger-elavon`, `rapyd`, `shift4`, `credit-card`,\n`amex`, `google-pay`, `apple-pay`, `bancontact`, `vipps-mobilepay` or `swish`. See\n[Processor contracts](https://platform-preview.dev.gingerpayments.com/merchants/contracts#contract-types).\n","type":"text/plain"},"type":"any","value":"string","key":"contract"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"boarding_mode\": \"full-merchant\",\n  \"currencies\": [\n    \"EUR\"\n  ],\n  \"schemes\": {\n    \"visa\": {\n      \"charge_type\": \"charge\",\n      \"bin_key\": \"bin-visa-123\",\n      \"mid\": \"MID-VISA-456\"\n    },\n    \"mastercard\": {\n      \"charge_type\": \"charge\",\n      \"bin_key\": \"bin-mc-789\",\n      \"mid\": \"MID-MC-012\"\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"boarding_mode\": \"acceptors-only\",\n  \"schemes\": {\n    \"visa\": \"\",\n    \"mastercard\": \"\",\n    \"bancontact\": \"\"\n  },\n  \"boarding_status\": \"string\",\n  \"merchant_key\": \"string\",\n  \"currencies\": \"\",\n  \"dynamic_3ds_rules\": \"\",\n  \"begin_date\": \"string\",\n  \"end_date\": \"string\",\n  \"funding_delay\": 3751,\n  \"manual_capture_enabled\": false,\n  \"delayed_capture_enabled\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"990a2417-6b1e-483f-a124-5acb291e2f80","name":"The request doesn't match the schema. `property_path` names the field.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","projects",":project_id","contracts",":contract",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The contract type: `silverflow-v2`, `silverflow-oct`, `ginger-elavon`, `rapyd`, `shift4`, `credit-card`,\n`amex`, `google-pay`, `apple-pay`, `bancontact`, `vipps-mobilepay` or `swish`. See\n[Processor contracts](https://platform-preview.dev.gingerpayments.com/merchants/contracts#contract-types).\n","type":"text/plain"},"type":"any","value":"string","key":"contract"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"boarding_mode\": \"full-merchant\",\n  \"currencies\": [\n    \"EUR\"\n  ],\n  \"schemes\": {\n    \"visa\": {\n      \"charge_type\": \"charge\",\n      \"bin_key\": \"bin-visa-123\",\n      \"mid\": \"MID-VISA-456\"\n    },\n    \"mastercard\": {\n      \"charge_type\": \"charge\",\n      \"bin_key\": \"bin-mc-789\",\n      \"mid\": \"MID-MC-012\"\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3a093f21-19a6-4a1d-bc11-093e7a0231d9","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","projects",":project_id","contracts",":contract",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The contract type: `silverflow-v2`, `silverflow-oct`, `ginger-elavon`, `rapyd`, `shift4`, `credit-card`,\n`amex`, `google-pay`, `apple-pay`, `bancontact`, `vipps-mobilepay` or `swish`. See\n[Processor contracts](https://platform-preview.dev.gingerpayments.com/merchants/contracts#contract-types).\n","type":"text/plain"},"type":"any","value":"string","key":"contract"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"boarding_mode\": \"full-merchant\",\n  \"currencies\": [\n    \"EUR\"\n  ],\n  \"schemes\": {\n    \"visa\": {\n      \"charge_type\": \"charge\",\n      \"bin_key\": \"bin-visa-123\",\n      \"mid\": \"MID-VISA-456\"\n    },\n    \"mastercard\": {\n      \"charge_type\": \"charge\",\n      \"bin_key\": \"bin-mc-789\",\n      \"mid\": \"MID-MC-012\"\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]},{"name":"Hosted payment page","description":"Logo and background images of the hosted payment page. See [Style the hosted payment page](https://platform-preview.dev.gingerpayments.com/merchants/hosted-payment-page).","item":[{"id":"77df7c4b-29e5-4f9c-9743-597b4fc7ac16","name":"Upload a hosted payment page image","request":{"name":"Upload a hosted payment page image","description":{"content":"Uploads the logo or background image of the hosted payment page. Send the image as the body, with the\n`Content-Type` of the image. The URL of the image is stored in `logo_image_url` or `background_image_url` of\nthe style set.\n","type":"text/plain"},"url":{"path":["v1","admin","merchants",":merchant_id","projects",":project_id","hpp-uploads",":image",":preview_or_default",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"}},{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"project_id","disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"}},{"type":"any","value":"background","key":"image","disabled":false,"description":{"content":"(Required) Which image. (This can only be one of logo,background)","type":"text/plain"}},{"type":"any","value":"preview","key":"preview_or_default","disabled":false,"description":{"content":"(Required) The style set, `preview` for the preview page or `default` for the live page. (This can only be one of preview,default)","type":"text/plain"}}]},"header":[{"key":"Content-Type","value":"image/png"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"string"},"auth":null},"response":[{"id":"b512f861-90d1-4141-b892-a60b79367e2d","name":"The image is stored.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","projects",":project_id","hpp-uploads",":image",":preview_or_default",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"project_id"},{"disabled":false,"description":{"content":"(Required) Which image. (This can only be one of logo,background)","type":"text/plain"},"type":"any","value":"background","key":"image"},{"disabled":false,"description":{"content":"(Required) The style set, `preview` for the preview page or `default` for the live page. (This can only be one of preview,default)","type":"text/plain"},"type":"any","value":"preview","key":"preview_or_default"}]},"header":[{"key":"Content-Type","value":"image/png"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"string"}},"status":"Created","code":201,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"deabcc24-a87d-4991-9cef-628b089f3975","name":"The request doesn't match the schema. `property_path` names the field.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","projects",":project_id","hpp-uploads",":image",":preview_or_default",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"project_id"},{"disabled":false,"description":{"content":"(Required) Which image. (This can only be one of logo,background)","type":"text/plain"},"type":"any","value":"background","key":"image"},{"disabled":false,"description":{"content":"(Required) The style set, `preview` for the preview page or `default` for the live page. (This can only be one of preview,default)","type":"text/plain"},"type":"any","value":"preview","key":"preview_or_default"}]},"header":[{"key":"Content-Type","value":"image/png"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"string"}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"79fbf183-d801-4632-99ca-11ecb65bbd69","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","projects",":project_id","hpp-uploads",":image",":preview_or_default",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"project_id"},{"disabled":false,"description":{"content":"(Required) Which image. (This can only be one of logo,background)","type":"text/plain"},"type":"any","value":"background","key":"image"},{"disabled":false,"description":{"content":"(Required) The style set, `preview` for the preview page or `default` for the live page. (This can only be one of preview,default)","type":"text/plain"},"type":"any","value":"preview","key":"preview_or_default"}]},"header":[{"key":"Content-Type","value":"image/png"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"string"}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"87a70026-54df-4af1-b439-798372cf4490","name":"The object doesn't exist.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","projects",":project_id","hpp-uploads",":image",":preview_or_default",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"project_id"},{"disabled":false,"description":{"content":"(Required) Which image. (This can only be one of logo,background)","type":"text/plain"},"type":"any","value":"background","key":"image"},{"disabled":false,"description":{"content":"(Required) The style set, `preview` for the preview page or `default` for the live page. (This can only be one of preview,default)","type":"text/plain"},"type":"any","value":"preview","key":"preview_or_default"}]},"header":[{"key":"Content-Type","value":"image/png"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"string"}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"472e614d-9455-4e59-b351-726721371c5c","name":"Delete a hosted payment page image","request":{"name":"Delete a hosted payment page image","description":{},"url":{"path":["v1","admin","merchants",":merchant_id","projects",":project_id","hpp-uploads",":image",":preview_or_default",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"}},{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"project_id","disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"}},{"type":"any","value":"background","key":"image","disabled":false,"description":{"content":"(Required) Which image. (This can only be one of logo,background)","type":"text/plain"}},{"type":"any","value":"preview","key":"preview_or_default","disabled":false,"description":{"content":"(Required) The style set, `preview` for the preview page or `default` for the live page. (This can only be one of preview,default)","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{},"auth":null},"response":[{"id":"b03e9755-3625-4d0d-b8c9-cc1b17559445","name":"The image is removed.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","projects",":project_id","hpp-uploads",":image",":preview_or_default",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"project_id"},{"disabled":false,"description":{"content":"(Required) Which image. (This can only be one of logo,background)","type":"text/plain"},"type":"any","value":"background","key":"image"},{"disabled":false,"description":{"content":"(Required) The style set, `preview` for the preview page or `default` for the live page. (This can only be one of preview,default)","type":"text/plain"},"type":"any","value":"preview","key":"preview_or_default"}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"118c4be5-4342-4e9f-93f4-93de6e8775d6","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","merchants",":merchant_id","projects",":project_id","hpp-uploads",":image",":preview_or_default",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"project_id"},{"disabled":false,"description":{"content":"(Required) Which image. (This can only be one of logo,background)","type":"text/plain"},"type":"any","value":"background","key":"image"},{"disabled":false,"description":{"content":"(Required) The style set, `preview` for the preview page or `default` for the live page. (This can only be one of preview,default)","type":"text/plain"},"type":"any","value":"preview","key":"preview_or_default"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"DELETE","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]},{"name":"Payouts","description":"Payout entities of Ginger Payout. See [Payouts and fees](https://platform-preview.dev.gingerpayments.com/merchants/payouts-and-fees).","item":[{"id":"ffe26bd4-ff43-4b04-9f82-d6b9dbfbdde6","name":"Create a payout entity","request":{"name":"Create a payout entity","description":{"content":"Creates a payout entity with its schedule, price plan and, optionally, bank account in one request. Leave\n`project_id` out or `null` for a merchant-scoped entity. A merchant has either one merchant-scoped entity or\nproject-scoped entities, never both: mixing them returns `409`.\n","type":"text/plain"},"url":{"path":["v1","admin","payouts","payout-entities",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"merchant_id\": \"b8a1c2d4-1234-4c5d-9e8f-0123456789ab\",\n  \"project_id\": null,\n  \"payout_settings\": {\n    \"frequency\": \"weekly\",\n    \"day\": 1,\n    \"delay_days\": 2,\n    \"cutoff_time\": \"23:59\",\n    \"cutoff_timezone\": \"Europe/Amsterdam\"\n  },\n  \"price_plan\": {\n    \"fees\": [\n      {\n        \"type\": \"blended_fee\",\n        \"name\": \"Card payments\",\n        \"currency\": \"EUR\",\n        \"transaction_types\": [\n          \"sale\",\n          \"capture\"\n        ],\n        \"outcomes\": [\n          \"accepted\"\n        ],\n        \"rate_percentage\": \"1.50\",\n        \"flat_amount\": 10\n      },\n      {\n        \"type\": \"recurring_fee\",\n        \"name\": \"Monthly fee\",\n        \"currency\": \"EUR\",\n        \"interval\": \"monthly\",\n        \"amount\": 995\n      },\n      {\n        \"type\": \"chargeback_tier_fee\",\n        \"name\": \"Visa chargebacks\",\n        \"currency\": \"EUR\",\n        \"card_scheme\": \"visa\",\n        \"interval\": \"monthly\",\n        \"bands\": [\n          {\n            \"from_percentage\": \"0.00\",\n            \"to_percentage\": \"1.00\",\n            \"amount\": 0\n          },\n          {\n            \"from_percentage\": \"1.00\",\n            \"to_percentage\": null,\n            \"amount\": 5000\n          }\n        ]\n      },\n      {\n        \"type\": \"rolling_reserve\",\n        \"name\": \"Rolling reserve\",\n        \"currency\": \"EUR\",\n        \"rate_percentage\": \"5.00\",\n        \"hold_days\": 90\n      }\n    ]\n  },\n  \"account_details\": {\n    \"account_holder\": \"Acme Coffee B.V.\",\n    \"iban\": \"NL00BANK1234567890\",\n    \"bic\": \"BANKNL2A\",\n    \"description\": \"Acme Coffee payout\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"f1908c09-9f2f-4051-a84f-c6556da74346","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","payouts","payout-entities",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"merchant_id\": \"b8a1c2d4-1234-4c5d-9e8f-0123456789ab\",\n  \"project_id\": null,\n  \"payout_settings\": {\n    \"frequency\": \"weekly\",\n    \"day\": 1,\n    \"delay_days\": 2,\n    \"cutoff_time\": \"23:59\",\n    \"cutoff_timezone\": \"Europe/Amsterdam\"\n  },\n  \"price_plan\": {\n    \"fees\": [\n      {\n        \"type\": \"blended_fee\",\n        \"name\": \"Card payments\",\n        \"currency\": \"EUR\",\n        \"transaction_types\": [\n          \"sale\",\n          \"capture\"\n        ],\n        \"outcomes\": [\n          \"accepted\"\n        ],\n        \"rate_percentage\": \"1.50\",\n        \"flat_amount\": 10\n      },\n      {\n        \"type\": \"recurring_fee\",\n        \"name\": \"Monthly fee\",\n        \"currency\": \"EUR\",\n        \"interval\": \"monthly\",\n        \"amount\": 995\n      },\n      {\n        \"type\": \"chargeback_tier_fee\",\n        \"name\": \"Visa chargebacks\",\n        \"currency\": \"EUR\",\n        \"card_scheme\": \"visa\",\n        \"interval\": \"monthly\",\n        \"bands\": [\n          {\n            \"from_percentage\": \"0.00\",\n            \"to_percentage\": \"1.00\",\n            \"amount\": 0\n          },\n          {\n            \"from_percentage\": \"1.00\",\n            \"to_percentage\": null,\n            \"amount\": 5000\n          }\n        ]\n      },\n      {\n        \"type\": \"rolling_reserve\",\n        \"name\": \"Rolling reserve\",\n        \"currency\": \"EUR\",\n        \"rate_percentage\": \"5.00\",\n        \"hold_days\": 90\n      }\n    ]\n  },\n  \"account_details\": {\n    \"account_holder\": \"Acme Coffee B.V.\",\n    \"iban\": \"NL00BANK1234567890\",\n    \"bic\": \"BANKNL2A\",\n    \"description\": \"Acme Coffee payout\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8e315163-7165-4f6a-a27f-2f6c6fe2a370","name":"The merchant already has payout entities of the other scope.","originalRequest":{"url":{"path":["v1","admin","payouts","payout-entities",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"merchant_id\": \"b8a1c2d4-1234-4c5d-9e8f-0123456789ab\",\n  \"project_id\": null,\n  \"payout_settings\": {\n    \"frequency\": \"weekly\",\n    \"day\": 1,\n    \"delay_days\": 2,\n    \"cutoff_time\": \"23:59\",\n    \"cutoff_timezone\": \"Europe/Amsterdam\"\n  },\n  \"price_plan\": {\n    \"fees\": [\n      {\n        \"type\": \"blended_fee\",\n        \"name\": \"Card payments\",\n        \"currency\": \"EUR\",\n        \"transaction_types\": [\n          \"sale\",\n          \"capture\"\n        ],\n        \"outcomes\": [\n          \"accepted\"\n        ],\n        \"rate_percentage\": \"1.50\",\n        \"flat_amount\": 10\n      },\n      {\n        \"type\": \"recurring_fee\",\n        \"name\": \"Monthly fee\",\n        \"currency\": \"EUR\",\n        \"interval\": \"monthly\",\n        \"amount\": 995\n      },\n      {\n        \"type\": \"chargeback_tier_fee\",\n        \"name\": \"Visa chargebacks\",\n        \"currency\": \"EUR\",\n        \"card_scheme\": \"visa\",\n        \"interval\": \"monthly\",\n        \"bands\": [\n          {\n            \"from_percentage\": \"0.00\",\n            \"to_percentage\": \"1.00\",\n            \"amount\": 0\n          },\n          {\n            \"from_percentage\": \"1.00\",\n            \"to_percentage\": null,\n            \"amount\": 5000\n          }\n        ]\n      },\n      {\n        \"type\": \"rolling_reserve\",\n        \"name\": \"Rolling reserve\",\n        \"currency\": \"EUR\",\n        \"rate_percentage\": \"5.00\",\n        \"hold_days\": 90\n      }\n    ]\n  },\n  \"account_details\": {\n    \"account_holder\": \"Acme Coffee B.V.\",\n    \"iban\": \"NL00BANK1234567890\",\n    \"bic\": \"BANKNL2A\",\n    \"description\": \"Acme Coffee payout\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Conflict","code":409,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"7b88aebd-fb3b-4f4d-aad9-df984b91e97b","name":"The payout service rejected the request, for example a malformed price plan or an invalid IBAN.","originalRequest":{"url":{"path":["v1","admin","payouts","payout-entities",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"merchant_id\": \"b8a1c2d4-1234-4c5d-9e8f-0123456789ab\",\n  \"project_id\": null,\n  \"payout_settings\": {\n    \"frequency\": \"weekly\",\n    \"day\": 1,\n    \"delay_days\": 2,\n    \"cutoff_time\": \"23:59\",\n    \"cutoff_timezone\": \"Europe/Amsterdam\"\n  },\n  \"price_plan\": {\n    \"fees\": [\n      {\n        \"type\": \"blended_fee\",\n        \"name\": \"Card payments\",\n        \"currency\": \"EUR\",\n        \"transaction_types\": [\n          \"sale\",\n          \"capture\"\n        ],\n        \"outcomes\": [\n          \"accepted\"\n        ],\n        \"rate_percentage\": \"1.50\",\n        \"flat_amount\": 10\n      },\n      {\n        \"type\": \"recurring_fee\",\n        \"name\": \"Monthly fee\",\n        \"currency\": \"EUR\",\n        \"interval\": \"monthly\",\n        \"amount\": 995\n      },\n      {\n        \"type\": \"chargeback_tier_fee\",\n        \"name\": \"Visa chargebacks\",\n        \"currency\": \"EUR\",\n        \"card_scheme\": \"visa\",\n        \"interval\": \"monthly\",\n        \"bands\": [\n          {\n            \"from_percentage\": \"0.00\",\n            \"to_percentage\": \"1.00\",\n            \"amount\": 0\n          },\n          {\n            \"from_percentage\": \"1.00\",\n            \"to_percentage\": null,\n            \"amount\": 5000\n          }\n        ]\n      },\n      {\n        \"type\": \"rolling_reserve\",\n        \"name\": \"Rolling reserve\",\n        \"currency\": \"EUR\",\n        \"rate_percentage\": \"5.00\",\n        \"hold_days\": 90\n      }\n    ]\n  },\n  \"account_details\": {\n    \"account_holder\": \"Acme Coffee B.V.\",\n    \"iban\": \"NL00BANK1234567890\",\n    \"bic\": \"BANKNL2A\",\n    \"description\": \"Acme Coffee payout\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"d41cd11b-0338-4ef2-8515-cea8b71e69a0","name":"The payout entity is created.","originalRequest":{"url":{"path":["v1","admin","payouts","payout-entities",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"merchant_id\": \"b8a1c2d4-1234-4c5d-9e8f-0123456789ab\",\n  \"project_id\": null,\n  \"payout_settings\": {\n    \"frequency\": \"weekly\",\n    \"day\": 1,\n    \"delay_days\": 2,\n    \"cutoff_time\": \"23:59\",\n    \"cutoff_timezone\": \"Europe/Amsterdam\"\n  },\n  \"price_plan\": {\n    \"fees\": [\n      {\n        \"type\": \"blended_fee\",\n        \"name\": \"Card payments\",\n        \"currency\": \"EUR\",\n        \"transaction_types\": [\n          \"sale\",\n          \"capture\"\n        ],\n        \"outcomes\": [\n          \"accepted\"\n        ],\n        \"rate_percentage\": \"1.50\",\n        \"flat_amount\": 10\n      },\n      {\n        \"type\": \"recurring_fee\",\n        \"name\": \"Monthly fee\",\n        \"currency\": \"EUR\",\n        \"interval\": \"monthly\",\n        \"amount\": 995\n      },\n      {\n        \"type\": \"chargeback_tier_fee\",\n        \"name\": \"Visa chargebacks\",\n        \"currency\": \"EUR\",\n        \"card_scheme\": \"visa\",\n        \"interval\": \"monthly\",\n        \"bands\": [\n          {\n            \"from_percentage\": \"0.00\",\n            \"to_percentage\": \"1.00\",\n            \"amount\": 0\n          },\n          {\n            \"from_percentage\": \"1.00\",\n            \"to_percentage\": null,\n            \"amount\": 5000\n          }\n        ]\n      },\n      {\n        \"type\": \"rolling_reserve\",\n        \"name\": \"Rolling reserve\",\n        \"currency\": \"EUR\",\n        \"rate_percentage\": \"5.00\",\n        \"hold_days\": 90\n      }\n    ]\n  },\n  \"account_details\": {\n    \"account_holder\": \"Acme Coffee B.V.\",\n    \"iban\": \"NL00BANK1234567890\",\n    \"bic\": \"BANKNL2A\",\n    \"description\": \"Acme Coffee payout\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"42a34e4a-94f9-4f42-acc0-c6d5763d3be6","name":"List the payout entities of a merchant","request":{"name":"List the payout entities of a merchant","description":{},"url":{"path":["v1","admin","payouts","merchants",":merchant_id","payout-entities",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"520dc917-fd1d-416c-b9ab-fcfe75cbbe16","name":"The payout entities of the merchant, in `data`.","originalRequest":{"url":{"path":["v1","admin","payouts","merchants",":merchant_id","payout-entities",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2b7ca15b-920a-4c4e-8d66-d03376933ec7","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","payouts","merchants",":merchant_id","payout-entities",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"merchant_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"e9825a9c-ebbb-4aed-9f50-1fff24a07877","name":"Get a payout entity","request":{"name":"Get a payout entity","description":{},"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id","disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"d37e50c4-4294-4330-9bc0-943da3b33622","name":"The payout entity, with its current schedule, bank account and price plan.","originalRequest":{"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4a42e839-33ed-48cc-945a-099f45255afc","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f3d05d11-31b0-4141-ae3b-781535a7861a","name":"The object doesn't exist.","originalRequest":{"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"3d37b000-5df6-4384-8106-8fb63d35cbbd","name":"Pause or resume payouts","request":{"name":"Pause or resume payouts","description":{"content":"Set `inactive` to pause payouts and `active` to resume them. Activating checks that the merchant and project are active.","type":"text/plain"},"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","status",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id","disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"}}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"status\": \"inactive\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"c14d5069-59b6-41a1-ae84-a15ace7cfb6d","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","status",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"status\": \"inactive\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"15e9504e-435b-4185-99c4-402847b2ed6f","name":"The payout entity already has this status.","originalRequest":{"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","status",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"status\": \"inactive\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Conflict","code":409,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"90a7ad13-93b7-4cf8-8810-6d4e7acbc4b4","name":"The payout service rejected the request, for example a malformed price plan or an invalid IBAN.","originalRequest":{"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","status",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"status\": \"inactive\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"96b080f6-2e66-4e2d-82b0-b04ab8795e05","name":"The status is changed.","originalRequest":{"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","status",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"status\": \"inactive\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"4a24829c-4f09-4bf0-83d9-7292944e343f","name":"Update the payout schedule","request":{"name":"Update the payout schedule","description":{"content":"Creates a new version of the schedule. The next payout uses it.","type":"text/plain"},"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","payout-settings",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id","disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"}}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"frequency\": \"monthly\",\n  \"day\": 1,\n  \"delay_days\": 7,\n  \"cutoff_time\": \"23:59\",\n  \"cutoff_timezone\": \"Europe/Amsterdam\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"caa12780-5463-4921-b95e-8ca0b5132f4f","name":"The new version of the schedule.","originalRequest":{"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","payout-settings",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"frequency\": \"monthly\",\n  \"day\": 1,\n  \"delay_days\": 7,\n  \"cutoff_time\": \"23:59\",\n  \"cutoff_timezone\": \"Europe/Amsterdam\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Created","code":201,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"c45a6ae5-8c75-4380-a440-fa69e0e5644b","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","payout-settings",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"frequency\": \"monthly\",\n  \"day\": 1,\n  \"delay_days\": 7,\n  \"cutoff_time\": \"23:59\",\n  \"cutoff_timezone\": \"Europe/Amsterdam\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0f627f4e-b177-4df7-b0e3-47dcea1a7bd6","name":"The payout service rejected the request, for example a malformed price plan or an invalid IBAN.","originalRequest":{"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","payout-settings",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"frequency\": \"monthly\",\n  \"day\": 1,\n  \"delay_days\": 7,\n  \"cutoff_time\": \"23:59\",\n  \"cutoff_timezone\": \"Europe/Amsterdam\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c57c6fd6-c00e-4770-bc52-9c1021918c44","name":"Update the price plan","request":{"name":"Update the price plan","description":{"content":"Creates a new version of the price plan with the fees you send. Send the complete list; an empty list is a plan without fees.","type":"text/plain"},"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","price-plan",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id","disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"}}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"fees\": [\n    {\n      \"type\": \"ic_plus_plus\",\n      \"name\": \"Card markup\",\n      \"currency\": \"EUR\",\n      \"transaction_types\": [\n        \"sale\",\n        \"capture\"\n      ],\n      \"outcomes\": [\n        \"accepted\"\n      ],\n      \"amount\": 5,\n      \"rate_percentage\": \"0.20\"\n    },\n    {\n      \"type\": \"chargeback_tier_fee\",\n      \"name\": \"Visa chargebacks\",\n      \"currency\": \"EUR\",\n      \"card_scheme\": \"visa\",\n      \"interval\": \"monthly\",\n      \"bands\": [\n        {\n          \"from_percentage\": \"0.00\",\n          \"to_percentage\": \"1.00\",\n          \"amount\": 0\n        },\n        {\n          \"from_percentage\": \"1.00\",\n          \"to_percentage\": null,\n          \"amount\": 5000\n        }\n      ]\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"36db8104-9225-479a-9d15-058296cebf54","name":"The new version of the price plan.","originalRequest":{"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","price-plan",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"fees\": [\n    {\n      \"type\": \"ic_plus_plus\",\n      \"name\": \"Card markup\",\n      \"currency\": \"EUR\",\n      \"transaction_types\": [\n        \"sale\",\n        \"capture\"\n      ],\n      \"outcomes\": [\n        \"accepted\"\n      ],\n      \"amount\": 5,\n      \"rate_percentage\": \"0.20\"\n    },\n    {\n      \"type\": \"chargeback_tier_fee\",\n      \"name\": \"Visa chargebacks\",\n      \"currency\": \"EUR\",\n      \"card_scheme\": \"visa\",\n      \"interval\": \"monthly\",\n      \"bands\": [\n        {\n          \"from_percentage\": \"0.00\",\n          \"to_percentage\": \"1.00\",\n          \"amount\": 0\n        },\n        {\n          \"from_percentage\": \"1.00\",\n          \"to_percentage\": null,\n          \"amount\": 5000\n        }\n      ]\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Created","code":201,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"16a9fe5e-5d0c-4534-90fb-86fd444fed55","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","price-plan",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"fees\": [\n    {\n      \"type\": \"ic_plus_plus\",\n      \"name\": \"Card markup\",\n      \"currency\": \"EUR\",\n      \"transaction_types\": [\n        \"sale\",\n        \"capture\"\n      ],\n      \"outcomes\": [\n        \"accepted\"\n      ],\n      \"amount\": 5,\n      \"rate_percentage\": \"0.20\"\n    },\n    {\n      \"type\": \"chargeback_tier_fee\",\n      \"name\": \"Visa chargebacks\",\n      \"currency\": \"EUR\",\n      \"card_scheme\": \"visa\",\n      \"interval\": \"monthly\",\n      \"bands\": [\n        {\n          \"from_percentage\": \"0.00\",\n          \"to_percentage\": \"1.00\",\n          \"amount\": 0\n        },\n        {\n          \"from_percentage\": \"1.00\",\n          \"to_percentage\": null,\n          \"amount\": 5000\n        }\n      ]\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a45a9854-83c3-457d-8ec7-7a34564819c1","name":"The payout service rejected the request, for example a malformed price plan or an invalid IBAN.","originalRequest":{"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","price-plan",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"fees\": [\n    {\n      \"type\": \"ic_plus_plus\",\n      \"name\": \"Card markup\",\n      \"currency\": \"EUR\",\n      \"transaction_types\": [\n        \"sale\",\n        \"capture\"\n      ],\n      \"outcomes\": [\n        \"accepted\"\n      ],\n      \"amount\": 5,\n      \"rate_percentage\": \"0.20\"\n    },\n    {\n      \"type\": \"chargeback_tier_fee\",\n      \"name\": \"Visa chargebacks\",\n      \"currency\": \"EUR\",\n      \"card_scheme\": \"visa\",\n      \"interval\": \"monthly\",\n      \"bands\": [\n        {\n          \"from_percentage\": \"0.00\",\n          \"to_percentage\": \"1.00\",\n          \"amount\": 0\n        },\n        {\n          \"from_percentage\": \"1.00\",\n          \"to_percentage\": null,\n          \"amount\": 5000\n        }\n      ]\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"6b1175ab-1217-4d19-8b53-06c2c3af042f","name":"Update the bank account","request":{"name":"Update the bank account","description":{"content":"Creates a new version of the bank account. Payouts already in transfer keep the account that was active when their batch settled.","type":"text/plain"},"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","account",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id","disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"}}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"account_holder\": \"Acme Coffee B.V.\",\n  \"iban\": \"NL00BANK1234567890\",\n  \"bic\": \"BANKNL2A\",\n  \"description\": \"Acme Coffee payout\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"62e10168-2dbe-4780-8e03-5c18443c3bf0","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","account",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"account_holder\": \"Acme Coffee B.V.\",\n  \"iban\": \"NL00BANK1234567890\",\n  \"bic\": \"BANKNL2A\",\n  \"description\": \"Acme Coffee payout\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"abff4fa9-930e-451e-b36f-d6729d01e69e","name":"The payout service rejected the request, for example a malformed price plan or an invalid IBAN.","originalRequest":{"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","account",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"account_holder\": \"Acme Coffee B.V.\",\n  \"iban\": \"NL00BANK1234567890\",\n  \"bic\": \"BANKNL2A\",\n  \"description\": \"Acme Coffee payout\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"5e8d09c9-3147-4ca1-b024-b5229ae2e0f5","name":"The new version of the bank account.","originalRequest":{"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","account",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"account_holder\": \"Acme Coffee B.V.\",\n  \"iban\": \"NL00BANK1234567890\",\n  \"bic\": \"BANKNL2A\",\n  \"description\": \"Acme Coffee payout\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"a4bfa6a4-a09b-4b19-9dc1-c54fa0a7e4dc","name":"Delete the bank account","request":{"name":"Delete the bank account","description":{"content":"Removes the bank account. Payouts are held until you add a new account.","type":"text/plain"},"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","account",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id","disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{},"auth":null},"response":[{"id":"6ddbd59f-a400-44d7-8b08-a5dd1669e2ce","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","account",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"DELETE","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4568ddce-02b6-4756-af30-743fbb79f6aa","name":"The object doesn't exist.","originalRequest":{"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","account",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9285cb96-43bc-47f7-9237-3e804fd325d5","name":"The bank account is removed.","originalRequest":{"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","account",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id"}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"DELETE","body":{}},"status":"OK","code":200,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"bfd5d79f-8d41-4f4c-9e20-3042733c8acc","name":"List the adjustments of a payout entity","request":{"name":"List the adjustments of a payout entity","description":{},"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","adjustments",""],"host":["{{baseUrl}}"],"query":[{"disabled":true,"description":{"content":"The maximum number of items to return.","type":"text/plain"},"key":"limit","value":"8303"},{"disabled":true,"description":{"content":"The cursor of the next page, from `next_cursor` of the previous response.","type":"text/plain"},"key":"cursor","value":"string"}],"variable":[{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id","disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"787421b9-7281-4a0e-a508-e8c7a126f931","name":"The adjustments.","originalRequest":{"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","adjustments",""],"host":["{{baseUrl}}"],"query":[{"disabled":true,"description":{"content":"The maximum number of items to return.","type":"text/plain"},"key":"limit","value":"8303"},{"disabled":true,"description":{"content":"The cursor of the next page, from `next_cursor` of the previous response.","type":"text/plain"},"key":"cursor","value":"string"}],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id"}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"fe4538de-d54f-4ec1-82c3-8b4da9c00d1a","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","adjustments",""],"host":["{{baseUrl}}"],"query":[{"disabled":true,"description":{"content":"The maximum number of items to return.","type":"text/plain"},"key":"limit","value":"8303"},{"disabled":true,"description":{"content":"The cursor of the next page, from `next_cursor` of the previous response.","type":"text/plain"},"key":"cursor","value":"string"}],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"45b47a48-25b1-4791-9352-c60790b9fd8a","name":"The payout service rejected the request, for example a malformed price plan or an invalid IBAN.","originalRequest":{"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","adjustments",""],"host":["{{baseUrl}}"],"query":[{"disabled":true,"description":{"content":"The maximum number of items to return.","type":"text/plain"},"key":"limit","value":"8303"},{"disabled":true,"description":{"content":"The cursor of the next page, from `next_cursor` of the previous response.","type":"text/plain"},"key":"cursor","value":"string"}],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id"}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"1e75db44-62e9-4470-a1df-35901731f5e0","name":"Create an adjustment","request":{"name":"Create an adjustment","description":{"content":"Adds a credit (positive amount) or a debit (negative amount) to the next payout. The adjustment is `pending` until a payout applies it.","type":"text/plain"},"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","adjustments",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id","disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"}}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": -1250,\n  \"currency\": \"EUR\",\n  \"description\": \"Correction of the October fees\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"3123ea96-5955-4b76-93bd-9388d04470d9","name":"The adjustment is created.","originalRequest":{"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","adjustments",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": -1250,\n  \"currency\": \"EUR\",\n  \"description\": \"Correction of the October fees\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Created","code":201,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"df7d478d-79a8-40d1-8dc6-23095a12fab3","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","adjustments",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": -1250,\n  \"currency\": \"EUR\",\n  \"description\": \"Correction of the October fees\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ec6dbe69-8fbe-475e-af61-34a9634796bc","name":"The payout service rejected the request, for example a malformed price plan or an invalid IBAN.","originalRequest":{"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","adjustments",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": -1250,\n  \"currency\": \"EUR\",\n  \"description\": \"Correction of the October fees\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"19f46104-4641-4e99-8bb9-23e018982336","name":"Delete an adjustment","request":{"name":"Delete an adjustment","description":{"content":"Deletes a pending adjustment. An adjustment that a payout already applied can't be deleted.","type":"text/plain"},"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","adjustments",":adjustment_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id","disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"}},{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"adjustment_id","disabled":false,"description":{"content":"(Required) The ID of the adjustment.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{},"auth":null},"response":[{"id":"4b277e93-51b5-4c7b-93b8-f2f10e7ec8d1","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","adjustments",":adjustment_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id"},{"disabled":false,"description":{"content":"(Required) The ID of the adjustment.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"adjustment_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"DELETE","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7967d5d4-3985-4d67-a937-43d4a8cf5f5b","name":"The adjustment is already applied.","originalRequest":{"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","adjustments",":adjustment_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id"},{"disabled":false,"description":{"content":"(Required) The ID of the adjustment.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"adjustment_id"}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"DELETE","body":{}},"status":"Conflict","code":409,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"bcd677d3-cb17-4431-9c3b-e29afeafcd3c","name":"The adjustment is deleted.","originalRequest":{"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","adjustments",":adjustment_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id"},{"disabled":false,"description":{"content":"(Required) The ID of the adjustment.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"adjustment_id"}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"DELETE","body":{}},"status":"OK","code":200,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c9a4908f-3958-4255-9b4d-9c61fe1fe7fe","name":"List the rolling reserves of a payout entity","request":{"name":"List the rolling reserves of a payout entity","description":{"content":"The amounts held back by the rolling reserve, with the date they're held and released.","type":"text/plain"},"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","reserves",""],"host":["{{baseUrl}}"],"query":[{"disabled":true,"description":{"content":"The maximum number of items to return.","type":"text/plain"},"key":"limit","value":"8303"},{"disabled":true,"description":{"content":"The cursor of the next page, from `next_cursor` of the previous response.","type":"text/plain"},"key":"cursor","value":"string"}],"variable":[{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id","disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"dce02c66-88ea-451f-89fa-110aa3c22e38","name":"The reserves, in `data`, and the cursor of the next page in `next_cursor`.","originalRequest":{"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","reserves",""],"host":["{{baseUrl}}"],"query":[{"disabled":true,"description":{"content":"The maximum number of items to return.","type":"text/plain"},"key":"limit","value":"8303"},{"disabled":true,"description":{"content":"The cursor of the next page, from `next_cursor` of the previous response.","type":"text/plain"},"key":"cursor","value":"string"}],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"next_cursor\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8027f9e6-e3d3-43a0-8466-2544c8d951ae","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","reserves",""],"host":["{{baseUrl}}"],"query":[{"disabled":true,"description":{"content":"The maximum number of items to return.","type":"text/plain"},"key":"limit","value":"8303"},{"disabled":true,"description":{"content":"The cursor of the next page, from `next_cursor` of the previous response.","type":"text/plain"},"key":"cursor","value":"string"}],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"672b6bfc-383f-4f71-aad7-3c798647ce2e","name":"The payout service rejected the request, for example a malformed price plan or an invalid IBAN.","originalRequest":{"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","reserves",""],"host":["{{baseUrl}}"],"query":[{"disabled":true,"description":{"content":"The maximum number of items to return.","type":"text/plain"},"key":"limit","value":"8303"},{"disabled":true,"description":{"content":"The cursor of the next page, from `next_cursor` of the previous response.","type":"text/plain"},"key":"cursor","value":"string"}],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id"}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"80396e2d-3c24-454c-8d2e-cfc5fed0989d","name":"Get the rolling reserve summary","request":{"name":"Get the rolling reserve summary","description":{"content":"The active holds, the next release and the amount released to date.","type":"text/plain"},"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","reserves","summary",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id","disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"b229263f-06c2-4739-94d7-8edcb0d15bc2","name":"The summary.","originalRequest":{"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","reserves","summary",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id"}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"a50aeb42-a95a-4841-9331-724610bbaf35","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","payouts","payout-entities",":payout_entity_id","reserves","summary",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the payout entity.","type":"text/plain"},"type":"any","value":"de1c9a3e-744a-11d5-0bf5-0834e6630282","key":"payout_entity_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]},{"name":"Platform settings","description":"Platform-wide integrations, such as the fraud prevention providers.","item":[{"id":"f08e81e7-2c8e-46d0-9bd9-6c2fce463f7a","name":"List platform settings","request":{"name":"List platform settings","description":{},"url":{"path":["v1","admin","platform-settings",""],"host":["{{baseUrl}}"],"query":[{"disabled":true,"description":{"content":"Only return settings of this type, such as `risk_and_fraud` or `plugins`.","type":"text/plain"},"key":"setting_type","value":"string"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"ad483d35-34cc-4806-bfa7-d345d0911c3f","name":"The settings. Secrets are masked.","originalRequest":{"url":{"path":["v1","admin","platform-settings",""],"host":["{{baseUrl}}"],"query":[{"disabled":true,"description":{"content":"Only return settings of this type, such as `risk_and_fraud` or `plugins`.","type":"text/plain"},"key":"setting_type","value":"string"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"name\": \"string\",\n    \"type\": \"string\",\n    \"sub_type\": \"string\",\n    \"status\": \"disabled\",\n    \"settings\": {},\n    \"id\": \"string\",\n    \"created\": \"1982-05-02T08:22:33.743Z\",\n    \"modified\": \"2016-09-18T13:26:22.517Z\",\n    \"secrets\": {}\n  },\n  {\n    \"name\": \"string\",\n    \"type\": \"string\",\n    \"sub_type\": \"string\",\n    \"status\": \"disabled\",\n    \"settings\": {},\n    \"id\": \"string\",\n    \"created\": \"2005-03-02T20:44:35.938Z\",\n    \"modified\": \"2017-05-17T18:32:59.061Z\",\n    \"secrets\": {}\n  }\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"ea2b51d3-9271-4e6d-b94d-71372d49b533","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","platform-settings",""],"host":["{{baseUrl}}"],"query":[{"disabled":true,"description":{"content":"Only return settings of this type, such as `risk_and_fraud` or `plugins`.","type":"text/plain"},"key":"setting_type","value":"string"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"668b286a-f9c9-427a-9f93-43977b633414","name":"Create a platform setting","request":{"name":"Create a platform setting","description":{"content":"The `name` must be unique.","type":"text/plain"},"url":{"path":["v1","admin","platform-settings",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"seon\",\n  \"type\": \"risk_and_fraud\",\n  \"sub_type\": \"fraud_prevention\",\n  \"status\": \"enabled\",\n  \"settings\": {\n    \"decline_transaction_if_integration_is_unavailable\": false,\n    \"report_only\": true\n  },\n  \"secrets\": {\n    \"api_key\": \"<your SEON API key>\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"4e672161-08c6-45f0-a34d-c899b068fb01","name":"The setting is created. Secrets are masked.","originalRequest":{"url":{"path":["v1","admin","platform-settings",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"seon\",\n  \"type\": \"risk_and_fraud\",\n  \"sub_type\": \"fraud_prevention\",\n  \"status\": \"enabled\",\n  \"settings\": {\n    \"decline_transaction_if_integration_is_unavailable\": false,\n    \"report_only\": true\n  },\n  \"secrets\": {\n    \"api_key\": \"<your SEON API key>\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"name\": \"string\",\n  \"type\": \"string\",\n  \"sub_type\": \"string\",\n  \"status\": \"always_enabled\",\n  \"settings\": {},\n  \"id\": \"string\",\n  \"created\": \"1999-01-07T06:22:51.471Z\",\n  \"modified\": \"1985-04-13T18:57:10.583Z\",\n  \"secrets\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"938e2484-1bb3-4804-b4fa-dc0e98dc8a45","name":"The request doesn't match the schema. `property_path` names the field.","originalRequest":{"url":{"path":["v1","admin","platform-settings",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"seon\",\n  \"type\": \"risk_and_fraud\",\n  \"sub_type\": \"fraud_prevention\",\n  \"status\": \"enabled\",\n  \"settings\": {\n    \"decline_transaction_if_integration_is_unavailable\": false,\n    \"report_only\": true\n  },\n  \"secrets\": {\n    \"api_key\": \"<your SEON API key>\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b2c66e18-efdb-4c09-82c2-f543a21b610b","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","platform-settings",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"seon\",\n  \"type\": \"risk_and_fraud\",\n  \"sub_type\": \"fraud_prevention\",\n  \"status\": \"enabled\",\n  \"settings\": {\n    \"decline_transaction_if_integration_is_unavailable\": false,\n    \"report_only\": true\n  },\n  \"secrets\": {\n    \"api_key\": \"<your SEON API key>\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"00e23332-0072-47f5-b0c0-a4dac710daa4","name":"A setting with this name already exists.","originalRequest":{"url":{"path":["v1","admin","platform-settings",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"seon\",\n  \"type\": \"risk_and_fraud\",\n  \"sub_type\": \"fraud_prevention\",\n  \"status\": \"enabled\",\n  \"settings\": {\n    \"decline_transaction_if_integration_is_unavailable\": false,\n    \"report_only\": true\n  },\n  \"secrets\": {\n    \"api_key\": \"<your SEON API key>\"\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Conflict","code":409,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"b7c44b9b-c26b-4167-a2f8-d4ead6768236","name":"Get a platform setting","request":{"name":"Get a platform setting","description":{},"url":{"path":["v1","admin","platform-settings",":setting_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"string","key":"setting_id","disabled":false,"description":{"content":"(Required) The ID of the platform setting.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"2645e5c3-f10a-4fc8-8ef2-8eba497dbf9a","name":"The setting. Secrets are masked.","originalRequest":{"url":{"path":["v1","admin","platform-settings",":setting_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the platform setting.","type":"text/plain"},"type":"any","value":"string","key":"setting_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"name\": \"string\",\n  \"type\": \"string\",\n  \"sub_type\": \"string\",\n  \"status\": \"always_enabled\",\n  \"settings\": {},\n  \"id\": \"string\",\n  \"created\": \"1999-01-07T06:22:51.471Z\",\n  \"modified\": \"1985-04-13T18:57:10.583Z\",\n  \"secrets\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4f5ff17b-5e23-43b5-bc8f-f920d3be5cd8","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","platform-settings",":setting_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the platform setting.","type":"text/plain"},"type":"any","value":"string","key":"setting_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"395cd251-0b3d-4404-b580-f6a9490630f2","name":"The object doesn't exist.","originalRequest":{"url":{"path":["v1","admin","platform-settings",":setting_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the platform setting.","type":"text/plain"},"type":"any","value":"string","key":"setting_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"f996e21e-78c0-442b-b88d-9d07cfa7d064","name":"Update a platform setting","request":{"name":"Update a platform setting","description":{"content":"Replaces `type`, `sub_type`, `status` and `settings`. Secrets you send are merged into the stored secrets.","type":"text/plain"},"url":{"path":["v1","admin","platform-settings",":setting_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"string","key":"setting_id","disabled":false,"description":{"content":"(Required) The ID of the platform setting.","type":"text/plain"}}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"type\": \"string\",\n  \"sub_type\": \"string\",\n  \"status\": \"always_enabled\",\n  \"settings\": {},\n  \"secrets\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"9109d0da-617f-4be0-88b3-59b3b20de88e","name":"The updated setting. Secrets are masked.","originalRequest":{"url":{"path":["v1","admin","platform-settings",":setting_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the platform setting.","type":"text/plain"},"type":"any","value":"string","key":"setting_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"type\": \"string\",\n  \"sub_type\": \"string\",\n  \"status\": \"always_enabled\",\n  \"settings\": {},\n  \"secrets\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"name\": \"string\",\n  \"type\": \"string\",\n  \"sub_type\": \"string\",\n  \"status\": \"always_enabled\",\n  \"settings\": {},\n  \"id\": \"string\",\n  \"created\": \"1999-01-07T06:22:51.471Z\",\n  \"modified\": \"1985-04-13T18:57:10.583Z\",\n  \"secrets\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"128d7151-3ae2-45e5-a348-9804db0e7e0c","name":"The request doesn't match the schema. `property_path` names the field.","originalRequest":{"url":{"path":["v1","admin","platform-settings",":setting_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the platform setting.","type":"text/plain"},"type":"any","value":"string","key":"setting_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"type\": \"string\",\n  \"sub_type\": \"string\",\n  \"status\": \"always_enabled\",\n  \"settings\": {},\n  \"secrets\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6ea84c15-1f4c-42f4-a057-9634b68a2102","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","platform-settings",":setting_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the platform setting.","type":"text/plain"},"type":"any","value":"string","key":"setting_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"type\": \"string\",\n  \"sub_type\": \"string\",\n  \"status\": \"always_enabled\",\n  \"settings\": {},\n  \"secrets\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3bb13d56-d833-47e9-ae42-ba95b443a9c2","name":"The object doesn't exist.","originalRequest":{"url":{"path":["v1","admin","platform-settings",":setting_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the platform setting.","type":"text/plain"},"type":"any","value":"string","key":"setting_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"name\": \"string\",\n  \"type\": \"string\",\n  \"sub_type\": \"string\",\n  \"status\": \"always_enabled\",\n  \"settings\": {},\n  \"secrets\": {}\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 400,\n    \"type\": \"ValidationError\",\n    \"value\": \"'active-live' is not one of ['inactive', 'active-testing', 'active-production']\",\n    \"property_path\": \"status\",\n    \"property_description\": \"\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]}]},{"name":"Merchant Self-Service API","description":{"content":"Let a merchant manage its own details, users, roles, projects, API keys and payment method settings. Every call is\nlimited by the permissions of the credentials. See [Merchant Self-Service API](https://platform-preview.dev.gingerpayments.com/api-reference/self-service). Use `self`\ninstead of an ID for the merchant, project or user of the credentials. Read-only fields are ignored when sent.\n","type":"text/plain"},"item":[{"name":"Merchants","description":"","item":[{"id":"933f9eef-21cf-4b82-88c9-8789511896ab","name":"Retrieve the merchant","request":{"name":"Retrieve the merchant","description":{},"url":{"path":["v1","merchants",":merchant_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"self","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"c62ee50c-c779-4a06-b77a-28b9b55bd6ae","name":"The merchant.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"fdd81581-28b0-42fc-8be7-9228762d9368\",\n  \"created\": \"1960-12-11T09:48:04.757Z\",\n  \"modified\": \"1974-01-25T00:56:10.405Z\",\n  \"status\": \"ending\",\n  \"company_name\": \"Acme Coffee B.V.\",\n  \"external_merchant_id\": null,\n  \"email\": \"info@example.com\",\n  \"addresses\": [\n    {\n      \"address\": \"string\",\n      \"country\": \"string\"\n    },\n    {\n      \"address\": \"string\",\n      \"country\": \"string\"\n    }\n  ],\n  \"phone_numbers\": [\n    \"string\",\n    \"string\"\n  ],\n  \"website_url\": \"string\",\n  \"chamber_of_commerce_number\": null,\n  \"vat_number\": \"string\",\n  \"contact_persons\": {},\n  \"locale\": \"en_GB\",\n  \"timezone\": \"Europe/Amsterdam\",\n  \"bank_account\": {\n    \"iban\": \"NL02ABNA0123456789\"\n  },\n  \"payout_scheme\": {\n    \"frequency\": \"monthly\",\n    \"weekdays\": [\n      \"string\",\n      \"string\"\n    ],\n    \"monthdays\": [\n      5149,\n      4616\n    ]\n  },\n  \"priceplan_id\": \"string\",\n  \"base_permissions\": {\n    \"key_0\": {\n      \"GET\": false,\n      \"POST\": false,\n      \"PUT\": true,\n      \"DELETE\": true,\n      \"*\": false\n    },\n    \"key_1\": {\n      \"GET\": true,\n      \"POST\": true,\n      \"PUT\": false,\n      \"DELETE\": true,\n      \"*\": true\n    }\n  },\n  \"contracts\": {},\n  \"tags\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2cee6722-d205-4cac-9362-d75723eac534","name":"The credentials are missing, unknown or expired.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f02ab7f9-87d5-42da-b74c-088d992ff056","name":"The permissions of the credentials don't allow this request.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"b8bd05be-47d7-4d12-b25b-2813dad506e7","name":"Update the merchant","request":{"name":"Update the merchant","description":{"content":"Updates the fields a merchant may change. Read-only fields are ignored.","type":"text/plain"},"url":{"path":["v1","merchants",":merchant_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"self","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"}}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"phone_numbers\": [\n    \"+31201234567\"\n  ],\n  \"payout_scheme\": {\n    \"frequency\": \"monthly\",\n    \"monthdays\": [\n      1\n    ]\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"8a4fb2bb-000f-4149-aed2-859b5223a52d","name":"The updated merchant.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"phone_numbers\": [\n    \"+31201234567\"\n  ],\n  \"payout_scheme\": {\n    \"frequency\": \"monthly\",\n    \"monthdays\": [\n      1\n    ]\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"fdd81581-28b0-42fc-8be7-9228762d9368\",\n  \"created\": \"1960-12-11T09:48:04.757Z\",\n  \"modified\": \"1974-01-25T00:56:10.405Z\",\n  \"status\": \"ending\",\n  \"company_name\": \"Acme Coffee B.V.\",\n  \"external_merchant_id\": null,\n  \"email\": \"info@example.com\",\n  \"addresses\": [\n    {\n      \"address\": \"string\",\n      \"country\": \"string\"\n    },\n    {\n      \"address\": \"string\",\n      \"country\": \"string\"\n    }\n  ],\n  \"phone_numbers\": [\n    \"string\",\n    \"string\"\n  ],\n  \"website_url\": \"string\",\n  \"chamber_of_commerce_number\": null,\n  \"vat_number\": \"string\",\n  \"contact_persons\": {},\n  \"locale\": \"en_GB\",\n  \"timezone\": \"Europe/Amsterdam\",\n  \"bank_account\": {\n    \"iban\": \"NL02ABNA0123456789\"\n  },\n  \"payout_scheme\": {\n    \"frequency\": \"monthly\",\n    \"weekdays\": [\n      \"string\",\n      \"string\"\n    ],\n    \"monthdays\": [\n      5149,\n      4616\n    ]\n  },\n  \"priceplan_id\": \"string\",\n  \"base_permissions\": {\n    \"key_0\": {\n      \"GET\": false,\n      \"POST\": false,\n      \"PUT\": true,\n      \"DELETE\": true,\n      \"*\": false\n    },\n    \"key_1\": {\n      \"GET\": true,\n      \"POST\": true,\n      \"PUT\": false,\n      \"DELETE\": true,\n      \"*\": true\n    }\n  },\n  \"contracts\": {},\n  \"tags\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"19d1faa2-c2ab-429c-875c-309b4f7b330d","name":"The request isn't valid.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"phone_numbers\": [\n    \"+31201234567\"\n  ],\n  \"payout_scheme\": {\n    \"frequency\": \"monthly\",\n    \"monthdays\": [\n      1\n    ]\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d0d16011-df07-4cdc-99fc-a838d9c7b3e0","name":"The credentials are missing, unknown or expired.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"phone_numbers\": [\n    \"+31201234567\"\n  ],\n  \"payout_scheme\": {\n    \"frequency\": \"monthly\",\n    \"monthdays\": [\n      1\n    ]\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4ff95c56-879a-451e-ab5d-257eea142e46","name":"The permissions of the credentials don't allow this request.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"phone_numbers\": [\n    \"+31201234567\"\n  ],\n  \"payout_scheme\": {\n    \"frequency\": \"monthly\",\n    \"monthdays\": [\n      1\n    ]\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]},{"name":"Users","description":"","item":[{"id":"7de8e638-ac1b-4053-88bf-cf407e9c6da5","name":"List users","request":{"name":"List users","description":{},"url":{"path":["v1","merchants",":merchant_id","users",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"self","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"1b70fc24-ef3a-4016-b885-468e9e74f601","name":"The users of the merchant.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","users",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"email\": \"ops@example.com\",\n    \"id\": \"ae9fa5fb-0c7e-4ddb-ad40-5a0892569de0\",\n    \"created\": \"1963-11-18T07:06:21.159Z\",\n    \"modified\": null,\n    \"status\": \"inactive\",\n    \"legal_name\": \"Alex Example\",\n    \"phone_numbers\": [\n      \"string\",\n      \"string\"\n    ],\n    \"locale\": null,\n    \"timezone\": \"string\",\n    \"mfa\": {},\n    \"roles\": [\n      \"4e0c9d19-80b8-c707-194b-837218f86ad2\",\n      \"bcb6a381-679e-d27b-9f32-2b3a95ae9ac7\"\n    ],\n    \"permissions\": {\n      \"key_0\": {\n        \"GET\": true,\n        \"POST\": false,\n        \"PUT\": false,\n        \"DELETE\": true,\n        \"*\": false\n      }\n    },\n    \"field_permissions\": {\n      \"projects\": {\n        \"apikey\": {\n          \"read\": false,\n          \"write\": false\n        }\n      }\n    },\n    \"last_login\": \"2004-10-09T12:11:07.808Z\"\n  },\n  {\n    \"email\": \"ops@example.com\",\n    \"id\": \"ae9fa5fb-0c7e-4ddb-ad40-5a0892569de0\",\n    \"created\": \"1952-10-24T02:05:55.924Z\",\n    \"modified\": null,\n    \"status\": \"inactive\",\n    \"legal_name\": \"Alex Example\",\n    \"phone_numbers\": [\n      \"string\",\n      \"string\"\n    ],\n    \"locale\": null,\n    \"timezone\": null,\n    \"mfa\": {},\n    \"roles\": [\n      \"2dba6ae7-cc5e-9e50-63a4-f93da11ef0b5\",\n      \"06ff1407-3c65-d1ed-a4ac-a6d2f5477e9f\"\n    ],\n    \"permissions\": {\n      \"key_0\": {\n        \"GET\": false,\n        \"POST\": false,\n        \"PUT\": false,\n        \"DELETE\": false,\n        \"*\": false\n      },\n      \"key_1\": {\n        \"GET\": true,\n        \"POST\": true,\n        \"PUT\": false,\n        \"DELETE\": false,\n        \"*\": true\n      },\n      \"key_2\": {\n        \"GET\": false,\n        \"POST\": false,\n        \"PUT\": true,\n        \"DELETE\": true,\n        \"*\": true\n      }\n    },\n    \"field_permissions\": {\n      \"projects\": {\n        \"apikey\": {\n          \"read\": false,\n          \"write\": false\n        }\n      }\n    },\n    \"last_login\": null\n  }\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"84da2808-d5b4-4f14-9075-ad7510f3015a","name":"The credentials are missing, unknown or expired.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","users",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a7a290e3-5ff2-432f-8463-f12f11858074","name":"The permissions of the credentials don't allow this request.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","users",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"d1f012f2-b51e-46be-bf2c-a7aa0e36ed72","name":"Create a user","request":{"name":"Create a user","description":{"content":"Creates a user without a password: let the user set one with the password reset flow. Without a `status`, the\nuser is `inactive`. You can't give a user more permissions than you have.\n","type":"text/plain"},"url":{"path":["v1","merchants",":merchant_id","users",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"self","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"}}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"email\": \"ops@example.com\",\n  \"legal_name\": \"Alex Example\",\n  \"roles\": [\n    \"3367941d-75a2-4193-a8ab-add781d5f7f4\"\n  ],\n  \"status\": \"active\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"232546fd-cb39-4af0-8660-f57e4a0065d6","name":"The new user.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","users",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"email\": \"ops@example.com\",\n  \"legal_name\": \"Alex Example\",\n  \"roles\": [\n    \"3367941d-75a2-4193-a8ab-add781d5f7f4\"\n  ],\n  \"status\": \"active\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"email\": \"ops@example.com\",\n  \"id\": \"ae9fa5fb-0c7e-4ddb-ad40-5a0892569de0\",\n  \"created\": \"1974-04-05T08:57:13.422Z\",\n  \"modified\": null,\n  \"status\": \"pending\",\n  \"legal_name\": \"Alex Example\",\n  \"phone_numbers\": [\n    \"string\",\n    \"string\"\n  ],\n  \"locale\": \"string\",\n  \"timezone\": null,\n  \"mfa\": {},\n  \"roles\": [\n    \"a129eb56-edf4-a7aa-144d-8ae1c0298eab\",\n    \"037baafe-ba04-8637-834f-b6939741552d\"\n  ],\n  \"permissions\": {\n    \"key_0\": {\n      \"GET\": false,\n      \"POST\": false,\n      \"PUT\": true,\n      \"DELETE\": false,\n      \"*\": true\n    },\n    \"key_1\": {\n      \"GET\": false,\n      \"POST\": false,\n      \"PUT\": false,\n      \"DELETE\": true,\n      \"*\": false\n    }\n  },\n  \"field_permissions\": {\n    \"projects\": {\n      \"apikey\": {\n        \"read\": false,\n        \"write\": false\n      }\n    }\n  },\n  \"last_login\": null\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"44ac72f9-7423-418c-85ac-188db5282747","name":"The request isn't valid.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","users",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"email\": \"ops@example.com\",\n  \"legal_name\": \"Alex Example\",\n  \"roles\": [\n    \"3367941d-75a2-4193-a8ab-add781d5f7f4\"\n  ],\n  \"status\": \"active\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c6d68e1a-02e5-4edf-863b-13cc8d227a6c","name":"The credentials are missing, unknown or expired.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","users",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"email\": \"ops@example.com\",\n  \"legal_name\": \"Alex Example\",\n  \"roles\": [\n    \"3367941d-75a2-4193-a8ab-add781d5f7f4\"\n  ],\n  \"status\": \"active\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4b1b9eca-e564-414b-8b5d-324047662728","name":"The permissions of the credentials don't allow this request.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","users",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"email\": \"ops@example.com\",\n  \"legal_name\": \"Alex Example\",\n  \"roles\": [\n    \"3367941d-75a2-4193-a8ab-add781d5f7f4\"\n  ],\n  \"status\": \"active\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"679475ef-ee05-40b5-b914-a8c9a14c66cf","name":"Retrieve a user","request":{"name":"Retrieve a user","description":{},"url":{"path":["v1","merchants",":merchant_id","users",":user_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"self","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"}},{"type":"any","value":"self","key":"user_id","disabled":false,"description":{"content":"(Required) The ID of the user, or `self` for the user of the token.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"13b9a92f-87e7-4a18-8e6b-f0793ec5b91e","name":"The user.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","users",":user_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the user, or `self` for the user of the token.","type":"text/plain"},"type":"any","value":"self","key":"user_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"email\": \"ops@example.com\",\n  \"id\": \"ae9fa5fb-0c7e-4ddb-ad40-5a0892569de0\",\n  \"created\": \"1974-04-05T08:57:13.422Z\",\n  \"modified\": null,\n  \"status\": \"pending\",\n  \"legal_name\": \"Alex Example\",\n  \"phone_numbers\": [\n    \"string\",\n    \"string\"\n  ],\n  \"locale\": \"string\",\n  \"timezone\": null,\n  \"mfa\": {},\n  \"roles\": [\n    \"a129eb56-edf4-a7aa-144d-8ae1c0298eab\",\n    \"037baafe-ba04-8637-834f-b6939741552d\"\n  ],\n  \"permissions\": {\n    \"key_0\": {\n      \"GET\": false,\n      \"POST\": false,\n      \"PUT\": true,\n      \"DELETE\": false,\n      \"*\": true\n    },\n    \"key_1\": {\n      \"GET\": false,\n      \"POST\": false,\n      \"PUT\": false,\n      \"DELETE\": true,\n      \"*\": false\n    }\n  },\n  \"field_permissions\": {\n    \"projects\": {\n      \"apikey\": {\n        \"read\": false,\n        \"write\": false\n      }\n    }\n  },\n  \"last_login\": null\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"598fcf49-0be9-40ed-83da-cd2c35ce10f3","name":"The credentials are missing, unknown or expired.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","users",":user_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the user, or `self` for the user of the token.","type":"text/plain"},"type":"any","value":"self","key":"user_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8de31444-010b-47c4-8b91-47fdc40d51a5","name":"The permissions of the credentials don't allow this request.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","users",":user_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the user, or `self` for the user of the token.","type":"text/plain"},"type":"any","value":"self","key":"user_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ead57638-4dbe-4f8c-a3c0-f200776d8364","name":"The resource doesn't exist.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","users",":user_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the user, or `self` for the user of the token.","type":"text/plain"},"type":"any","value":"self","key":"user_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"10d88110-a334-4fc4-bfe7-293a1ce9bc71","name":"Update a user","request":{"name":"Update a user","description":{"content":"The email address can't be changed. Users can't change their own status, roles, permissions or field\npermissions.\n","type":"text/plain"},"url":{"path":["v1","merchants",":merchant_id","users",":user_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"self","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"}},{"type":"any","value":"self","key":"user_id","disabled":false,"description":{"content":"(Required) The ID of the user, or `self` for the user of the token.","type":"text/plain"}}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"email\": \"ops@example.com\",\n  \"legal_name\": \"Alex Example\",\n  \"roles\": [\n    \"3367941d-75a2-4193-a8ab-add781d5f7f4\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"fd2a9d9a-df03-4c81-819c-de7ff1b6be21","name":"The updated user.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","users",":user_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the user, or `self` for the user of the token.","type":"text/plain"},"type":"any","value":"self","key":"user_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"email\": \"ops@example.com\",\n  \"legal_name\": \"Alex Example\",\n  \"roles\": [\n    \"3367941d-75a2-4193-a8ab-add781d5f7f4\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"email\": \"ops@example.com\",\n  \"id\": \"ae9fa5fb-0c7e-4ddb-ad40-5a0892569de0\",\n  \"created\": \"1974-04-05T08:57:13.422Z\",\n  \"modified\": null,\n  \"status\": \"pending\",\n  \"legal_name\": \"Alex Example\",\n  \"phone_numbers\": [\n    \"string\",\n    \"string\"\n  ],\n  \"locale\": \"string\",\n  \"timezone\": null,\n  \"mfa\": {},\n  \"roles\": [\n    \"a129eb56-edf4-a7aa-144d-8ae1c0298eab\",\n    \"037baafe-ba04-8637-834f-b6939741552d\"\n  ],\n  \"permissions\": {\n    \"key_0\": {\n      \"GET\": false,\n      \"POST\": false,\n      \"PUT\": true,\n      \"DELETE\": false,\n      \"*\": true\n    },\n    \"key_1\": {\n      \"GET\": false,\n      \"POST\": false,\n      \"PUT\": false,\n      \"DELETE\": true,\n      \"*\": false\n    }\n  },\n  \"field_permissions\": {\n    \"projects\": {\n      \"apikey\": {\n        \"read\": false,\n        \"write\": false\n      }\n    }\n  },\n  \"last_login\": null\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"42923202-9e24-44a0-b329-6c1402adf224","name":"The request isn't valid.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","users",":user_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the user, or `self` for the user of the token.","type":"text/plain"},"type":"any","value":"self","key":"user_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"email\": \"ops@example.com\",\n  \"legal_name\": \"Alex Example\",\n  \"roles\": [\n    \"3367941d-75a2-4193-a8ab-add781d5f7f4\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"eb4eec4c-a764-4791-9afc-1f26b755b503","name":"The credentials are missing, unknown or expired.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","users",":user_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the user, or `self` for the user of the token.","type":"text/plain"},"type":"any","value":"self","key":"user_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"email\": \"ops@example.com\",\n  \"legal_name\": \"Alex Example\",\n  \"roles\": [\n    \"3367941d-75a2-4193-a8ab-add781d5f7f4\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"891dc365-b5a3-4f68-ae07-8480a8e1f96d","name":"The permissions of the credentials don't allow this request.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","users",":user_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the user, or `self` for the user of the token.","type":"text/plain"},"type":"any","value":"self","key":"user_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"email\": \"ops@example.com\",\n  \"legal_name\": \"Alex Example\",\n  \"roles\": [\n    \"3367941d-75a2-4193-a8ab-add781d5f7f4\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"530f0edb-168c-4a10-b0a3-9e34127068d3","name":"Deactivate a user","request":{"name":"Deactivate a user","description":{"content":"Sets the status of the user to `inactive`. The user isn't removed.","type":"text/plain"},"url":{"path":["v1","merchants",":merchant_id","users",":user_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"self","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"}},{"type":"any","value":"self","key":"user_id","disabled":false,"description":{"content":"(Required) The ID of the user, or `self` for the user of the token.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{},"auth":null},"response":[{"id":"bd666bf8-4fd1-41c9-b0de-9e09a8dc5354","name":"The user, now `inactive`.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","users",":user_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the user, or `self` for the user of the token.","type":"text/plain"},"type":"any","value":"self","key":"user_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"DELETE","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"email\": \"ops@example.com\",\n  \"id\": \"ae9fa5fb-0c7e-4ddb-ad40-5a0892569de0\",\n  \"created\": \"1974-04-05T08:57:13.422Z\",\n  \"modified\": null,\n  \"status\": \"pending\",\n  \"legal_name\": \"Alex Example\",\n  \"phone_numbers\": [\n    \"string\",\n    \"string\"\n  ],\n  \"locale\": \"string\",\n  \"timezone\": null,\n  \"mfa\": {},\n  \"roles\": [\n    \"a129eb56-edf4-a7aa-144d-8ae1c0298eab\",\n    \"037baafe-ba04-8637-834f-b6939741552d\"\n  ],\n  \"permissions\": {\n    \"key_0\": {\n      \"GET\": false,\n      \"POST\": false,\n      \"PUT\": true,\n      \"DELETE\": false,\n      \"*\": true\n    },\n    \"key_1\": {\n      \"GET\": false,\n      \"POST\": false,\n      \"PUT\": false,\n      \"DELETE\": true,\n      \"*\": false\n    }\n  },\n  \"field_permissions\": {\n    \"projects\": {\n      \"apikey\": {\n        \"read\": false,\n        \"write\": false\n      }\n    }\n  },\n  \"last_login\": null\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e4ade074-91fd-4b56-8ad9-891c0c649443","name":"The credentials are missing, unknown or expired.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","users",":user_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the user, or `self` for the user of the token.","type":"text/plain"},"type":"any","value":"self","key":"user_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"DELETE","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4c50dec4-5755-4989-8312-b642415b1e8a","name":"The permissions of the credentials don't allow this request.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","users",":user_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the user, or `self` for the user of the token.","type":"text/plain"},"type":"any","value":"self","key":"user_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"DELETE","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"49ad8f2a-4be3-4a3c-9fd4-ba641838a25b","name":"Change a password","request":{"name":"Change a password","description":{"content":"Changes the password of a logged-in user, with the current password. Ends the trusted devices of the user.","type":"text/plain"},"url":{"path":["v1","merchants",":merchant_id","users",":user_id","password",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"self","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"}},{"type":"any","value":"self","key":"user_id","disabled":false,"description":{"content":"(Required) The ID of the user, or `self` for the user of the token.","type":"text/plain"}}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"current\": \"correct-Horse-battery-7\",\n  \"new\": \"new-Correct-horse-8\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"a57ccb49-6507-488d-9231-ffd8de06daab","name":"The password is changed.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","users",":user_id","password",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the user, or `self` for the user of the token.","type":"text/plain"},"type":"any","value":"self","key":"user_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"current\": \"correct-Horse-battery-7\",\n  \"new\": \"new-Correct-horse-8\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"No Content","code":204,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"a6d0d175-be32-414c-b25e-f70b47d39df1","name":"The request isn't valid.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","users",":user_id","password",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the user, or `self` for the user of the token.","type":"text/plain"},"type":"any","value":"self","key":"user_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"current\": \"correct-Horse-battery-7\",\n  \"new\": \"new-Correct-horse-8\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7b913e04-b80b-4dfa-82ec-12be64191b3e","name":"The credentials are missing, unknown or expired.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","users",":user_id","password",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the user, or `self` for the user of the token.","type":"text/plain"},"type":"any","value":"self","key":"user_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"current\": \"correct-Horse-battery-7\",\n  \"new\": \"new-Correct-horse-8\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c8823ba9-de33-4193-bec4-0a9ca096b425","name":"The permissions of the credentials don't allow this request.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","users",":user_id","password",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the user, or `self` for the user of the token.","type":"text/plain"},"type":"any","value":"self","key":"user_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"current\": \"correct-Horse-battery-7\",\n  \"new\": \"new-Correct-horse-8\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"bb1d64e3-6f2e-4b2c-b9a9-c619945016e0","name":"Reset a password","request":{"name":"Reset a password","description":{"content":"Sets a new password without the current one. Authenticate with a password reset token from\n[Create a password reset token](https://platform-preview.dev.gingerpayments.com/api-reference/authentication/tokens/create-password-reset-token); users\nshouldn't have this permission. Ends the trusted devices of the user.\n","type":"text/plain"},"url":{"path":["v1","merchants",":merchant_id","users",":user_id","password",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"self","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"}},{"type":"any","value":"self","key":"user_id","disabled":false,"description":{"content":"(Required) The ID of the user, or `self` for the user of the token.","type":"text/plain"}}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"new\": \"new-Correct-horse-8\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"d4686d23-e0cf-42f7-9bcb-c058fcaa93fb","name":"The password is set.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","users",":user_id","password",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the user, or `self` for the user of the token.","type":"text/plain"},"type":"any","value":"self","key":"user_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"new\": \"new-Correct-horse-8\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"No Content","code":204,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"e7ee5910-08d1-4cce-9251-9e793e4fce3a","name":"The request isn't valid.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","users",":user_id","password",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the user, or `self` for the user of the token.","type":"text/plain"},"type":"any","value":"self","key":"user_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"new\": \"new-Correct-horse-8\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d05b0b2a-5638-4e94-a37f-8653e39c893d","name":"The credentials are missing, unknown or expired.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","users",":user_id","password",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the user, or `self` for the user of the token.","type":"text/plain"},"type":"any","value":"self","key":"user_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"new\": \"new-Correct-horse-8\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3c9432c1-8ddb-478c-85d1-a13d690e3d30","name":"The permissions of the credentials don't allow this request.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","users",":user_id","password",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the user, or `self` for the user of the token.","type":"text/plain"},"type":"any","value":"self","key":"user_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"new\": \"new-Correct-horse-8\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]},{"name":"Roles","description":"","item":[{"id":"1b903963-f667-4813-8988-4c13167f5c3b","name":"List roles","request":{"name":"List roles","description":{},"url":{"path":["v1","merchants",":merchant_id","roles",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"self","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"6944bd33-4768-4189-8ecd-dc1cbace95f3","name":"The roles of the merchant.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","roles",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"name\": \"Order viewer\",\n    \"id\": \"3367941d-75a2-4193-a8ab-add781d5f7f4\",\n    \"created\": \"1981-06-08T22:18:37.537Z\",\n    \"modified\": null,\n    \"description\": \"string\",\n    \"permissions\": {\n      \"key_0\": {\n        \"GET\": false,\n        \"POST\": false,\n        \"PUT\": false,\n        \"DELETE\": true,\n        \"*\": true\n      }\n    },\n    \"field_permissions\": {\n      \"projects\": {\n        \"apikey\": {\n          \"read\": false,\n          \"write\": false\n        }\n      }\n    }\n  },\n  {\n    \"name\": \"Order viewer\",\n    \"id\": \"3367941d-75a2-4193-a8ab-add781d5f7f4\",\n    \"created\": \"1959-08-16T22:46:27.471Z\",\n    \"modified\": null,\n    \"description\": \"string\",\n    \"permissions\": {\n      \"key_0\": {\n        \"GET\": false,\n        \"POST\": true,\n        \"PUT\": true,\n        \"DELETE\": false,\n        \"*\": true\n      },\n      \"key_1\": {\n        \"GET\": false,\n        \"POST\": false,\n        \"PUT\": false,\n        \"DELETE\": true,\n        \"*\": false\n      },\n      \"key_2\": {\n        \"GET\": true,\n        \"POST\": true,\n        \"PUT\": false,\n        \"DELETE\": false,\n        \"*\": true\n      }\n    },\n    \"field_permissions\": {\n      \"projects\": {\n        \"apikey\": {\n          \"read\": false,\n          \"write\": false\n        }\n      }\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"6cb6d9f6-5f91-4973-8c3a-4d5bfc850f50","name":"The credentials are missing, unknown or expired.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","roles",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9da276c1-3705-4a00-9249-98890e23131e","name":"The permissions of the credentials don't allow this request.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","roles",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"01ef7bb3-3fbe-4518-b9a7-276e50f13e0a","name":"Create a role","request":{"name":"Create a role","description":{"content":"The permissions of the role are limited to your own. Without `permissions`, the role gets yours.","type":"text/plain"},"url":{"path":["v1","merchants",":merchant_id","roles",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"self","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"}}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Order viewer\",\n  \"permissions\": {\n    \"/orders/**\": {\n      \"GET\": true\n    },\n    \"/search/orders/\": {\n      \"POST\": true\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"d6993a0d-fe8a-4470-85b6-041dae0fac86","name":"The new role.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","roles",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Order viewer\",\n  \"permissions\": {\n    \"/orders/**\": {\n      \"GET\": true\n    },\n    \"/search/orders/\": {\n      \"POST\": true\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"name\": \"Order viewer\",\n  \"id\": \"3367941d-75a2-4193-a8ab-add781d5f7f4\",\n  \"created\": \"1950-01-22T02:43:26.093Z\",\n  \"modified\": \"2022-12-18T12:27:58.285Z\",\n  \"description\": \"string\",\n  \"permissions\": {\n    \"key_0\": {\n      \"GET\": true,\n      \"POST\": true,\n      \"PUT\": true,\n      \"DELETE\": true,\n      \"*\": false\n    },\n    \"key_1\": {\n      \"GET\": false,\n      \"POST\": false,\n      \"PUT\": true,\n      \"DELETE\": false,\n      \"*\": true\n    },\n    \"key_2\": {\n      \"GET\": true,\n      \"POST\": true,\n      \"PUT\": true,\n      \"DELETE\": true,\n      \"*\": false\n    },\n    \"key_3\": {\n      \"GET\": true,\n      \"POST\": true,\n      \"PUT\": true,\n      \"DELETE\": true,\n      \"*\": false\n    }\n  },\n  \"field_permissions\": {\n    \"projects\": {\n      \"apikey\": {\n        \"read\": false,\n        \"write\": false\n      }\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a9e0410a-414d-4330-b9c3-65f719295340","name":"The request isn't valid.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","roles",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Order viewer\",\n  \"permissions\": {\n    \"/orders/**\": {\n      \"GET\": true\n    },\n    \"/search/orders/\": {\n      \"POST\": true\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7955b1f0-5b32-4528-9a31-f564e3e4c778","name":"The credentials are missing, unknown or expired.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","roles",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Order viewer\",\n  \"permissions\": {\n    \"/orders/**\": {\n      \"GET\": true\n    },\n    \"/search/orders/\": {\n      \"POST\": true\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"16e24b6c-6677-412e-8a8c-f59323474f8d","name":"The permissions of the credentials don't allow this request.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","roles",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"name\": \"Order viewer\",\n  \"permissions\": {\n    \"/orders/**\": {\n      \"GET\": true\n    },\n    \"/search/orders/\": {\n      \"POST\": true\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"e9459038-b6b9-4854-b868-62598de8609b","name":"Retrieve a role","request":{"name":"Retrieve a role","description":{},"url":{"path":["v1","merchants",":merchant_id","roles",":role_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"self","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"}},{"type":"any","value":"3367941d-75a2-4193-a8ab-add781d5f7f4","key":"role_id","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"e2004363-4df0-45d4-b258-27550fd550dc","name":"The role.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","roles",":role_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"3367941d-75a2-4193-a8ab-add781d5f7f4","key":"role_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"name\": \"Order viewer\",\n  \"id\": \"3367941d-75a2-4193-a8ab-add781d5f7f4\",\n  \"created\": \"1950-01-22T02:43:26.093Z\",\n  \"modified\": \"2022-12-18T12:27:58.285Z\",\n  \"description\": \"string\",\n  \"permissions\": {\n    \"key_0\": {\n      \"GET\": true,\n      \"POST\": true,\n      \"PUT\": true,\n      \"DELETE\": true,\n      \"*\": false\n    },\n    \"key_1\": {\n      \"GET\": false,\n      \"POST\": false,\n      \"PUT\": true,\n      \"DELETE\": false,\n      \"*\": true\n    },\n    \"key_2\": {\n      \"GET\": true,\n      \"POST\": true,\n      \"PUT\": true,\n      \"DELETE\": true,\n      \"*\": false\n    },\n    \"key_3\": {\n      \"GET\": true,\n      \"POST\": true,\n      \"PUT\": true,\n      \"DELETE\": true,\n      \"*\": false\n    }\n  },\n  \"field_permissions\": {\n    \"projects\": {\n      \"apikey\": {\n        \"read\": false,\n        \"write\": false\n      }\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9239692b-1868-4f01-bee3-15682bebd807","name":"The credentials are missing, unknown or expired.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","roles",":role_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"3367941d-75a2-4193-a8ab-add781d5f7f4","key":"role_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3e38e0ac-6bee-4ac8-9715-e39279e6627c","name":"The permissions of the credentials don't allow this request.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","roles",":role_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"3367941d-75a2-4193-a8ab-add781d5f7f4","key":"role_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"57359965-c24c-43cf-aa7f-97dca7a2f014","name":"The resource doesn't exist.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","roles",":role_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"3367941d-75a2-4193-a8ab-add781d5f7f4","key":"role_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"6e9cdbb5-2b4e-45f9-a0cb-b81790cf6c89","name":"Update a role","request":{"name":"Update a role","description":{"content":"The permissions are limited to the base permissions of the merchant.","type":"text/plain"},"url":{"path":["v1","merchants",":merchant_id","roles",":role_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"self","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"}},{"type":"any","value":"3367941d-75a2-4193-a8ab-add781d5f7f4","key":"role_id","disabled":false,"description":{"content":"(Required) ","type":"text/plain"}}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"name\": \"Order viewer\",\n  \"permissions\": {\n    \"/orders/**\": {\n      \"GET\": true\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"2f6d6e6e-1708-4d3c-a735-19b7d3481b6d","name":"The updated role.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","roles",":role_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"3367941d-75a2-4193-a8ab-add781d5f7f4","key":"role_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"name\": \"Order viewer\",\n  \"permissions\": {\n    \"/orders/**\": {\n      \"GET\": true\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"name\": \"Order viewer\",\n  \"id\": \"3367941d-75a2-4193-a8ab-add781d5f7f4\",\n  \"created\": \"1950-01-22T02:43:26.093Z\",\n  \"modified\": \"2022-12-18T12:27:58.285Z\",\n  \"description\": \"string\",\n  \"permissions\": {\n    \"key_0\": {\n      \"GET\": true,\n      \"POST\": true,\n      \"PUT\": true,\n      \"DELETE\": true,\n      \"*\": false\n    },\n    \"key_1\": {\n      \"GET\": false,\n      \"POST\": false,\n      \"PUT\": true,\n      \"DELETE\": false,\n      \"*\": true\n    },\n    \"key_2\": {\n      \"GET\": true,\n      \"POST\": true,\n      \"PUT\": true,\n      \"DELETE\": true,\n      \"*\": false\n    },\n    \"key_3\": {\n      \"GET\": true,\n      \"POST\": true,\n      \"PUT\": true,\n      \"DELETE\": true,\n      \"*\": false\n    }\n  },\n  \"field_permissions\": {\n    \"projects\": {\n      \"apikey\": {\n        \"read\": false,\n        \"write\": false\n      }\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e7b035c2-c40a-435b-bd24-08ff00f027a0","name":"The request isn't valid.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","roles",":role_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"3367941d-75a2-4193-a8ab-add781d5f7f4","key":"role_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"name\": \"Order viewer\",\n  \"permissions\": {\n    \"/orders/**\": {\n      \"GET\": true\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c72b2942-f2c0-487a-9d22-86fad96d171c","name":"The credentials are missing, unknown or expired.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","roles",":role_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"3367941d-75a2-4193-a8ab-add781d5f7f4","key":"role_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"name\": \"Order viewer\",\n  \"permissions\": {\n    \"/orders/**\": {\n      \"GET\": true\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"39bc2b77-6db0-4d8d-bc5d-f1c04fbb31c3","name":"The permissions of the credentials don't allow this request.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","roles",":role_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) ","type":"text/plain"},"type":"any","value":"3367941d-75a2-4193-a8ab-add781d5f7f4","key":"role_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"name\": \"Order viewer\",\n  \"permissions\": {\n    \"/orders/**\": {\n      \"GET\": true\n    }\n  }\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]},{"name":"Projects","description":"","item":[{"id":"1ce0662c-c090-4415-a1bb-f998e4daa860","name":"List projects","request":{"name":"List projects","description":{"content":"Returns the projects the credentials may read.","type":"text/plain"},"url":{"path":["v1","merchants",":merchant_id","projects",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"self","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"6c0e281a-81ea-4e82-a8b7-9a0057fc198e","name":"The projects.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"trade_name\": \"Acme Coffee\",\n    \"description\": \"Webshop\",\n    \"website_url\": \"https://www.example.com/\",\n    \"status\": \"active-production\",\n    \"id\": \"b8a1c2d4-1234-4c5d-9e8f-0123456789ab\",\n    \"created\": \"1950-09-25T01:18:51.570Z\",\n    \"modified\": \"1953-07-28T16:02:17.172Z\",\n    \"external_project_id\": \"string\",\n    \"apikey\": \"0f4e2b7c9a1d4e6f8b3c5a7d9e1f2b4c\",\n    \"webhook_url\": \"https://www.example.com/webhook/\",\n    \"terms_and_conditions_url\": null,\n    \"locale\": null,\n    \"timezone\": \"string\",\n    \"permissions\": {\n      \"key_0\": {\n        \"GET\": false,\n        \"POST\": false,\n        \"PUT\": true,\n        \"DELETE\": true,\n        \"*\": true\n      },\n      \"key_1\": {\n        \"GET\": true,\n        \"POST\": false,\n        \"PUT\": true,\n        \"DELETE\": false,\n        \"*\": true\n      },\n      \"key_2\": {\n        \"GET\": true,\n        \"POST\": false,\n        \"PUT\": true,\n        \"DELETE\": true,\n        \"*\": true\n      }\n    },\n    \"contracts\": {},\n    \"settings\": {},\n    \"ip_whitelist\": [\n      \"string\",\n      \"string\"\n    ]\n  },\n  {\n    \"trade_name\": \"Acme Coffee\",\n    \"description\": \"Webshop\",\n    \"website_url\": \"https://www.example.com/\",\n    \"status\": \"active-testing\",\n    \"id\": \"b8a1c2d4-1234-4c5d-9e8f-0123456789ab\",\n    \"created\": \"2019-03-03T05:04:04.030Z\",\n    \"modified\": \"2026-09-12T01:15:59.967Z\",\n    \"external_project_id\": \"string\",\n    \"apikey\": \"0f4e2b7c9a1d4e6f8b3c5a7d9e1f2b4c\",\n    \"webhook_url\": \"https://www.example.com/webhook/\",\n    \"terms_and_conditions_url\": null,\n    \"locale\": null,\n    \"timezone\": null,\n    \"permissions\": {\n      \"key_0\": {\n        \"GET\": false,\n        \"POST\": true,\n        \"PUT\": true,\n        \"DELETE\": false,\n        \"*\": true\n      },\n      \"key_1\": {\n        \"GET\": false,\n        \"POST\": false,\n        \"PUT\": true,\n        \"DELETE\": true,\n        \"*\": true\n      }\n    },\n    \"contracts\": {},\n    \"settings\": {},\n    \"ip_whitelist\": [\n      \"string\",\n      \"string\"\n    ]\n  }\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"6cbf9604-3533-43c9-838b-394a2a03951f","name":"The credentials are missing, unknown or expired.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"59f1558e-6cb1-483b-b746-e283353111d3","name":"The permissions of the credentials don't allow this request.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"d6246ca9-1b04-49ad-871d-d614a2d76622","name":"Create a project","request":{"name":"Create a project","description":{"content":"Without `permissions`, the project gets the base permissions of the merchant.","type":"text/plain"},"url":{"path":["v1","merchants",":merchant_id","projects",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"self","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"}}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"trade_name\": \"Acme Coffee\",\n  \"description\": \"Webshop\",\n  \"website_url\": \"https://www.example.com/\",\n  \"webhook_url\": \"https://www.example.com/webhook/\",\n  \"status\": \"active-testing\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"2faaf7ae-9fb4-4338-ac21-db9423c138d7","name":"The new project, with its API key.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"trade_name\": \"Acme Coffee\",\n  \"description\": \"Webshop\",\n  \"website_url\": \"https://www.example.com/\",\n  \"webhook_url\": \"https://www.example.com/webhook/\",\n  \"status\": \"active-testing\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"trade_name\": \"Acme Coffee\",\n  \"description\": \"Webshop\",\n  \"website_url\": \"https://www.example.com/\",\n  \"status\": \"active-testing\",\n  \"id\": \"b8a1c2d4-1234-4c5d-9e8f-0123456789ab\",\n  \"created\": \"2014-02-16T00:56:11.367Z\",\n  \"modified\": null,\n  \"external_project_id\": \"string\",\n  \"apikey\": \"0f4e2b7c9a1d4e6f8b3c5a7d9e1f2b4c\",\n  \"webhook_url\": \"https://www.example.com/webhook/\",\n  \"terms_and_conditions_url\": null,\n  \"locale\": null,\n  \"timezone\": null,\n  \"permissions\": {\n    \"key_0\": {\n      \"GET\": true,\n      \"POST\": true,\n      \"PUT\": true,\n      \"DELETE\": true,\n      \"*\": false\n    }\n  },\n  \"contracts\": {},\n  \"settings\": {},\n  \"ip_whitelist\": [\n    \"string\",\n    \"string\"\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9db15006-8acf-4734-8c09-f84f317424b8","name":"The request isn't valid.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"trade_name\": \"Acme Coffee\",\n  \"description\": \"Webshop\",\n  \"website_url\": \"https://www.example.com/\",\n  \"webhook_url\": \"https://www.example.com/webhook/\",\n  \"status\": \"active-testing\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9942c120-076a-492e-8ac1-e967e78b4e00","name":"The credentials are missing, unknown or expired.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"trade_name\": \"Acme Coffee\",\n  \"description\": \"Webshop\",\n  \"website_url\": \"https://www.example.com/\",\n  \"webhook_url\": \"https://www.example.com/webhook/\",\n  \"status\": \"active-testing\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b62fb836-c5fa-4b5d-adb5-175e78741e29","name":"The permissions of the credentials don't allow this request.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"trade_name\": \"Acme Coffee\",\n  \"description\": \"Webshop\",\n  \"website_url\": \"https://www.example.com/\",\n  \"webhook_url\": \"https://www.example.com/webhook/\",\n  \"status\": \"active-testing\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"dd41ff92-3b4c-482a-aa79-c7442b5791ad","name":"Retrieve a project","request":{"name":"Retrieve a project","description":{"content":"Fields the user can't read, per its field permissions, have the value `<redacted>`.","type":"text/plain"},"url":{"path":["v1","merchants",":merchant_id","projects",":project_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"self","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"}},{"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"project_id","disabled":false,"description":{"content":"(Required) The ID of the project, or `self` for the project of the API key.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"1e162b99-d73a-46a7-86af-c50d4e50c736","name":"The project.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project, or `self` for the project of the API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"project_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"trade_name\": \"Acme Coffee\",\n  \"description\": \"Webshop\",\n  \"website_url\": \"https://www.example.com/\",\n  \"status\": \"active-testing\",\n  \"id\": \"b8a1c2d4-1234-4c5d-9e8f-0123456789ab\",\n  \"created\": \"2014-02-16T00:56:11.367Z\",\n  \"modified\": null,\n  \"external_project_id\": \"string\",\n  \"apikey\": \"0f4e2b7c9a1d4e6f8b3c5a7d9e1f2b4c\",\n  \"webhook_url\": \"https://www.example.com/webhook/\",\n  \"terms_and_conditions_url\": null,\n  \"locale\": null,\n  \"timezone\": null,\n  \"permissions\": {\n    \"key_0\": {\n      \"GET\": true,\n      \"POST\": true,\n      \"PUT\": true,\n      \"DELETE\": true,\n      \"*\": false\n    }\n  },\n  \"contracts\": {},\n  \"settings\": {},\n  \"ip_whitelist\": [\n    \"string\",\n    \"string\"\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"18ebc6dc-647c-40e6-a80b-deb5986f5ef2","name":"The credentials are missing, unknown or expired.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project, or `self` for the project of the API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"project_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"65890cc3-9766-4e46-92ac-46210ba878d4","name":"The permissions of the credentials don't allow this request.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project, or `self` for the project of the API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"project_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5bbac3cc-a53b-4323-8a44-682a9ed45a28","name":"The resource doesn't exist.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project, or `self` for the project of the API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"project_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"4ef232b5-296b-4429-8a1c-510b3cc81359","name":"Update a project","request":{"name":"Update a project","description":{"content":"A project can't change its own `permissions`, and a merchant can't change the payment method permissions.\nFields the user can't write, per its field permissions, are dropped.\n","type":"text/plain"},"url":{"path":["v1","merchants",":merchant_id","projects",":project_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"self","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"}},{"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"project_id","disabled":false,"description":{"content":"(Required) The ID of the project, or `self` for the project of the API key.","type":"text/plain"}}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"trade_name\": \"Acme Coffee\",\n  \"description\": \"Webshop\",\n  \"website_url\": \"https://www.example.com/\",\n  \"status\": \"active-production\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"4296b597-38a1-4d59-8455-b9786a425898","name":"The updated project.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project, or `self` for the project of the API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"project_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"trade_name\": \"Acme Coffee\",\n  \"description\": \"Webshop\",\n  \"website_url\": \"https://www.example.com/\",\n  \"status\": \"active-production\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"trade_name\": \"Acme Coffee\",\n  \"description\": \"Webshop\",\n  \"website_url\": \"https://www.example.com/\",\n  \"status\": \"active-testing\",\n  \"id\": \"b8a1c2d4-1234-4c5d-9e8f-0123456789ab\",\n  \"created\": \"2014-02-16T00:56:11.367Z\",\n  \"modified\": null,\n  \"external_project_id\": \"string\",\n  \"apikey\": \"0f4e2b7c9a1d4e6f8b3c5a7d9e1f2b4c\",\n  \"webhook_url\": \"https://www.example.com/webhook/\",\n  \"terms_and_conditions_url\": null,\n  \"locale\": null,\n  \"timezone\": null,\n  \"permissions\": {\n    \"key_0\": {\n      \"GET\": true,\n      \"POST\": true,\n      \"PUT\": true,\n      \"DELETE\": true,\n      \"*\": false\n    }\n  },\n  \"contracts\": {},\n  \"settings\": {},\n  \"ip_whitelist\": [\n    \"string\",\n    \"string\"\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ccbc4231-b1f5-4624-9570-107876b13c34","name":"The request isn't valid.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project, or `self` for the project of the API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"project_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"trade_name\": \"Acme Coffee\",\n  \"description\": \"Webshop\",\n  \"website_url\": \"https://www.example.com/\",\n  \"status\": \"active-production\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0d09644f-cebc-4d3c-bc32-4b32102dc533","name":"The credentials are missing, unknown or expired.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project, or `self` for the project of the API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"project_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"trade_name\": \"Acme Coffee\",\n  \"description\": \"Webshop\",\n  \"website_url\": \"https://www.example.com/\",\n  \"status\": \"active-production\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a6e0c504-a305-4b1f-b195-58ed100e03b9","name":"The permissions of the credentials don't allow this request.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project, or `self` for the project of the API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"project_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"trade_name\": \"Acme Coffee\",\n  \"description\": \"Webshop\",\n  \"website_url\": \"https://www.example.com/\",\n  \"status\": \"active-production\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"f95a4087-4e35-4a5f-9bad-9c236a5dc1f3","name":"Generate a new API key","request":{"name":"Generate a new API key","description":{"content":"Replaces the API key of the project. The old key stops working immediately. Send an empty body.","type":"text/plain"},"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","apikeys",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"self","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"}},{"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"project_id","disabled":false,"description":{"content":"(Required) The ID of the project, or `self` for the project of the API key.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"POST","body":{},"auth":null},"response":[{"id":"d517fbcc-5b38-4610-ae9e-c6b2f5767ac1","name":"The new API key.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","apikeys",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project, or `self` for the project of the API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"project_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"apikey\": \"0f4e2b7c9a1d4e6f8b3c5a7d9e1f2b4c\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c19a12b5-a0a0-4962-a730-fa0578faaf80","name":"The credentials are missing, unknown or expired.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","apikeys",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project, or `self` for the project of the API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"project_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"31ceb613-4f7d-484d-9564-130c4f910b95","name":"The permissions of the credentials don't allow this request.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","apikeys",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project, or `self` for the project of the API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"project_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"6a1ac9d7-3b4c-4ac7-83af-78b9ead2802b","name":"Retrieve the API key","request":{"name":"Retrieve the API key","description":{},"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","apikeys","current",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"self","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"}},{"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"project_id","disabled":false,"description":{"content":"(Required) The ID of the project, or `self` for the project of the API key.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"07f1e711-ec6f-4da6-bc79-0fd03351ba92","name":"The current API key of the project.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","apikeys","current",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project, or `self` for the project of the API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"project_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"apikey\": \"0f4e2b7c9a1d4e6f8b3c5a7d9e1f2b4c\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1fa7eccf-af1e-4276-99a0-de7b1d5881b5","name":"The credentials are missing, unknown or expired.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","apikeys","current",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project, or `self` for the project of the API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"project_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d0e36e9c-ecb0-40ff-88e1-796d74ebde95","name":"The permissions of the credentials don't allow this request.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","apikeys","current",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project, or `self` for the project of the API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"project_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]},{"name":"Project settings","description":"","item":[{"id":"bf308209-5895-4d6d-90d1-27d7b85aedeb","name":"Retrieve payment method settings","request":{"name":"Retrieve payment method settings","description":{},"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","settings",":payment_method",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"self","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"}},{"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"project_id","disabled":false,"description":{"content":"(Required) The ID of the project, or `self` for the project of the API key.","type":"text/plain"}},{"type":"any","value":"apple-pay","key":"payment_method","disabled":false,"description":{"content":"(Required) The payment method, such as `credit-card`, `apple-pay` or `bancontact`.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"02cda8b7-0426-4adc-bfd1-2c4be0ebbf65","name":"The settings of the payment method.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","settings",":payment_method",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project, or `self` for the project of the API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The payment method, such as `credit-card`, `apple-pay` or `bancontact`.","type":"text/plain"},"type":"any","value":"apple-pay","key":"payment_method"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"enabled_by_merchant\": false,\n  \"disabled_brands\": [\n    \"mastercard\"\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3eb01e92-60d1-48bf-96be-fe96bffc61e4","name":"The credentials are missing, unknown or expired.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","settings",":payment_method",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project, or `self` for the project of the API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The payment method, such as `credit-card`, `apple-pay` or `bancontact`.","type":"text/plain"},"type":"any","value":"apple-pay","key":"payment_method"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2763ca7c-5f48-4a04-9ad7-9bbecb849bee","name":"The permissions of the credentials don't allow this request.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","settings",":payment_method",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project, or `self` for the project of the API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The payment method, such as `credit-card`, `apple-pay` or `bancontact`.","type":"text/plain"},"type":"any","value":"apple-pay","key":"payment_method"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"18730c20-f076-4c24-b90f-9b96f94d1b54","name":"The resource doesn't exist.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","settings",":payment_method",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project, or `self` for the project of the API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The payment method, such as `credit-card`, `apple-pay` or `bancontact`.","type":"text/plain"},"type":"any","value":"apple-pay","key":"payment_method"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"811522f7-5928-4b60-abe6-70ccaafc8e5b","name":"Update payment method settings","request":{"name":"Update payment method settings","description":{"content":"Switches a payment method off or on without changing the contract. `disabled_brands` is for `credit-card` only.","type":"text/plain"},"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","settings",":payment_method",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"self","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"}},{"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"project_id","disabled":false,"description":{"content":"(Required) The ID of the project, or `self` for the project of the API key.","type":"text/plain"}},{"type":"any","value":"apple-pay","key":"payment_method","disabled":false,"description":{"content":"(Required) The payment method, such as `credit-card`, `apple-pay` or `bancontact`.","type":"text/plain"}}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"enabled_by_merchant\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"b5e2ddab-2e5c-4478-b62a-9b3cd6e998ef","name":"The updated settings.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","settings",":payment_method",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project, or `self` for the project of the API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The payment method, such as `credit-card`, `apple-pay` or `bancontact`.","type":"text/plain"},"type":"any","value":"apple-pay","key":"payment_method"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"enabled_by_merchant\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"enabled_by_merchant\": false,\n  \"disabled_brands\": [\n    \"mastercard\"\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ba3aa88a-bd00-45f4-bb7a-ea9e689defd9","name":"The request isn't valid.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","settings",":payment_method",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project, or `self` for the project of the API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The payment method, such as `credit-card`, `apple-pay` or `bancontact`.","type":"text/plain"},"type":"any","value":"apple-pay","key":"payment_method"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"enabled_by_merchant\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5e2e81cc-ad33-4d30-b15d-514ca271bdb5","name":"The credentials are missing, unknown or expired.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","settings",":payment_method",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project, or `self` for the project of the API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The payment method, such as `credit-card`, `apple-pay` or `bancontact`.","type":"text/plain"},"type":"any","value":"apple-pay","key":"payment_method"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"enabled_by_merchant\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d4a46a4c-a18c-461e-917f-7614aaf0efef","name":"The permissions of the credentials don't allow this request.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","settings",":payment_method",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project, or `self` for the project of the API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The payment method, such as `credit-card`, `apple-pay` or `bancontact`.","type":"text/plain"},"type":"any","value":"apple-pay","key":"payment_method"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"enabled_by_merchant\": false\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"85755591-d44b-4582-8964-e510c0c4d05f","name":"List currencies","request":{"name":"List currencies","description":{"content":"Returns the ISO 4217 currencies per payment method of the project. Authenticate with an API key, not a user token.","type":"text/plain"},"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","currencies",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"self","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"}},{"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"project_id","disabled":false,"description":{"content":"(Required) The ID of the project, or `self` for the project of the API key.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"558e2367-a639-40a4-a84b-27ff2a9410d5","name":"The currencies per payment method.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","currencies",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project, or `self` for the project of the API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"project_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"payment_methods\": {\n    \"apple-pay\": {\n      \"currencies\": [\n        \"EUR\"\n      ]\n    },\n    \"bancontact\": {\n      \"currencies\": [\n        \"EUR\"\n      ]\n    },\n    \"credit-card\": {\n      \"currencies\": [\n        \"EUR\",\n        \"USD\"\n      ]\n    },\n    \"google-pay\": {\n      \"currencies\": [\n        \"EUR\"\n      ]\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d6cb5511-b629-488e-9ee5-ae86e0c32552","name":"The credentials are missing or not valid, or aren't an API key.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","currencies",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project, or `self` for the project of the API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"project_id"}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"4810b8f0-a9f5-4db9-9094-5d31014885ff","name":"The permissions of the credentials don't allow this request.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","currencies",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of the credentials.","type":"text/plain"},"type":"any","value":"self","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project, or `self` for the project of the API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"project_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"status\": 403,\n    \"type\": \"Forbidden\",\n    \"value\": \"string\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]}]},{"name":"Search API","description":{"content":"Search the objects of your platform with Lucene queries, and follow new and changed orders with the order stream.\nSee the [Search API](https://platform-preview.dev.gingerpayments.com/api-reference/search) and [Stream API](https://platform-preview.dev.gingerpayments.com/api-reference/search/stream) guides.\n\nThe search operations below use the admin paths, which search all merchants of your platform. The same searches\nexist under `/v1/search/{object}/`, limited to your own merchant and the projects your account may access.\n","type":"text/plain"},"item":[{"name":"Search","description":"Search one type of object with a query.","item":[{"id":"2bbfd1c7-1089-4e31-b165-57f39f58c887","name":"Search orders","request":{"name":"Search orders","description":{"content":"Searches orders. Each result is an order with the fields of its transaction, prefixed with `t_`. Add\n`?format=csv` to get CSV. Supports `search_after`.\n","type":"text/plain"},"url":{"path":["v1","admin","search","orders",""],"host":["{{baseUrl}}"],"query":[{"disabled":true,"description":{"content":"Set to `csv` to get the results as CSV. (This can only be one of csv)","type":"text/plain"},"key":"format","value":"csv"}],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"status:completed AND currency:EUR\",\n  \"size\": 100,\n  \"search_after\": \"-1\",\n  \"sort\": \"created asc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"f097d878-1da0-4bcb-8a03-c7c6ead28cf1","name":"The matching orders.","originalRequest":{"url":{"path":["v1","admin","search","orders",""],"host":["{{baseUrl}}"],"query":[{"disabled":true,"description":{"content":"Set to `csv` to get the results as CSV. (This can only be one of csv)","type":"text/plain"},"key":"format","value":"csv"}],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"status:completed AND currency:EUR\",\n  \"size\": 100,\n  \"search_after\": \"-1\",\n  \"sort\": \"created asc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"hits\": 1250,\n  \"orders\": [\n    {\n      \"id\": \"738709ef-d555-4720-9e49-05b1c7f14657\",\n      \"merchant_id\": \"b8a1c2d4-1234-4c5d-9e8f-0123456789ab\",\n      \"project_id\": \"c5078bef-f741-4f26-a13f-26e7916bb00c\",\n      \"created\": \"2026-10-12T06:47:00.619883+00:00\",\n      \"status\": \"completed\",\n      \"amount\": 2995,\n      \"currency\": \"EUR\",\n      \"t_payment_method\": \"credit-card\",\n      \"t_status\": \"completed\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7cc813e0-4f09-4592-ab3d-749417de692a","name":"The query isn't valid, or `search_after` is combined with `start`.","originalRequest":{"url":{"path":["v1","admin","search","orders",""],"host":["{{baseUrl}}"],"query":[{"disabled":true,"description":{"content":"Set to `csv` to get the results as CSV. (This can only be one of csv)","type":"text/plain"},"key":"format","value":"csv"}],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"status:completed AND currency:EUR\",\n  \"size\": 100,\n  \"search_after\": \"-1\",\n  \"sort\": \"created asc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"38364b94-757f-47d6-a8b4-592551289b67","name":"The API key or token is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","search","orders",""],"host":["{{baseUrl}}"],"query":[{"disabled":true,"description":{"content":"Set to `csv` to get the results as CSV. (This can only be one of csv)","type":"text/plain"},"key":"format","value":"csv"}],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"status:completed AND currency:EUR\",\n  \"size\": 100,\n  \"search_after\": \"-1\",\n  \"sort\": \"created asc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"4a8a1863-9123-464b-a3dd-0cccfbf3461b","name":"The account has no permission for this path, or the search is for admins only.","originalRequest":{"url":{"path":["v1","admin","search","orders",""],"host":["{{baseUrl}}"],"query":[{"disabled":true,"description":{"content":"Set to `csv` to get the results as CSV. (This can only be one of csv)","type":"text/plain"},"key":"format","value":"csv"}],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"status:completed AND currency:EUR\",\n  \"size\": 100,\n  \"search_after\": \"-1\",\n  \"sort\": \"created asc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"a02a6693-a11d-4bc8-82c3-60fbfebf2a6a","name":"Search transactions","request":{"name":"Search transactions","description":{"content":"Searches transactions. Each result holds the fields of the transaction, prefixed with `t_`, and of its order.\nAdd `?format=csv` to get CSV. Supports `search_after`.\n","type":"text/plain"},"url":{"path":["v1","admin","search","transactions",""],"host":["{{baseUrl}}"],"query":[{"disabled":true,"description":{"content":"Set to `csv` to get the results as CSV. (This can only be one of csv)","type":"text/plain"},"key":"format","value":"csv"}],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"status:completed AND currency:EUR\",\n  \"size\": 100,\n  \"search_after\": \"-1\",\n  \"sort\": \"created asc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"ddcd2970-e377-4d61-b16b-40edbb5b3e54","name":"The matching transactions.","originalRequest":{"url":{"path":["v1","admin","search","transactions",""],"host":["{{baseUrl}}"],"query":[{"disabled":true,"description":{"content":"Set to `csv` to get the results as CSV. (This can only be one of csv)","type":"text/plain"},"key":"format","value":"csv"}],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"status:completed AND currency:EUR\",\n  \"size\": 100,\n  \"search_after\": \"-1\",\n  \"sort\": \"created asc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"hits\": 8618,\n  \"transactions\": [\n    {\n      \"id\": \"string\",\n      \"merchant_id\": \"string\",\n      \"project_id\": \"string\",\n      \"merchant_order_id\": \"string\",\n      \"created\": \"1954-06-19T12:11:41.764Z\",\n      \"modified\": \"1986-03-17T00:14:04.344Z\",\n      \"completed\": \"2002-02-18T10:17:24.401Z\",\n      \"status\": \"string\",\n      \"amount\": 3878,\n      \"currency\": \"string\",\n      \"description\": \"string\",\n      \"flags\": [\n        \"string\",\n        \"string\"\n      ],\n      \"refund_of_order_id\": \"string\",\n      \"refund_orders\": [\n        \"string\",\n        \"string\"\n      ],\n      \"chargeback_of_order_id\": \"string\",\n      \"chargeback_orders\": [\n        \"string\",\n        \"string\"\n      ],\n      \"c_first_name\": \"string\",\n      \"c_last_name\": \"string\",\n      \"c_email_address\": \"string\",\n      \"c_address\": \"string\",\n      \"c_country\": \"string\",\n      \"c_merchant_customer_id\": \"string\",\n      \"t_id\": \"string\",\n      \"t_status\": \"string\",\n      \"t_reason\": \"string\",\n      \"t_amount\": 9039,\n      \"t_currency\": \"string\",\n      \"t_description\": \"string\",\n      \"t_payment_method\": \"string\",\n      \"t_payment_method_brand\": \"string\",\n      \"t_credit_debit\": \"credit\",\n      \"t_balance\": \"external\",\n      \"t_created\": \"1967-09-26T07:36:48.835Z\",\n      \"t_modified\": \"1980-04-20T02:46:00.930Z\",\n      \"t_completed\": \"1958-05-14T18:43:23.770Z\",\n      \"t_settled\": \"1973-12-12T11:53:26.727Z\",\n      \"t_payout_batch_id\": \"string\",\n      \"t_msc_amount\": 362,\n      \"t_msc_currency\": \"string\",\n      \"t_icf_amount\": 7943,\n      \"t_icf_currency\": \"string\",\n      \"t_icp_amount\": 6276,\n      \"t_icp_currency\": \"string\",\n      \"t_payment_method_details__transaction_id\": \"string\",\n      \"t_payment_method_details__reference\": \"string\",\n      \"sort\": [\n        \"\",\n        \"\"\n      ]\n    },\n    {\n      \"id\": \"string\",\n      \"merchant_id\": \"string\",\n      \"project_id\": \"string\",\n      \"merchant_order_id\": \"string\",\n      \"created\": \"1954-04-24T15:46:44.028Z\",\n      \"modified\": \"2005-07-27T08:16:44.315Z\",\n      \"completed\": \"1968-02-29T20:39:51.521Z\",\n      \"status\": \"string\",\n      \"amount\": 422,\n      \"currency\": \"string\",\n      \"description\": \"string\",\n      \"flags\": [\n        \"string\",\n        \"string\"\n      ],\n      \"refund_of_order_id\": \"string\",\n      \"refund_orders\": [\n        \"string\",\n        \"string\"\n      ],\n      \"chargeback_of_order_id\": \"string\",\n      \"chargeback_orders\": [\n        \"string\",\n        \"string\"\n      ],\n      \"c_first_name\": \"string\",\n      \"c_last_name\": \"string\",\n      \"c_email_address\": \"string\",\n      \"c_address\": \"string\",\n      \"c_country\": \"string\",\n      \"c_merchant_customer_id\": \"string\",\n      \"t_id\": \"string\",\n      \"t_status\": \"string\",\n      \"t_reason\": \"string\",\n      \"t_amount\": 9001,\n      \"t_currency\": \"string\",\n      \"t_description\": \"string\",\n      \"t_payment_method\": \"string\",\n      \"t_payment_method_brand\": \"string\",\n      \"t_credit_debit\": \"debit\",\n      \"t_balance\": \"test\",\n      \"t_created\": \"1948-11-16T16:43:32.567Z\",\n      \"t_modified\": \"1972-12-06T05:50:39.009Z\",\n      \"t_completed\": \"2004-11-09T03:03:25.690Z\",\n      \"t_settled\": \"1962-03-11T23:37:18.433Z\",\n      \"t_payout_batch_id\": \"string\",\n      \"t_msc_amount\": 785,\n      \"t_msc_currency\": \"string\",\n      \"t_icf_amount\": 7105,\n      \"t_icf_currency\": \"string\",\n      \"t_icp_amount\": 7593,\n      \"t_icp_currency\": \"string\",\n      \"t_payment_method_details__transaction_id\": \"string\",\n      \"t_payment_method_details__reference\": \"string\",\n      \"sort\": [\n        \"\",\n        \"\"\n      ]\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"37a5d814-038c-4652-96ea-ee28f28e3c81","name":"The query isn't valid, or `search_after` is combined with `start`.","originalRequest":{"url":{"path":["v1","admin","search","transactions",""],"host":["{{baseUrl}}"],"query":[{"disabled":true,"description":{"content":"Set to `csv` to get the results as CSV. (This can only be one of csv)","type":"text/plain"},"key":"format","value":"csv"}],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"status:completed AND currency:EUR\",\n  \"size\": 100,\n  \"search_after\": \"-1\",\n  \"sort\": \"created asc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"a87b6272-ac67-4a0c-94b4-20f3760fd73f","name":"The API key or token is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","search","transactions",""],"host":["{{baseUrl}}"],"query":[{"disabled":true,"description":{"content":"Set to `csv` to get the results as CSV. (This can only be one of csv)","type":"text/plain"},"key":"format","value":"csv"}],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"status:completed AND currency:EUR\",\n  \"size\": 100,\n  \"search_after\": \"-1\",\n  \"sort\": \"created asc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"5d14a7e7-d2e9-47c4-b4d1-6f9a4d11174d","name":"The account has no permission for this path, or the search is for admins only.","originalRequest":{"url":{"path":["v1","admin","search","transactions",""],"host":["{{baseUrl}}"],"query":[{"disabled":true,"description":{"content":"Set to `csv` to get the results as CSV. (This can only be one of csv)","type":"text/plain"},"key":"format","value":"csv"}],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"status:completed AND currency:EUR\",\n  \"size\": 100,\n  \"search_after\": \"-1\",\n  \"sort\": \"created asc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"6e9914ec-0819-4708-860a-7852827699f6","name":"Search merchants","request":{"name":"Search merchants","description":{"content":"Searches merchants. Admins only.","type":"text/plain"},"url":{"path":["v1","admin","search","merchants",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"\\\"Acme Coffee\\\"\",\n  \"size\": 20,\n  \"sort\": \"created desc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"55a8a194-8f5a-4566-af28-3c1dcace7393","name":"The matching merchants.","originalRequest":{"url":{"path":["v1","admin","search","merchants",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"\\\"Acme Coffee\\\"\",\n  \"size\": 20,\n  \"sort\": \"created desc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"hits\": 1,\n  \"merchants\": [\n    {\n      \"id\": \"b8a1c2d4-1234-4c5d-9e8f-0123456789ab\",\n      \"fields\": {\n        \"id\": \"b8a1c2d4-1234-4c5d-9e8f-0123456789ab\",\n        \"company_name\": \"Acme Coffee\",\n        \"email\": \"ops@example.com\",\n        \"status\": \"active\",\n        \"created\": \"2026-06-10T09:12:00Z\"\n      }\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fdc3f71c-b20e-456b-8ce7-c312fdeecd9d","name":"The query isn't valid, or `search_after` is combined with `start`.","originalRequest":{"url":{"path":["v1","admin","search","merchants",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"\\\"Acme Coffee\\\"\",\n  \"size\": 20,\n  \"sort\": \"created desc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"45e39c49-684e-4ab0-addd-edf100da93e7","name":"The API key or token is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","search","merchants",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"\\\"Acme Coffee\\\"\",\n  \"size\": 20,\n  \"sort\": \"created desc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"d39bf225-9c1b-4e3b-a8a2-f6d4899534dc","name":"The account has no permission for this path, or the search is for admins only.","originalRequest":{"url":{"path":["v1","admin","search","merchants",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"\\\"Acme Coffee\\\"\",\n  \"size\": 20,\n  \"sort\": \"created desc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"fc83afe5-832f-4e94-ad2f-6d650e072837","name":"Search projects","request":{"name":"Search projects","description":{"content":"Searches projects. Each result has the fields of the project, and the fields of its merchant prefixed with `m_`.","type":"text/plain"},"url":{"path":["v1","admin","search","projects",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"\\\"Acme Coffee\\\"\",\n  \"size\": 20,\n  \"sort\": \"created desc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"5dbeec20-9033-49db-aca6-5bf21b0007b4","name":"The matching projects.","originalRequest":{"url":{"path":["v1","admin","search","projects",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"\\\"Acme Coffee\\\"\",\n  \"size\": 20,\n  \"sort\": \"created desc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"hits\": 80,\n  \"projects\": [\n    {\n      \"id\": \"string\",\n      \"fields\": {\n        \"id\": \"string\",\n        \"trade_name\": \"string\",\n        \"description\": \"string\",\n        \"status\": \"string\",\n        \"website_url\": \"string\",\n        \"webhook_url\": \"string\",\n        \"contact_name\": \"string\",\n        \"contact_email\": \"string\",\n        \"created\": \"1998-09-23T02:11:30.713Z\",\n        \"modified\": \"2006-01-22T05:26:01.760Z\",\n        \"m_id\": \"string\",\n        \"m_company_name\": \"string\",\n        \"m_status\": \"string\",\n        \"key_0\": \"string\"\n      }\n    },\n    {\n      \"id\": \"string\",\n      \"fields\": {\n        \"id\": \"string\",\n        \"trade_name\": \"string\",\n        \"description\": \"string\",\n        \"status\": \"string\",\n        \"website_url\": \"string\",\n        \"webhook_url\": \"string\",\n        \"contact_name\": \"string\",\n        \"contact_email\": \"string\",\n        \"created\": \"1979-07-05T18:21:32.320Z\",\n        \"modified\": \"1966-01-23T05:36:37.108Z\",\n        \"m_id\": \"string\",\n        \"m_company_name\": \"string\",\n        \"m_status\": \"string\"\n      }\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"24e94bac-88c7-4541-b5a7-d5d25cc31156","name":"The query isn't valid, or `search_after` is combined with `start`.","originalRequest":{"url":{"path":["v1","admin","search","projects",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"\\\"Acme Coffee\\\"\",\n  \"size\": 20,\n  \"sort\": \"created desc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"16376e19-3c27-4313-ad0d-e5b698e72e5c","name":"The API key or token is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","search","projects",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"\\\"Acme Coffee\\\"\",\n  \"size\": 20,\n  \"sort\": \"created desc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"8dc47a8e-5f63-4acf-acf8-da6917a3d9ed","name":"The account has no permission for this path, or the search is for admins only.","originalRequest":{"url":{"path":["v1","admin","search","projects",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"\\\"Acme Coffee\\\"\",\n  \"size\": 20,\n  \"sort\": \"created desc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"7450cac9-08bc-4af0-8ee4-aa1dc5cd7744","name":"Search users","request":{"name":"Search users","description":{},"url":{"path":["v1","admin","search","users",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"\\\"Acme Coffee\\\"\",\n  \"size\": 20,\n  \"sort\": \"created desc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"79778847-4efd-47a8-9fb4-e8ce9f460c27","name":"The matching users.","originalRequest":{"url":{"path":["v1","admin","search","users",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"\\\"Acme Coffee\\\"\",\n  \"size\": 20,\n  \"sort\": \"created desc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"hits\": 1197,\n  \"users\": [\n    {\n      \"fields\": {\n        \"id\": \"string\",\n        \"email\": \"string\",\n        \"merchant_id\": \"string\",\n        \"status\": \"string\",\n        \"created\": \"1947-11-02T01:39:14.744Z\",\n        \"modified\": \"2006-12-31T17:13:51.785Z\",\n        \"last_login\": \"1982-08-23T18:13:59.845Z\",\n        \"key_0\": \"string\",\n        \"key_1\": 2945.0016551190906\n      }\n    },\n    {\n      \"fields\": {\n        \"id\": \"string\",\n        \"email\": \"string\",\n        \"merchant_id\": \"string\",\n        \"status\": \"string\",\n        \"created\": \"2015-01-25T09:45:16.339Z\",\n        \"modified\": \"1992-08-12T16:36:49.362Z\",\n        \"last_login\": \"2025-06-26T00:01:43.393Z\",\n        \"key_0\": 3262,\n        \"key_1\": 6567.967475840997\n      }\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1556168a-f05b-4331-8c7c-38db6ac5c544","name":"The query isn't valid, or `search_after` is combined with `start`.","originalRequest":{"url":{"path":["v1","admin","search","users",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"\\\"Acme Coffee\\\"\",\n  \"size\": 20,\n  \"sort\": \"created desc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"67768ef8-4c8b-4050-b8f6-d3f6f0c15afd","name":"The API key or token is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","search","users",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"\\\"Acme Coffee\\\"\",\n  \"size\": 20,\n  \"sort\": \"created desc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"cbb9e5d9-4229-4093-990a-0e14982e8f83","name":"The account has no permission for this path, or the search is for admins only.","originalRequest":{"url":{"path":["v1","admin","search","users",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"\\\"Acme Coffee\\\"\",\n  \"size\": 20,\n  \"sort\": \"created desc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"eaf3b06f-456c-4e7c-b979-04e37f59cd29","name":"Search payment links","request":{"name":"Search payment links","description":{},"url":{"path":["v1","admin","search","paymentlinks",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"\\\"Acme Coffee\\\"\",\n  \"size\": 20,\n  \"sort\": \"created desc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"62a13563-3f40-4389-b5c9-69dd35bc6e3a","name":"The matching payment links.","originalRequest":{"url":{"path":["v1","admin","search","paymentlinks",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"\\\"Acme Coffee\\\"\",\n  \"size\": 20,\n  \"sort\": \"created desc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"hits\": 9255,\n  \"payment_links\": [\n    {\n      \"id\": \"string\",\n      \"fields\": {\n        \"id\": \"string\",\n        \"merchant_id\": \"string\",\n        \"project_id\": \"string\",\n        \"merchant_order_id\": \"string\",\n        \"description\": \"string\",\n        \"amount\": 7286,\n        \"currency\": \"string\",\n        \"status\": \"string\",\n        \"reason\": \"string\",\n        \"payment_url\": \"string\",\n        \"payment_methods\": \"string\",\n        \"expiration_period\": \"string\",\n        \"created\": \"1977-07-21T21:30:44.656Z\",\n        \"modified\": \"2019-07-16T21:16:22.271Z\",\n        \"key_0\": \"string\",\n        \"key_1\": \"string\",\n        \"key_2\": true\n      }\n    },\n    {\n      \"id\": \"string\",\n      \"fields\": {\n        \"id\": \"string\",\n        \"merchant_id\": \"string\",\n        \"project_id\": \"string\",\n        \"merchant_order_id\": \"string\",\n        \"description\": \"string\",\n        \"amount\": 8403,\n        \"currency\": \"string\",\n        \"status\": \"string\",\n        \"reason\": \"string\",\n        \"payment_url\": \"string\",\n        \"payment_methods\": \"string\",\n        \"expiration_period\": \"string\",\n        \"created\": \"1959-04-06T11:30:15.753Z\",\n        \"modified\": \"1999-03-04T04:11:58.147Z\"\n      }\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4f39dcdc-9c7a-446a-8b14-9704f281db5e","name":"The query isn't valid, or `search_after` is combined with `start`.","originalRequest":{"url":{"path":["v1","admin","search","paymentlinks",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"\\\"Acme Coffee\\\"\",\n  \"size\": 20,\n  \"sort\": \"created desc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"60f9b566-df8b-46ca-bd5d-5ed37deca4d2","name":"The API key or token is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","search","paymentlinks",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"\\\"Acme Coffee\\\"\",\n  \"size\": 20,\n  \"sort\": \"created desc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"8eaa75d2-3cd7-4b2e-a62f-7de9e2569763","name":"The account has no permission for this path, or the search is for admins only.","originalRequest":{"url":{"path":["v1","admin","search","paymentlinks",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"\\\"Acme Coffee\\\"\",\n  \"size\": 20,\n  \"sort\": \"created desc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"94b1e917-5fe2-48ed-b3bd-1b38c7fd145c","name":"Search API calls","request":{"name":"Search API calls","description":{"content":"Searches the log of requests to the API, with their responses.","type":"text/plain"},"url":{"path":["v1","admin","search","apicalls",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"\\\"Acme Coffee\\\"\",\n  \"size\": 20,\n  \"sort\": \"created desc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"cd5943bc-bf87-4325-8d68-1b2f7fc8d8a8","name":"The matching API calls.","originalRequest":{"url":{"path":["v1","admin","search","apicalls",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"\\\"Acme Coffee\\\"\",\n  \"size\": 20,\n  \"sort\": \"created desc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"hits\": 3435,\n  \"apicalls\": [\n    {\n      \"id\": \"string\",\n      \"account_id\": \"string\",\n      \"account_type\": \"string\",\n      \"merchant_id\": \"string\",\n      \"created\": \"1997-11-20T03:50:19.202Z\",\n      \"remote_ip\": \"string\",\n      \"request_method\": \"string\",\n      \"request_path\": \"string\",\n      \"request_querystring\": \"string\",\n      \"request_headers\": [\n        \"string\",\n        \"string\"\n      ],\n      \"request_body\": \"string\",\n      \"response_status\": 5371,\n      \"response_headers\": [\n        \"string\",\n        \"string\"\n      ],\n      \"response_body\": \"string\",\n      \"key_0\": 9341.661772859956\n    },\n    {\n      \"id\": \"string\",\n      \"account_id\": \"string\",\n      \"account_type\": \"string\",\n      \"merchant_id\": \"string\",\n      \"created\": \"2010-07-19T21:00:19.918Z\",\n      \"remote_ip\": \"string\",\n      \"request_method\": \"string\",\n      \"request_path\": \"string\",\n      \"request_querystring\": \"string\",\n      \"request_headers\": [\n        \"string\",\n        \"string\"\n      ],\n      \"request_body\": \"string\",\n      \"response_status\": 1763,\n      \"response_headers\": [\n        \"string\",\n        \"string\"\n      ],\n      \"response_body\": \"string\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"787f5780-e8f8-49fc-a247-dedf062c0fc2","name":"The query isn't valid, or `search_after` is combined with `start`.","originalRequest":{"url":{"path":["v1","admin","search","apicalls",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"\\\"Acme Coffee\\\"\",\n  \"size\": 20,\n  \"sort\": \"created desc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"918e668b-cb41-436a-aa58-428f41456432","name":"The API key or token is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","search","apicalls",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"\\\"Acme Coffee\\\"\",\n  \"size\": 20,\n  \"sort\": \"created desc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"c736c540-2b87-41ef-99e2-c7a795ebfe99","name":"The account has no permission for this path, or the search is for admins only.","originalRequest":{"url":{"path":["v1","admin","search","apicalls",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"\\\"Acme Coffee\\\"\",\n  \"size\": 20,\n  \"sort\": \"created desc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"da3e3e48-7d5e-4578-9092-d2198ec23d7d","name":"Search webhooks","request":{"name":"Search webhooks","description":{"content":"Searches the log of webhook calls to merchants, with the responses of their servers.","type":"text/plain"},"url":{"path":["v1","admin","search","webhooks",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"\\\"Acme Coffee\\\"\",\n  \"size\": 20,\n  \"sort\": \"created desc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"5e591ca8-54d2-49e0-b397-86530437f7e3","name":"The matching webhook calls.","originalRequest":{"url":{"path":["v1","admin","search","webhooks",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"\\\"Acme Coffee\\\"\",\n  \"size\": 20,\n  \"sort\": \"created desc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"hits\": 1317,\n  \"webhook_calls\": [\n    {\n      \"id\": \"string\",\n      \"merchant_id\": \"string\",\n      \"project_id\": \"string\",\n      \"send\": \"2021-02-14T05:11:58.905Z\",\n      \"request_method\": \"string\",\n      \"request_url\": \"string\",\n      \"request_headers\": [\n        \"string\",\n        \"string\"\n      ],\n      \"request_body\": \"string\",\n      \"response_status\": 3622,\n      \"response_headers\": [\n        \"string\",\n        \"string\"\n      ],\n      \"response_body\": \"string\"\n    },\n    {\n      \"id\": \"string\",\n      \"merchant_id\": \"string\",\n      \"project_id\": \"string\",\n      \"send\": \"1987-08-18T04:06:36.939Z\",\n      \"request_method\": \"string\",\n      \"request_url\": \"string\",\n      \"request_headers\": [\n        \"string\",\n        \"string\"\n      ],\n      \"request_body\": \"string\",\n      \"response_status\": 4709,\n      \"response_headers\": [\n        \"string\",\n        \"string\"\n      ],\n      \"response_body\": \"string\",\n      \"key_0\": 3373\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"41517a66-bb84-466d-8ab2-d78d22493443","name":"The query isn't valid, or `search_after` is combined with `start`.","originalRequest":{"url":{"path":["v1","admin","search","webhooks",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"\\\"Acme Coffee\\\"\",\n  \"size\": 20,\n  \"sort\": \"created desc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"25e5091d-1b1a-43f7-989e-6dcd4e961ba8","name":"The API key or token is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","search","webhooks",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"\\\"Acme Coffee\\\"\",\n  \"size\": 20,\n  \"sort\": \"created desc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"81055254-e583-495d-93b7-4b68b7deb74d","name":"The account has no permission for this path, or the search is for admins only.","originalRequest":{"url":{"path":["v1","admin","search","webhooks",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"query\": \"\\\"Acme Coffee\\\"\",\n  \"size\": 20,\n  \"sort\": \"created desc\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]},{"name":"Stream","description":"Follow new and changed orders.","item":[{"id":"6b10f248-93b7-4428-9536-eb480c940db7","name":"Read the order stream","request":{"name":"Read the order stream","description":{"content":"Returns the orders that changed after `pointer`, in the order they changed. Each order is in the stream once,\nwith its latest state: a change moves it to the end with a higher `sequence`. Admins only.\n","type":"text/plain"},"url":{"path":["v1","admin","stream","orders",""],"host":["{{baseUrl}}"],"query":[{"disabled":true,"description":{"content":"The highest `sequence` you've processed. Start at 0.","type":"text/plain"},"key":"pointer","value":"0"},{"disabled":true,"description":{"content":"The maximum number of orders to return.","type":"text/plain"},"key":"limit","value":"100"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"8fe2b4c6-2062-4e1a-a688-2e49c080ab91","name":"The orders after the pointer. An empty list means you're up to date.","originalRequest":{"url":{"path":["v1","admin","stream","orders",""],"host":["{{baseUrl}}"],"query":[{"disabled":true,"description":{"content":"The highest `sequence` you've processed. Start at 0.","type":"text/plain"},"key":"pointer","value":"0"},{"disabled":true,"description":{"content":"The maximum number of orders to return.","type":"text/plain"},"key":"limit","value":"100"}],"variable":[]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"results\": [\n    {\n      \"sequence\": 1,\n      \"data\": {\n        \"id\": \"738709ef-d555-4720-9e49-05b1c7f14657\",\n        \"merchant_id\": \"b8a1c2d4-1234-4c5d-9e8f-0123456789ab\",\n        \"project_id\": \"c5078bef-f741-4f26-a13f-26e7916bb00c\",\n        \"created\": \"2026-10-12T06:47:00.619883+00:00\",\n        \"occurred\": \"2026-10-12T06:48:00.619883+00:00\",\n        \"status\": \"completed\",\n        \"amount\": 2995,\n        \"currency\": \"EUR\",\n        \"description\": \"Acme Coffee order 1042\",\n        \"merchant_order_id\": \"1042\",\n        \"flags\": [\n          \"is-test\"\n        ],\n        \"transactions\": [\n          {\n            \"id\": \"979becbd-e91d-4656-802e-ce0bd290f56a\",\n            \"amount\": 2995,\n            \"status\": \"completed\",\n            \"channel\": \"ecom\",\n            \"credit_debit\": \"credit\",\n            \"payment_method\": \"credit-card\",\n            \"payment_method_brand\": \"visa\",\n            \"payment_method_details\": {\n              \"truncated_pan\": \"411111******1111\",\n              \"vault_token\": \"1386995d-15f3-45e0-a9d3-2f769f672f2c\"\n            },\n            \"settlement_amount\": 2995,\n            \"settlement_currency\": \"EUR\",\n            \"occurred\": \"2026-10-12T06:48:00.619883+00:00\",\n            \"events\": []\n          }\n        ]\n      }\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ecfaa893-fd46-4f0d-b15e-237d19094c00","name":"The API key or token is missing or not valid.","originalRequest":{"url":{"path":["v1","admin","stream","orders",""],"host":["{{baseUrl}}"],"query":[{"disabled":true,"description":{"content":"The highest `sequence` you've processed. Start at 0.","type":"text/plain"},"key":"pointer","value":"0"},{"disabled":true,"description":{"content":"The maximum number of orders to return.","type":"text/plain"},"key":"limit","value":"100"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"6fc92af5-d080-4edf-961b-e95a26a3b925","name":"The account has no permission for this path, or the search is for admins only.","originalRequest":{"url":{"path":["v1","admin","stream","orders",""],"host":["{{baseUrl}}"],"query":[{"disabled":true,"description":{"content":"The highest `sequence` you've processed. Start at 0.","type":"text/plain"},"key":"pointer","value":"0"},{"disabled":true,"description":{"content":"The maximum number of orders to return.","type":"text/plain"},"key":"limit","value":"100"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]}]},{"name":"Fraud prevention rules API","description":{"content":"Manage the Ginger fraud rules of a project: a denylist of card BINs, card countries, customer countries, IP ranges\nand cards. See [Ginger fraud rules](https://platform-preview.dev.gingerpayments.com/risk/fraud-prevention/ginger-rules) for how the rules work, and the\n[Fraud prevention rules API](https://platform-preview.dev.gingerpayments.com/api-reference/fraud-prevention) guide.\n\nAs an admin, use the same paths under `/v1/admin/`, such as\n`/v1/admin/merchants/{merchant_id}/projects/{project_id}/fraud-prevention/rules/`.\n","type":"text/plain"},"item":[{"name":"Rules","description":"The fraud rules of a project, per rule type.","item":[{"id":"f0d19854-b4ff-47d8-9e63-fccd856db77b","name":"List all rules","request":{"name":"List all rules","description":{"content":"Returns all fraud rules of the project, grouped by rule type.","type":"text/plain"},"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"}},{"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id","disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"50d99033-f7a8-4524-9480-24cad87406a4","name":"The rules of the project.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"project_id\": \"c5078bef-f741-4f26-a13f-26e7916bb00c\",\n  \"bin_countries\": [\n    {\n      \"country_code\": \"BE\",\n      \"rule_id\": \"2eaac750-1793-431e-ac63-5d983ad8bbb5\"\n    },\n    {\n      \"country_code\": \"BE\",\n      \"rule_id\": \"2eaac750-1793-431e-ac63-5d983ad8bbb5\"\n    }\n  ],\n  \"bins\": [\n    {\n      \"bin\": \"378282\",\n      \"rule_id\": \"0aa3db40-0035-4659-9cf4-f05308884d4c\"\n    },\n    {\n      \"bin\": \"378282\",\n      \"rule_id\": \"0aa3db40-0035-4659-9cf4-f05308884d4c\"\n    }\n  ],\n  \"countries\": [\n    {\n      \"country_code\": \"NL\",\n      \"rule_id\": \"fe69a9df-dbf1-4b30-b795-c59688cccc30\"\n    },\n    {\n      \"country_code\": \"NL\",\n      \"rule_id\": \"fe69a9df-dbf1-4b30-b795-c59688cccc30\"\n    }\n  ],\n  \"ips\": [\n    {\n      \"cidr\": \"192.0.2.0/24\",\n      \"rule_id\": \"97d85085-fb0d-435c-a70c-6ebe0a17b50c\"\n    },\n    {\n      \"cidr\": \"192.0.2.0/24\",\n      \"rule_id\": \"97d85085-fb0d-435c-a70c-6ebe0a17b50c\"\n    }\n  ],\n  \"pans\": [\n    {\n      \"vault_token\": \"a7af603c-edea-496d-9181-5e684caa92f9\",\n      \"rule_id\": \"752009fb-d383-4ce0-a7af-c2da31011609\",\n      \"brand\": \"visa\",\n      \"masked_pan\": \"************1111\"\n    },\n    {\n      \"vault_token\": \"a7af603c-edea-496d-9181-5e684caa92f9\",\n      \"rule_id\": \"752009fb-d383-4ce0-a7af-c2da31011609\",\n      \"brand\": \"visa\",\n      \"masked_pan\": \"************1111\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"abfa05da-9b65-40cc-a780-78b2c896ae7b","name":"The API key or token is missing or not valid.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"14ef18e9-463b-4f0f-99a7-88c5c7793450","name":"The account has no permission for this path.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"3506e901-e390-42c2-b271-7dcf9a68a6de","name":"List BIN country rules","request":{"name":"List BIN country rules","description":{},"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","bin-countries",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"}},{"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id","disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"49d6ee53-7434-48ed-ac05-2e7373e2efc2","name":"The BIN country rules of the project.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","bin-countries",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"country_code\": \"BE\",\n    \"rule_id\": \"2eaac750-1793-431e-ac63-5d983ad8bbb5\"\n  },\n  {\n    \"country_code\": \"BE\",\n    \"rule_id\": \"2eaac750-1793-431e-ac63-5d983ad8bbb5\"\n  }\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"d2c445ce-a1ec-4d10-96e4-9d7c82b3478b","name":"The API key or token is missing or not valid.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","bin-countries",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"320b4c4c-9ecc-4f98-bf12-b8635d6ff430","name":"Create a BIN country rule","request":{"name":"Create a BIN country rule","description":{"content":"Blocks card payments with cards issued in this country. BIN country lookups aren't 100% accurate: banks\nsometimes use BIN ranges of other banks.\n","type":"text/plain"},"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","bin-countries",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"}},{"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id","disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"}}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"country_code\": \"BE\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"ed9073df-9315-4e52-8826-52e6a4a63a56","name":"The rule is created.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","bin-countries",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"country_code\": \"BE\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"country_code\": \"BE\",\n  \"rule_id\": \"2eaac750-1793-431e-ac63-5d983ad8bbb5\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bd95cd01-fe4a-4ab6-a1c8-23e4466b4972","name":"The value of the rule isn't valid.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","bin-countries",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"country_code\": \"BE\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"c8b08268-f7be-4cbd-b956-d54f66006c0b","name":"The API key or token is missing or not valid.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","bin-countries",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"country_code\": \"BE\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"7cdd9fee-5592-4252-b269-27b9a3fa6fca","name":"Delete a BIN country rule","request":{"name":"Delete a BIN country rule","description":{},"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","bin-countries",":rule_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"}},{"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id","disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"}},{"type":"any","value":"0103b9f8-5886-4164-a4db-49d8d6bb73a9","key":"rule_id","disabled":false,"description":{"content":"(Required) The `rule_id` of the rule.","type":"text/plain"}}]},"method":"DELETE","body":{},"auth":null},"response":[{"id":"f8ba6027-9e54-4da4-b126-437fd5326c47","name":"The rule is deleted.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","bin-countries",":rule_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The `rule_id` of the rule.","type":"text/plain"},"type":"any","value":"0103b9f8-5886-4164-a4db-49d8d6bb73a9","key":"rule_id"}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"d8f44278-2175-4d60-876d-938d8795cc41","name":"The API key or token is missing or not valid.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","bin-countries",":rule_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The `rule_id` of the rule.","type":"text/plain"},"type":"any","value":"0103b9f8-5886-4164-a4db-49d8d6bb73a9","key":"rule_id"}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"DELETE","body":{}},"status":"Unauthorized","code":401,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"17ff879c-9f0c-48b5-bbb8-1973dd692864","name":"List BIN rules","request":{"name":"List BIN rules","description":{},"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","bins",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"}},{"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id","disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"bebbb2c9-2b08-44ea-8b04-5e00806280d5","name":"The BIN rules of the project.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","bins",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"bin\": \"378282\",\n    \"rule_id\": \"0aa3db40-0035-4659-9cf4-f05308884d4c\"\n  },\n  {\n    \"bin\": \"378282\",\n    \"rule_id\": \"0aa3db40-0035-4659-9cf4-f05308884d4c\"\n  }\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"c736de01-5dde-4a96-b970-adf480f3951d","name":"The API key or token is missing or not valid.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","bins",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c58574fc-633e-4109-a9d6-e51a2ec93967","name":"Create a BIN rule","request":{"name":"Create a BIN rule","description":{"content":"Blocks card payments with card numbers that start with this BIN.","type":"text/plain"},"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","bins",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"}},{"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id","disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"}}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"bin\": \"378282\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"141dcd45-de54-41eb-86fd-d14ed37a1a79","name":"The rule is created.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","bins",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"bin\": \"378282\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"bin\": \"378282\",\n  \"rule_id\": \"0aa3db40-0035-4659-9cf4-f05308884d4c\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a1bfff5e-b60d-4403-9bf5-63462aca6b3e","name":"The value of the rule isn't valid.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","bins",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"bin\": \"378282\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"7932c197-4b72-4fa4-9ade-3550948c7c0c","name":"The API key or token is missing or not valid.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","bins",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"bin\": \"378282\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"6a2123b8-cb9a-4b2c-a61c-9e1bc991ab39","name":"Delete a BIN rule","request":{"name":"Delete a BIN rule","description":{},"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","bins",":rule_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"}},{"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id","disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"}},{"type":"any","value":"0103b9f8-5886-4164-a4db-49d8d6bb73a9","key":"rule_id","disabled":false,"description":{"content":"(Required) The `rule_id` of the rule.","type":"text/plain"}}]},"method":"DELETE","body":{},"auth":null},"response":[{"id":"85210e0d-6371-47e4-bccf-5e55ca8c825d","name":"The rule is deleted.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","bins",":rule_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The `rule_id` of the rule.","type":"text/plain"},"type":"any","value":"0103b9f8-5886-4164-a4db-49d8d6bb73a9","key":"rule_id"}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"1e52f596-f9f6-4ab2-9649-a0880a167525","name":"The API key or token is missing or not valid.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","bins",":rule_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The `rule_id` of the rule.","type":"text/plain"},"type":"any","value":"0103b9f8-5886-4164-a4db-49d8d6bb73a9","key":"rule_id"}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"DELETE","body":{}},"status":"Unauthorized","code":401,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c6996026-e7cf-496d-9cd3-77ec84a118eb","name":"List GeoIP country rules","request":{"name":"List GeoIP country rules","description":{},"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","countries",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"}},{"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id","disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"4933dc3f-dd21-468c-b890-318208bc8808","name":"The GeoIP country rules of the project.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","countries",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"country_code\": \"NL\",\n    \"rule_id\": \"fe69a9df-dbf1-4b30-b795-c59688cccc30\"\n  },\n  {\n    \"country_code\": \"NL\",\n    \"rule_id\": \"fe69a9df-dbf1-4b30-b795-c59688cccc30\"\n  }\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"ac2bd55a-0cce-4510-8226-2b386b89963a","name":"The API key or token is missing or not valid.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","countries",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"532104db-7cfb-46d7-9e1e-98a528fe85bb","name":"Create a GeoIP country rule","request":{"name":"Create a GeoIP country rule","description":{"content":"Blocks payments of customers whose IP address is located in this country. GeoIP lookups are about 99.8%\naccurate at country level. Payments without a customer IP address aren't checked.\n","type":"text/plain"},"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","countries",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"}},{"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id","disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"}}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"country_code\": \"NL\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"72296cd0-0c2f-4acc-9e9f-bd5bad555b67","name":"The rule is created.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","countries",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"country_code\": \"NL\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"country_code\": \"NL\",\n  \"rule_id\": \"fe69a9df-dbf1-4b30-b795-c59688cccc30\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c760616b-4a6a-4a92-8bac-bdbf97680643","name":"The value of the rule isn't valid.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","countries",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"country_code\": \"NL\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"57eaeade-28f3-4c06-ae9c-e56e1cb22a64","name":"The API key or token is missing or not valid.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","countries",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"country_code\": \"NL\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"4b77e611-2161-41a7-bf48-e4b046b7caf2","name":"Delete a GeoIP country rule","request":{"name":"Delete a GeoIP country rule","description":{},"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","countries",":rule_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"}},{"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id","disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"}},{"type":"any","value":"0103b9f8-5886-4164-a4db-49d8d6bb73a9","key":"rule_id","disabled":false,"description":{"content":"(Required) The `rule_id` of the rule.","type":"text/plain"}}]},"method":"DELETE","body":{},"auth":null},"response":[{"id":"6b98656c-f08d-4b64-9d19-ad7e6ddb8daf","name":"The rule is deleted.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","countries",":rule_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The `rule_id` of the rule.","type":"text/plain"},"type":"any","value":"0103b9f8-5886-4164-a4db-49d8d6bb73a9","key":"rule_id"}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"ad201035-bde7-49e4-85a7-2811bcc1b77c","name":"The API key or token is missing or not valid.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","countries",":rule_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The `rule_id` of the rule.","type":"text/plain"},"type":"any","value":"0103b9f8-5886-4164-a4db-49d8d6bb73a9","key":"rule_id"}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"DELETE","body":{}},"status":"Unauthorized","code":401,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c8618552-7ec3-4c82-9d6d-5908522f194b","name":"List IP range rules","request":{"name":"List IP range rules","description":{},"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","ips",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"}},{"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id","disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"4194479f-0792-43a1-942d-58d48e61525d","name":"The IP range rules of the project.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","ips",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"cidr\": \"192.0.2.0/24\",\n    \"rule_id\": \"97d85085-fb0d-435c-a70c-6ebe0a17b50c\"\n  },\n  {\n    \"cidr\": \"192.0.2.0/24\",\n    \"rule_id\": \"97d85085-fb0d-435c-a70c-6ebe0a17b50c\"\n  }\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"8e0f9a64-f7cc-41e6-adb4-b189e9279719","name":"The API key or token is missing or not valid.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","ips",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"0416d87b-8b4b-4fd1-bc1e-6a513ebc208b","name":"Create an IP range rule","request":{"name":"Create an IP range rule","description":{"content":"Blocks payments of customers whose IP address is in this range.","type":"text/plain"},"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","ips",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"}},{"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id","disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"}}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"cidr\": \"192.0.2.0/24\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"cc06ab0f-c90c-4b9d-a778-d6bfdbb6a701","name":"The rule is created.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","ips",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"cidr\": \"192.0.2.0/24\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"cidr\": \"192.0.2.0/24\",\n  \"rule_id\": \"97d85085-fb0d-435c-a70c-6ebe0a17b50c\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5e8348c1-273a-4a2d-bf40-d6bb0477186d","name":"The value of the rule isn't valid.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","ips",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"cidr\": \"192.0.2.0/24\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"6dec139f-6d9e-424b-89e8-6c257d0851dc","name":"The API key or token is missing or not valid.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","ips",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"cidr\": \"192.0.2.0/24\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"02341acf-6272-4bf4-be7c-e3da2473efc0","name":"Delete an IP range rule","request":{"name":"Delete an IP range rule","description":{},"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","ips",":rule_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"}},{"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id","disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"}},{"type":"any","value":"0103b9f8-5886-4164-a4db-49d8d6bb73a9","key":"rule_id","disabled":false,"description":{"content":"(Required) The `rule_id` of the rule.","type":"text/plain"}}]},"method":"DELETE","body":{},"auth":null},"response":[{"id":"401d09e8-8e8b-4760-ab43-70cecdd8c314","name":"The rule is deleted.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","ips",":rule_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The `rule_id` of the rule.","type":"text/plain"},"type":"any","value":"0103b9f8-5886-4164-a4db-49d8d6bb73a9","key":"rule_id"}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"40f68f68-26e3-4aea-a6e1-3858c7b00415","name":"The API key or token is missing or not valid.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","ips",":rule_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The `rule_id` of the rule.","type":"text/plain"},"type":"any","value":"0103b9f8-5886-4164-a4db-49d8d6bb73a9","key":"rule_id"}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"DELETE","body":{}},"status":"Unauthorized","code":401,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"2c839ef4-aee6-4b08-88a5-920121a67b71","name":"List card rules","request":{"name":"List card rules","description":{},"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","pans",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"}},{"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id","disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"}}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"506dc019-6ad7-4f20-893d-3b16116e2662","name":"The card rules of the project.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","pans",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"}]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"vault_token\": \"a7af603c-edea-496d-9181-5e684caa92f9\",\n    \"rule_id\": \"752009fb-d383-4ce0-a7af-c2da31011609\",\n    \"brand\": \"visa\",\n    \"masked_pan\": \"************1111\"\n  },\n  {\n    \"vault_token\": \"a7af603c-edea-496d-9181-5e684caa92f9\",\n    \"rule_id\": \"752009fb-d383-4ce0-a7af-c2da31011609\",\n    \"brand\": \"visa\",\n    \"masked_pan\": \"************1111\"\n  }\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"14dcf5d1-dce7-4127-aa4a-3efd88859ad4","name":"The API key or token is missing or not valid.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","pans",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"f120deb2-fbd8-479a-8461-28ab1f6b2150","name":"Create a card rule","request":{"name":"Create a card rule","description":{"content":"Blocks payments with one card. Send the vault token of the card, from the payment method details of an earlier\ntransaction. The response shows the card's brand and masked number.\n","type":"text/plain"},"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","pans",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"}},{"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id","disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"}}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"vault_token\": \"a7af603c-edea-496d-9181-5e684caa92f9\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"86764ec7-38d9-4dd0-b239-c32e55b9a4c7","name":"The rule is created.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","pans",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"vault_token\": \"a7af603c-edea-496d-9181-5e684caa92f9\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"vault_token\": \"a7af603c-edea-496d-9181-5e684caa92f9\",\n  \"rule_id\": \"752009fb-d383-4ce0-a7af-c2da31011609\",\n  \"brand\": \"visa\",\n  \"masked_pan\": \"************1111\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"def20ae2-c2b0-4265-9170-e5d9ff4470f6","name":"The value of the rule isn't valid.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","pans",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"vault_token\": \"a7af603c-edea-496d-9181-5e684caa92f9\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Bad Request","code":400,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"d7757c45-7176-4d08-a78c-c46ae7e6f9ce","name":"The API key or token is missing or not valid.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","pans",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"}]},"header":[{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"vault_token\": \"a7af603c-edea-496d-9181-5e684caa92f9\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"01a95cd6-0b58-40b8-99c0-c5cb3a516b0b","name":"Delete a card rule","request":{"name":"Delete a card rule","description":{},"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","pans",":rule_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"}},{"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id","disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"}},{"type":"any","value":"0103b9f8-5886-4164-a4db-49d8d6bb73a9","key":"rule_id","disabled":false,"description":{"content":"(Required) The `rule_id` of the rule.","type":"text/plain"}}]},"method":"DELETE","body":{},"auth":null},"response":[{"id":"e14dc8b7-7458-4c83-bfb0-3d8e91e3f220","name":"The rule is deleted.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","pans",":rule_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The `rule_id` of the rule.","type":"text/plain"},"type":"any","value":"0103b9f8-5886-4164-a4db-49d8d6bb73a9","key":"rule_id"}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"94b016c5-b6a1-45c2-8a77-aea80760cfee","name":"The API key or token is missing or not valid.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","fraud-prevention","rules","pans",":rule_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant, or `self` for the merchant of your API key.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The `rule_id` of the rule.","type":"text/plain"},"type":"any","value":"0103b9f8-5886-4164-a4db-49d8d6bb73a9","key":"rule_id"}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"DELETE","body":{}},"status":"Unauthorized","code":401,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]}]},{"name":"Gateway order API","description":{"content":"Create and retrieve orders for several merchants and projects with one API key, with JWS-signed requests and\nresponses. See the [Gateway order API](https://platform-preview.dev.gingerpayments.com/api-reference/gateway-orders) guide for signing and key rotation.\n\nThe order object is the order of the order API: its fields are in the\n[order API reference](https://docs.dev.gingerpayments.com/api-reference) of the payment acceptance docs.\n","type":"text/plain"},"item":[{"name":"Gateway orders","description":"Orders and refunds on the path of a merchant's project.","item":[{"id":"fa38b5cc-da22-4bd9-b591-82ffa5b0673f","name":"Create a gateway order","request":{"name":"Create a gateway order","description":{"content":"Creates an order in the project, with the order ID you choose. The body and the response are the order of the\norder API. When your platform requires signed requests, sign the body with a JWS in `x-jws-signature`.\n","type":"text/plain"},"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","orders",":order_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"}},{"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id","disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"}},{"type":"any","value":"5f0c1a7e-3b2d-4c8e-9a61-2d4f8b7e0c13","key":"order_id","disabled":false,"description":{"content":"(Required) The ID of the order, a UUID you choose.","type":"text/plain"}}]},"header":[{"disabled":true,"description":{"content":"A compact JWS of the request body with a detached, unencoded payload (RFC 7797), signed with ES256: the\nprotected header holds `alg`, `kid`, `\"b64\": false` and `\"crit\": [\"b64\"]`, and the payload part is empty.\nRequired when your platform enforces signed requests.\n","type":"text/plain"},"key":"x-jws-signature","value":"eyJhbGciOiJFUzI1NiIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il0sImtpZCI6IjIwMjYxMTAzLWFjbWUifQ..c2lnbmF0dXJl"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"currency\": \"EUR\",\n  \"amount\": 2995,\n  \"description\": \"Acme Coffee order 1042\",\n  \"transactions\": [\n    {\n      \"payment_method\": \"credit-card\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"2982d6b5-a5da-4baf-88b0-f51d552c1b6c","name":"The order, as in the order API.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","orders",":order_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The ID of the order, a UUID you choose.","type":"text/plain"},"type":"any","value":"5f0c1a7e-3b2d-4c8e-9a61-2d4f8b7e0c13","key":"order_id"}]},"header":[{"disabled":true,"description":{"content":"A compact JWS of the request body with a detached, unencoded payload (RFC 7797), signed with ES256: the\nprotected header holds `alg`, `kid`, `\"b64\": false` and `\"crit\": [\"b64\"]`, and the payload part is empty.\nRequired when your platform enforces signed requests.\n","type":"text/plain"},"key":"x-jws-signature","value":"eyJhbGciOiJFUzI1NiIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il0sImtpZCI6IjIwMjYxMTAzLWFjbWUifQ..c2lnbmF0dXJl"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"currency\": \"EUR\",\n  \"amount\": 2995,\n  \"description\": \"Acme Coffee order 1042\",\n  \"transactions\": [\n    {\n      \"payment_method\": \"credit-card\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-jws-signature","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-jws-feedback","value":""}],"body":"{\n  \"id\": \"string\",\n  \"amount\": 2995,\n  \"currency\": \"EUR\",\n  \"description\": \"Acme Coffee order 1042\",\n  \"status\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ba3179aa-6902-4a6a-aa55-684e4a1831a2","name":"The API key is missing or not valid, or the platform enforces signed requests and the signature is missing or not valid.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","orders",":order_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The ID of the order, a UUID you choose.","type":"text/plain"},"type":"any","value":"5f0c1a7e-3b2d-4c8e-9a61-2d4f8b7e0c13","key":"order_id"}]},"header":[{"disabled":true,"description":{"content":"A compact JWS of the request body with a detached, unencoded payload (RFC 7797), signed with ES256: the\nprotected header holds `alg`, `kid`, `\"b64\": false` and `\"crit\": [\"b64\"]`, and the payload part is empty.\nRequired when your platform enforces signed requests.\n","type":"text/plain"},"key":"x-jws-signature","value":"eyJhbGciOiJFUzI1NiIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il0sImtpZCI6IjIwMjYxMTAzLWFjbWUifQ..c2lnbmF0dXJl"},{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"currency\": \"EUR\",\n  \"amount\": 2995,\n  \"description\": \"Acme Coffee order 1042\",\n  \"transactions\": [\n    {\n      \"payment_method\": \"credit-card\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"b2c9a0f2-b8eb-438a-945f-bf6d90ce724e","name":"The API key has no access to this merchant or project.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","orders",":order_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The ID of the order, a UUID you choose.","type":"text/plain"},"type":"any","value":"5f0c1a7e-3b2d-4c8e-9a61-2d4f8b7e0c13","key":"order_id"}]},"header":[{"disabled":true,"description":{"content":"A compact JWS of the request body with a detached, unencoded payload (RFC 7797), signed with ES256: the\nprotected header holds `alg`, `kid`, `\"b64\": false` and `\"crit\": [\"b64\"]`, and the payload part is empty.\nRequired when your platform enforces signed requests.\n","type":"text/plain"},"key":"x-jws-signature","value":"eyJhbGciOiJFUzI1NiIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il0sImtpZCI6IjIwMjYxMTAzLWFjbWUifQ..c2lnbmF0dXJl"},{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"currency\": \"EUR\",\n  \"amount\": 2995,\n  \"description\": \"Acme Coffee order 1042\",\n  \"transactions\": [\n    {\n      \"payment_method\": \"credit-card\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"86944ed8-7676-435a-9033-644568eeef28","name":"Get a gateway order","request":{"name":"Get a gateway order","description":{"content":"Returns an order of the project. When your platform requires signed requests, sign the empty body with a JWS in\n`x-jws-signature`.\n","type":"text/plain"},"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","orders",":order_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"}},{"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id","disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"}},{"type":"any","value":"5f0c1a7e-3b2d-4c8e-9a61-2d4f8b7e0c13","key":"order_id","disabled":false,"description":{"content":"(Required) The ID of the order, a UUID you choose.","type":"text/plain"}}]},"header":[{"disabled":true,"description":{"content":"A compact JWS of the request body with a detached, unencoded payload (RFC 7797), signed with ES256: the\nprotected header holds `alg`, `kid`, `\"b64\": false` and `\"crit\": [\"b64\"]`, and the payload part is empty.\nRequired when your platform enforces signed requests.\n","type":"text/plain"},"key":"x-jws-signature","value":"eyJhbGciOiJFUzI1NiIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il0sImtpZCI6IjIwMjYxMTAzLWFjbWUifQ..c2lnbmF0dXJl"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"13785813-c31d-4da6-9eab-2967c54c5aec","name":"The order, as in the order API.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","orders",":order_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The ID of the order, a UUID you choose.","type":"text/plain"},"type":"any","value":"5f0c1a7e-3b2d-4c8e-9a61-2d4f8b7e0c13","key":"order_id"}]},"header":[{"disabled":true,"description":{"content":"A compact JWS of the request body with a detached, unencoded payload (RFC 7797), signed with ES256: the\nprotected header holds `alg`, `kid`, `\"b64\": false` and `\"crit\": [\"b64\"]`, and the payload part is empty.\nRequired when your platform enforces signed requests.\n","type":"text/plain"},"key":"x-jws-signature","value":"eyJhbGciOiJFUzI1NiIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il0sImtpZCI6IjIwMjYxMTAzLWFjbWUifQ..c2lnbmF0dXJl"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-jws-signature","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-jws-feedback","value":""}],"body":"{\n  \"id\": \"string\",\n  \"amount\": 2995,\n  \"currency\": \"EUR\",\n  \"description\": \"Acme Coffee order 1042\",\n  \"status\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3d85c626-d112-41de-a9a8-5f4712dd1aee","name":"The API key is missing or not valid, or the platform enforces signed requests and the signature is missing or not valid.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","orders",":order_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The ID of the order, a UUID you choose.","type":"text/plain"},"type":"any","value":"5f0c1a7e-3b2d-4c8e-9a61-2d4f8b7e0c13","key":"order_id"}]},"header":[{"disabled":true,"description":{"content":"A compact JWS of the request body with a detached, unencoded payload (RFC 7797), signed with ES256: the\nprotected header holds `alg`, `kid`, `\"b64\": false` and `\"crit\": [\"b64\"]`, and the payload part is empty.\nRequired when your platform enforces signed requests.\n","type":"text/plain"},"key":"x-jws-signature","value":"eyJhbGciOiJFUzI1NiIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il0sImtpZCI6IjIwMjYxMTAzLWFjbWUifQ..c2lnbmF0dXJl"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"062aa0e3-69f0-4191-a392-44602eaa8ed0","name":"The API key has no access to this merchant or project.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","orders",":order_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The ID of the order, a UUID you choose.","type":"text/plain"},"type":"any","value":"5f0c1a7e-3b2d-4c8e-9a61-2d4f8b7e0c13","key":"order_id"}]},"header":[{"disabled":true,"description":{"content":"A compact JWS of the request body with a detached, unencoded payload (RFC 7797), signed with ES256: the\nprotected header holds `alg`, `kid`, `\"b64\": false` and `\"crit\": [\"b64\"]`, and the payload part is empty.\nRequired when your platform enforces signed requests.\n","type":"text/plain"},"key":"x-jws-signature","value":"eyJhbGciOiJFUzI1NiIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il0sImtpZCI6IjIwMjYxMTAzLWFjbWUifQ..c2lnbmF0dXJl"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"52057b12-a9ca-4137-9064-000c3dcc3ed1","name":"The order doesn't exist in this project.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","orders",":order_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The ID of the order, a UUID you choose.","type":"text/plain"},"type":"any","value":"5f0c1a7e-3b2d-4c8e-9a61-2d4f8b7e0c13","key":"order_id"}]},"header":[{"disabled":true,"description":{"content":"A compact JWS of the request body with a detached, unencoded payload (RFC 7797), signed with ES256: the\nprotected header holds `alg`, `kid`, `\"b64\": false` and `\"crit\": [\"b64\"]`, and the payload part is empty.\nRequired when your platform enforces signed requests.\n","type":"text/plain"},"key":"x-jws-signature","value":"eyJhbGciOiJFUzI1NiIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il0sImtpZCI6IjIwMjYxMTAzLWFjbWUifQ..c2lnbmF0dXJl"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"a1c682f3-c12e-4f17-8de8-a89f5a9e523f","name":"Create a gateway refund","request":{"name":"Create a gateway refund","description":{"content":"Creates a refund in the project, with the refund ID you choose. When your platform requires signed requests,\nsign the body with a JWS in `x-jws-signature`. See [Refunds](https://docs.dev.gingerpayments.com/refunds) for how refunds work.\n","type":"text/plain"},"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","refunds",":refund_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id","disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"}},{"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id","disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"}},{"type":"any","value":"9a2e4c6b-1d3f-4a5b-8c7d-6e5f4a3b2c1d","key":"refund_id","disabled":false,"description":{"content":"(Required) The ID of the refund, a UUID you choose.","type":"text/plain"}}]},"header":[{"disabled":true,"description":{"content":"A compact JWS of the request body with a detached, unencoded payload (RFC 7797), signed with ES256: the\nprotected header holds `alg`, `kid`, `\"b64\": false` and `\"crit\": [\"b64\"]`, and the payload part is empty.\nRequired when your platform enforces signed requests.\n","type":"text/plain"},"key":"x-jws-signature","value":"eyJhbGciOiJFUzI1NiIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il0sImtpZCI6IjIwMjYxMTAzLWFjbWUifQ..c2lnbmF0dXJl"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{}","options":{"raw":{"headerFamily":"json","language":"json"}}},"auth":null},"response":[{"id":"0b93ef6e-4ff9-4958-b423-22e84bdf6c2b","name":"The order, as in the order API.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","refunds",":refund_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The ID of the refund, a UUID you choose.","type":"text/plain"},"type":"any","value":"9a2e4c6b-1d3f-4a5b-8c7d-6e5f4a3b2c1d","key":"refund_id"}]},"header":[{"disabled":true,"description":{"content":"A compact JWS of the request body with a detached, unencoded payload (RFC 7797), signed with ES256: the\nprotected header holds `alg`, `kid`, `\"b64\": false` and `\"crit\": [\"b64\"]`, and the payload part is empty.\nRequired when your platform enforces signed requests.\n","type":"text/plain"},"key":"x-jws-signature","value":"eyJhbGciOiJFUzI1NiIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il0sImtpZCI6IjIwMjYxMTAzLWFjbWUifQ..c2lnbmF0dXJl"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-jws-signature","value":""},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":"x-jws-feedback","value":""}],"body":"{\n  \"id\": \"string\",\n  \"amount\": 2995,\n  \"currency\": \"EUR\",\n  \"description\": \"Acme Coffee order 1042\",\n  \"status\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"353184ce-ed44-4419-861b-306a0556635f","name":"The API key is missing or not valid, or the platform enforces signed requests and the signature is missing or not valid.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","refunds",":refund_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The ID of the refund, a UUID you choose.","type":"text/plain"},"type":"any","value":"9a2e4c6b-1d3f-4a5b-8c7d-6e5f4a3b2c1d","key":"refund_id"}]},"header":[{"disabled":true,"description":{"content":"A compact JWS of the request body with a detached, unencoded payload (RFC 7797), signed with ES256: the\nprotected header holds `alg`, `kid`, `\"b64\": false` and `\"crit\": [\"b64\"]`, and the payload part is empty.\nRequired when your platform enforces signed requests.\n","type":"text/plain"},"key":"x-jws-signature","value":"eyJhbGciOiJFUzI1NiIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il0sImtpZCI6IjIwMjYxMTAzLWFjbWUifQ..c2lnbmF0dXJl"},{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Unauthorized","code":401,"header":[],"cookie":[],"_postman_previewlanguage":"text"},{"id":"4c71f549-e679-4615-92c6-4bebf0173753","name":"The API key has no access to this merchant or project.","originalRequest":{"url":{"path":["v1","merchants",":merchant_id","projects",":project_id","refunds",":refund_id",""],"host":["{{baseUrl}}"],"query":[],"variable":[{"disabled":false,"description":{"content":"(Required) The ID of the merchant.","type":"text/plain"},"type":"any","value":"b8a1c2d4-1234-4c5d-9e8f-0123456789ab","key":"merchant_id"},{"disabled":false,"description":{"content":"(Required) The ID of the project.","type":"text/plain"},"type":"any","value":"c5078bef-f741-4f26-a13f-26e7916bb00c","key":"project_id"},{"disabled":false,"description":{"content":"(Required) The ID of the refund, a UUID you choose.","type":"text/plain"},"type":"any","value":"9a2e4c6b-1d3f-4a5b-8c7d-6e5f4a3b2c1d","key":"refund_id"}]},"header":[{"disabled":true,"description":{"content":"A compact JWS of the request body with a detached, unencoded payload (RFC 7797), signed with ES256: the\nprotected header holds `alg`, `kid`, `\"b64\": false` and `\"crit\": [\"b64\"]`, and the payload part is empty.\nRequired when your platform enforces signed requests.\n","type":"text/plain"},"key":"x-jws-signature","value":"eyJhbGciOiJFUzI1NiIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il0sImtpZCI6IjIwMjYxMTAzLWFjbWUifQ..c2lnbmF0dXJl"},{"key":"Content-Type","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"PUT","body":{"mode":"raw","raw":"{}","options":{"raw":{"headerFamily":"json","language":"json"}}}},"status":"Forbidden","code":403,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]},{"name":"Keys","description":"The public keys Ginger signs its responses with.","item":[{"id":"7b941833-25d5-4992-abd4-df673ab8e12a","name":"Get Ginger's public keys","request":{"name":"Get Ginger's public keys","description":{"content":"Returns the JSON Web Key Set with the public keys Ginger signs its responses with. Pick the key with the `kid`\nfrom the header of the response's JWS. Needs no authentication.\n","type":"text/plain"},"url":{"path":[".well-known","jwks.json"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"ee5e1e40-45c3-444c-9f30-842c9fbb97f7","name":"The key set.","originalRequest":{"url":{"path":[".well-known","jwks.json"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"keys\": [\n    {\n      \"kty\": \"EC\",\n      \"crv\": \"P-256\",\n      \"alg\": \"ES256\",\n      \"use\": \"sig\",\n      \"kid\": \"20261103-0a1b2c3d\",\n      \"x\": \"string\",\n      \"y\": \"string\"\n    },\n    {\n      \"kty\": \"EC\",\n      \"crv\": \"P-256\",\n      \"alg\": \"ES256\",\n      \"use\": \"sig\",\n      \"kid\": \"20261103-0a1b2c3d\",\n      \"x\": \"string\",\n      \"y\": \"string\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]}]},{"name":"Health check","description":{"content":"Check that the API of your Ginger platform instance is up, and that your API key works. These calls don't check\ntransaction processing, see [Health check](https://platform-preview.dev.gingerpayments.com/api-reference/health-check#transaction-health-check).\n","type":"text/plain"},"item":[{"name":"Health","description":"","item":[{"id":"14de8124-9bf5-4680-bce9-e14b71f039fb","name":"API health check","request":{"name":"API health check","description":{"content":"Returns `ALIVE` while the API is up and running. Needs no authentication.","type":"text/plain"},"url":{"path":["_hc"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"text/plain"}],"method":"GET","body":{},"auth":null},"response":[{"id":"60bededd-6a89-43aa-a326-49bce55dda38","name":"The API is up and running.","originalRequest":{"url":{"path":["_hc"],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"text/plain"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"ALIVE","cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"61f1101c-9a2b-4b8d-9bf9-a98c5e39af62","name":"System health check","request":{"name":"System health check","description":{"content":"Returns the details of the project of your API key. An HTTP 200 response means the basic system works, though\nit doesn't check transaction processing.\n","type":"text/plain"},"url":{"path":["v1","merchants","self","projects","self",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","body":{},"auth":null},"response":[{"id":"65e0e6d4-69f5-488d-b018-651320856178","name":"The basic system works. The body holds the details of your project.","originalRequest":{"url":{"path":["v1","merchants","self","projects","self",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"},{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3d7d1c35-075f-4673-ab83-854946110426","name":"The API key is missing or not valid.","originalRequest":{"url":{"path":["v1","merchants","self","projects","self",""],"host":["{{baseUrl}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[],"cookie":[],"_postman_previewlanguage":"text"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}]}]}],"variable":[{"key":"domain","value":"example.com"},{"key":"baseUrl","value":"https://api.{{domain}}"},{"key":"apiKey","value":"","description":"Your API key. Only use it from your server."}],"auth":{"type":"basic","basic":[{"key":"username","value":"{{apiKey}}","type":"string"},{"key":"password","value":"","type":"string"}]}}