{"item":[{"id":"e243d823-9fd5-5db3-bfa4-c0d39cea0a36","name":"PaymentAttempts","description":{"content":"A Payment Attempt represents an attempt to pay within a customer's payment session. Each attempt captures the details and outcome of a single payment try.","type":"text/plain"},"item":[{"id":"c6412ff1-0530-51e7-ba8a-df8b0356d79f","name":"List payment attempts","request":{"name":"List payment attempts","description":{"content":"Returns a list of payment attempts for a payment session.\n\nQuerying the API with the unique identifier of a payment session that was returned from a previous request returns the corresponding payment attempts.\n\n`GET /sessions/payment/{session}/attempts` returns the same list, with the payment session ID in the path.","type":"text/plain"},"url":{"path":["attempts","payment"],"host":["{{pay_base_url}}"],"query":[{"disabled":false,"key":"session","value":"ps_296645958265997318","description":"(Required) Unique identifier for the Payment Session resource."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"6f559784-1613-505d-bd0b-a256c05533ee","name":"Returns a list of payment attempt objects.","originalRequest":{"url":{"path":["attempts","payment"],"host":["{{pay_base_url}}"],"query":[{"key":"session","value":"ps_296645958265997318"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"resource\": \"payment_attempt\",\n    \"amount\": 10000,\n    \"amount_human_readable\": \"100.00\",\n    \"currency\": \"usd\",\n    \"created\": \"2024-01-15T10:30:00Z\",\n    \"customer\": \"cust_296645958265997317\",\n    \"customer_reference_id\": \"cust_ext_abc123\",\n    \"metadata\": {},\n    \"payment_method\": \"pm_card_296645958265997316\",\n    \"payment_method_details\": {\n      \"type\": \"card\",\n      \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n      \"card\": {\n        \"bin\": \"424242\",\n        \"brand\": \"visa\",\n        \"cardholder_currency\": \"usd\",\n        \"country\": \"US\",\n        \"exp_month\": \"12\",\n        \"exp_year\": \"2028\",\n        \"fingerprint\": \"fp_abc123xyz789\",\n        \"funding\": \"credit\",\n        \"last4\": \"4242\",\n        \"network\": \"visa\",\n        \"security_checks\": {\n          \"address_line1_check\": \"unavailable\",\n          \"address_postal_code_check\": \"unavailable\",\n          \"cvc_check\": \"pass\"\n        },\n        \"three_d_secure\": {\n          \"authentication_flow\": \"frictionless\",\n          \"result\": \"success\",\n          \"result_reason\": \"authenticated\",\n          \"version\": \"2.2.0\",\n          \"eci\": \"05\",\n          \"cardholder_info\": null,\n          \"liability_shift\": true\n        },\n        \"token\": \"tok_card_296645958265997326\"\n      }\n    },\n    \"payment_session\": \"ps_296645958265997318\",\n    \"reference\": \"order_12345\",\n    \"status\": \"succeeded\"\n  },\n  {\n    \"resource\": \"payment_attempt\",\n    \"amount\": 10000,\n    \"amount_human_readable\": \"100.00\",\n    \"currency\": \"usd\",\n    \"created\": \"2024-01-15T10:30:00Z\",\n    \"customer\": \"cust_296645958265997317\",\n    \"customer_reference_id\": \"cust_ext_abc123\",\n    \"metadata\": {},\n    \"payment_method\": \"pm_card_296645958265997316\",\n    \"payment_method_details\": {\n      \"type\": \"card\",\n      \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n      \"card\": {\n        \"bin\": \"424242\",\n        \"brand\": \"visa\",\n        \"cardholder_currency\": \"usd\",\n        \"country\": \"US\",\n        \"exp_month\": \"12\",\n        \"exp_year\": \"2028\",\n        \"fingerprint\": \"fp_abc123xyz789\",\n        \"funding\": \"credit\",\n        \"last4\": \"4242\",\n        \"network\": \"visa\",\n        \"security_checks\": {\n          \"address_line1_check\": \"unavailable\",\n          \"address_postal_code_check\": \"unavailable\",\n          \"cvc_check\": \"pass\"\n        },\n        \"three_d_secure\": {\n          \"authentication_flow\": \"frictionless\",\n          \"result\": \"success\",\n          \"result_reason\": \"authenticated\",\n          \"version\": \"2.2.0\",\n          \"eci\": \"05\",\n          \"cardholder_info\": null,\n          \"liability_shift\": true\n        },\n        \"token\": \"tok_card_296645958265997326\"\n      }\n    },\n    \"payment_session\": \"ps_296645958265997318\",\n    \"reference\": \"order_12345\",\n    \"status\": \"succeeded\"\n  }\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"12d9c5da-fb92-53a5-9075-a3e8f25cd1c4","name":"Invalid request parameters.","originalRequest":{"url":{"path":["attempts","payment"],"host":["{{pay_base_url}}"],"query":[{"key":"session","value":"ps_296645958265997318"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"021bbd39-6163-5575-8c89-fc2dfd302e9d","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["attempts","payment"],"host":["{{pay_base_url}}"],"query":[{"key":"session","value":"ps_296645958265997318"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"378cf647-eec8-5eb3-8800-a57dbfc457c8","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["attempts","payment"],"host":["{{pay_base_url}}"],"query":[{"key":"session","value":"ps_296645958265997318"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"327a9a27-df67-563a-9fd2-209bab3ee463","name":"Payment session not found.","originalRequest":{"url":{"path":["attempts","payment"],"host":["{{pay_base_url}}"],"query":[{"key":"session","value":"ps_296645958265997318"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9b9146b3-8f11-58ea-b957-fac1c6ed1de5","name":"Internal server error.","originalRequest":{"url":{"path":["attempts","payment"],"host":["{{pay_base_url}}"],"query":[{"key":"session","value":"ps_296645958265997318"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"380f41b7-75ef-5b60-9519-9cf1e7a7c68c","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["attempts","payment"],"host":["{{pay_base_url}}"],"query":[{"key":"session","value":"ps_296645958265997318"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"f44938c3-dbbe-5557-882e-98add7229327","name":"Retrieve a payment attempt","request":{"name":"Retrieve a payment attempt","description":{"content":"Retrieves the details of a payment attempt.\n\nQuerying the API with the unique identifier of a payment attempt that was returned from a previous request returns the corresponding payment attempt information.","type":"text/plain"},"url":{"path":["attempts","payment",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"psatt_296645958265997343_1","key":"id","description":"(Required) The identifier of the payment attempt to retrieve."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"e6abd8bd-c498-58b5-b5c3-401225ae4c53","name":"Returns the payment attempt object.","originalRequest":{"url":{"path":["attempts","payment",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"psatt_296645958265997343_1","key":"id","description":"(Required) The identifier of the payment attempt to retrieve."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"psatt_48446953873772533402_08\",\n  \"resource\": \"payment_attempt\",\n  \"amount\": 6380,\n  \"amount_human_readable\": \"string\",\n  \"currency\": \"string\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"customer\": \"string\",\n  \"customer_reference_id\": \"string\",\n  \"failure_code\": \"string\",\n  \"failure_message\": \"string\",\n  \"metadata\": {},\n  \"payment_method\": \"string\",\n  \"payment_method_details\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"bin\": \"424242\",\n      \"brand\": \"visa\",\n      \"cardholder_currency\": \"usd\",\n      \"country\": \"US\",\n      \"exp_month\": \"12\",\n      \"exp_year\": \"2028\",\n      \"fingerprint\": \"fp_abc123xyz789\",\n      \"funding\": \"prepaid\",\n      \"last4\": \"4242\",\n      \"network\": \"visa\",\n      \"category\": \"business\",\n      \"security_checks\": {\n        \"address_line1_check\": \"unavailable\",\n        \"address_postal_code_check\": \"unavailable\",\n        \"cvc_check\": \"pass\"\n      },\n      \"wallet\": {\n        \"type\": \"googlepay\",\n        \"googlepay\": {\n          \"type\": \"cryptogram_3ds\",\n          \"physical_card_last4\": \"4242\"\n        },\n        \"applepay\": {\n          \"physical_card_last4\": \"4242\"\n        },\n        \"ctp\": {\n          \"physical_card_last4\": \"string\",\n          \"physical_card_bin\": \"string\",\n          \"physical_card_exp_month\": \"string\",\n          \"physical_card_exp_year\": \"string\"\n        }\n      },\n      \"token\": \"tok_card_296645958265997326\",\n      \"three_d_secure\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"version\": \"2.2.0\",\n        \"eci\": \"05\",\n        \"cardholder_info\": \"string\",\n        \"liability_shift\": true\n      },\n      \"three_ds\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"status_reason\": \"string\",\n        \"protocol_version\": \"2.2.0\",\n        \"eci\": \"02\",\n        \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n        \"liability_shift\": true,\n        \"cardholder_info\": \"string\",\n        \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n        \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n        \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n        \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n        \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n      },\n      \"payout\": \"not_available\",\n      \"name_verification\": \"match\",\n      \"partial_approval\": {\n        \"status\": \"accepted\",\n        \"amount_requested\": 10000,\n        \"amount_authorized\": 7500,\n        \"amount_charged\": 7500,\n        \"product_id\": \"prod_12345\"\n      },\n      \"name\": \"John Smith\",\n      \"issuer\": \"Chase Bank\"\n    },\n    \"cashapp\": {\n      \"cashtag\": \"$acmecustomer\",\n      \"name\": \"Jenny Rosen\"\n    },\n    \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n    \"setup_future_usage\": \"on_session\"\n  },\n  \"payment_session\": \"string\",\n  \"reference\": \"string\",\n  \"payment_method_options\": {\n    \"card\": {\n      \"security_checks\": {\n        \"address_line1_check\": true,\n        \"address_postal_code_check\": true,\n        \"cvv_check\": true\n      }\n    }\n  },\n  \"status\": \"failed\",\n  \"test_mode\": false,\n  \"retry_attempts\": [\n    {\n      \"id\": \"rtratt_296645958265997312_1_1\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"type\": \"fallback\",\n      \"failure_code\": \"card_declined\",\n      \"failure_message\": \"The card was declined.\",\n      \"underlying_network_details\": {\n        \"network\": \"visa\",\n        \"visa\": {\n          \"arn\": \"74234567890123456789012\",\n          \"auth_code\": \"123456\",\n          \"raw_response_code\": \"00\",\n          \"rrn\": \"123456789012\",\n          \"eci\": \"05\",\n          \"aci\": \"Y\",\n          \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n        }\n      },\n      \"underlying_network_id\": \"74234567890123456789012\",\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      },\n      \"payment_method_options\": {\n        \"card\": {\n          \"security_checks\": {\n            \"address_line1_check\": true,\n            \"address_postal_code_check\": true,\n            \"cvv_check\": true\n          }\n        }\n      }\n    },\n    {\n      \"id\": \"rtratt_296645958265997312_1_1\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"type\": \"fallback\",\n      \"failure_code\": \"card_declined\",\n      \"failure_message\": \"The card was declined.\",\n      \"underlying_network_details\": {\n        \"network\": \"visa\",\n        \"visa\": {\n          \"arn\": \"74234567890123456789012\",\n          \"auth_code\": \"123456\",\n          \"raw_response_code\": \"00\",\n          \"rrn\": \"123456789012\",\n          \"eci\": \"05\",\n          \"aci\": \"Y\",\n          \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n        }\n      },\n      \"underlying_network_id\": \"74234567890123456789012\",\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      },\n      \"payment_method_options\": {\n        \"card\": {\n          \"security_checks\": {\n            \"address_line1_check\": true,\n            \"address_postal_code_check\": true,\n            \"cvv_check\": true\n          }\n        }\n      }\n    }\n  ],\n  \"risk_assessment_details\": {\n    \"outcome\": \"allow\",\n    \"outcome_source\": \"score\",\n    \"rule_id\": \"rl_296645958265997337\",\n    \"rules_id\": [\n      \"rl_296645958265997337\"\n    ],\n    \"score\": \"31\",\n    \"flags\": [\n      \"no_correlation_history\",\n      \"multiple_identities_billing\",\n      \"multiple_identities_card\",\n      \"free_email_provider\",\n      \"risky_billing_time\",\n      \"velocity_multiple_addresses\",\n      \"velocity_multiple_names\"\n    ]\n  },\n  \"underlying_network_id\": \"string\",\n  \"underlying_network_details\": {\n    \"network\": \"visa\",\n    \"visa\": {\n      \"arn\": \"74234567890123456789012\",\n      \"auth_code\": \"123456\",\n      \"raw_response_code\": \"00\",\n      \"rrn\": \"123456789012\",\n      \"eci\": \"05\",\n      \"aci\": \"Y\",\n      \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n    }\n  },\n  \"underlying_processing_details\": {\n    \"processor\": \"stripe\",\n    \"transaction_id\": \"pi_abc123xyz789\",\n    \"settlement_account\": \"sa_296645958265997349\",\n    \"settlement_account_details\": {\n      \"processor\": \"pay_com\",\n      \"currency\": \"usd\",\n      \"name\": \"Main Settlement Account\",\n      \"entity\": \"ent_296645958265997359\",\n      \"entity_details\": {\n        \"legal_name\": \"ACME Corp\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"charge\": \"string\",\n  \"hold\": \"string\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"46666151-d1cb-5505-909d-6a25f0adb036","name":"Invalid request parameters.","originalRequest":{"url":{"path":["attempts","payment",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"psatt_296645958265997343_1","key":"id","description":"(Required) The identifier of the payment attempt to retrieve."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"20eb9b28-75a4-5e64-a5e4-83e9d50aae71","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["attempts","payment",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"psatt_296645958265997343_1","key":"id","description":"(Required) The identifier of the payment attempt to retrieve."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f14e608f-2697-516c-9c7a-f7b70f79a907","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["attempts","payment",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"psatt_296645958265997343_1","key":"id","description":"(Required) The identifier of the payment attempt to retrieve."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cbe3452d-424d-5fef-8513-2c860e5035b2","name":"Payment attempt not found.","originalRequest":{"url":{"path":["attempts","payment",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"psatt_296645958265997343_1","key":"id","description":"(Required) The identifier of the payment attempt to retrieve."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"70ef5d9c-7ab9-5359-aa65-223daa98c022","name":"Internal server error.","originalRequest":{"url":{"path":["attempts","payment",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"psatt_296645958265997343_1","key":"id","description":"(Required) The identifier of the payment attempt to retrieve."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1d3346be-9e59-5abd-b99e-a0726a333993","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["attempts","payment",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"psatt_296645958265997343_1","key":"id","description":"(Required) The identifier of the payment attempt to retrieve."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"34d06364-6159-53ae-9def-7aac4e904f0b","name":"List payment session attempts","request":{"name":"List payment session attempts","description":{"content":"Retrieves all payment attempts associated with a payment session.\n\nReturns the same list as `GET /attempts/payment?session={session}`.","type":"text/plain"},"url":{"path":["sessions","payment",":session","attempts"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"session","description":"(Required) The unique identifier of the payment session."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"2ff7b226-d6c7-53e0-bc0b-aafb50747d78","name":"Returns a list of payment attempt objects.","originalRequest":{"url":{"path":["sessions","payment",":session","attempts"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"session","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"resource\": \"payment_attempt\",\n    \"amount\": 10000,\n    \"amount_human_readable\": \"100.00\",\n    \"currency\": \"usd\",\n    \"created\": \"2024-01-15T10:30:00Z\",\n    \"customer\": \"cust_296645958265997317\",\n    \"customer_reference_id\": \"cust_ext_abc123\",\n    \"metadata\": {},\n    \"payment_method\": \"pm_card_296645958265997316\",\n    \"payment_method_details\": {\n      \"type\": \"card\",\n      \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n      \"card\": {\n        \"bin\": \"424242\",\n        \"brand\": \"visa\",\n        \"cardholder_currency\": \"usd\",\n        \"country\": \"US\",\n        \"exp_month\": \"12\",\n        \"exp_year\": \"2028\",\n        \"fingerprint\": \"fp_abc123xyz789\",\n        \"funding\": \"credit\",\n        \"last4\": \"4242\",\n        \"network\": \"visa\",\n        \"security_checks\": {\n          \"address_line1_check\": \"unavailable\",\n          \"address_postal_code_check\": \"unavailable\",\n          \"cvc_check\": \"pass\"\n        },\n        \"three_d_secure\": {\n          \"authentication_flow\": \"frictionless\",\n          \"result\": \"success\",\n          \"result_reason\": \"authenticated\",\n          \"version\": \"2.2.0\",\n          \"eci\": \"05\",\n          \"cardholder_info\": null,\n          \"liability_shift\": true\n        },\n        \"token\": \"tok_card_296645958265997326\"\n      }\n    },\n    \"payment_session\": \"ps_296645958265997318\",\n    \"reference\": \"order_12345\",\n    \"status\": \"succeeded\"\n  },\n  {\n    \"resource\": \"payment_attempt\",\n    \"amount\": 10000,\n    \"amount_human_readable\": \"100.00\",\n    \"currency\": \"usd\",\n    \"created\": \"2024-01-15T10:30:00Z\",\n    \"customer\": \"cust_296645958265997317\",\n    \"customer_reference_id\": \"cust_ext_abc123\",\n    \"metadata\": {},\n    \"payment_method\": \"pm_card_296645958265997316\",\n    \"payment_method_details\": {\n      \"type\": \"card\",\n      \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n      \"card\": {\n        \"bin\": \"424242\",\n        \"brand\": \"visa\",\n        \"cardholder_currency\": \"usd\",\n        \"country\": \"US\",\n        \"exp_month\": \"12\",\n        \"exp_year\": \"2028\",\n        \"fingerprint\": \"fp_abc123xyz789\",\n        \"funding\": \"credit\",\n        \"last4\": \"4242\",\n        \"network\": \"visa\",\n        \"security_checks\": {\n          \"address_line1_check\": \"unavailable\",\n          \"address_postal_code_check\": \"unavailable\",\n          \"cvc_check\": \"pass\"\n        },\n        \"three_d_secure\": {\n          \"authentication_flow\": \"frictionless\",\n          \"result\": \"success\",\n          \"result_reason\": \"authenticated\",\n          \"version\": \"2.2.0\",\n          \"eci\": \"05\",\n          \"cardholder_info\": null,\n          \"liability_shift\": true\n        },\n        \"token\": \"tok_card_296645958265997326\"\n      }\n    },\n    \"payment_session\": \"ps_296645958265997318\",\n    \"reference\": \"order_12345\",\n    \"status\": \"succeeded\"\n  }\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"de799650-0109-556d-9c31-6a3ce44e9eb6","name":"Invalid request parameters.","originalRequest":{"url":{"path":["sessions","payment",":session","attempts"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"session","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"17e09828-f630-581a-9e81-69d3b08b4d9f","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["sessions","payment",":session","attempts"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"session","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ebce3464-07b0-550b-8ec7-44ea9152a584","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["sessions","payment",":session","attempts"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"session","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9d513480-6fa3-597b-b85a-938d6a24a9fa","name":"Payment session not found.","originalRequest":{"url":{"path":["sessions","payment",":session","attempts"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"session","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f9aa2bf1-4ad9-59aa-8ef1-7b7c5ada10ea","name":"Internal server error.","originalRequest":{"url":{"path":["sessions","payment",":session","attempts"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"session","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"62e726e2-24bf-51b0-8dc8-d584a35dc96b","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["sessions","payment",":session","attempts"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"session","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"9cdfd01b-0d00-52d8-8055-2e5748170160","name":"SetupAttempts","description":{"content":"A Setup Attempt represents an attempt to verify and add a payment method within a customer's setup session without charging them.","type":"text/plain"},"item":[{"id":"49662645-de74-52ed-aabe-a389706aa75d","name":"List setup attempts","request":{"name":"List setup attempts","description":{"content":"Returns a list of setup attempts for a setup session.\n\nQuerying the API with the unique identifier of a setup session that was returned from a previous request returns the corresponding setup attempts.\n\n`GET /sessions/setup/{session}/attempts` returns the same list, with the setup session ID in the path.","type":"text/plain"},"url":{"path":["attempts","setup"],"host":["{{pay_base_url}}"],"query":[{"disabled":false,"key":"session","value":"ss_296645958265997319","description":"(Required) Unique identifier for the Setup Session resource."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"e7307c32-0c13-5216-9d58-cb2119a08c33","name":"Returns a list of setup attempt objects.","originalRequest":{"url":{"path":["attempts","setup"],"host":["{{pay_base_url}}"],"query":[{"key":"session","value":"ss_296645958265997319"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"resource\": \"setup_attempt\",\n    \"created\": \"2024-01-15T10:30:00Z\",\n    \"customer\": \"cust_296645958265997317\",\n    \"customer_reference_id\": \"cust_ext_abc123\",\n    \"metadata\": {},\n    \"payment_method\": \"pm_card_296645958265997316\",\n    \"payment_method_details\": {\n      \"type\": \"card\",\n      \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n      \"card\": {\n        \"bin\": \"424242\",\n        \"brand\": \"visa\",\n        \"cardholder_currency\": \"usd\",\n        \"country\": \"US\",\n        \"exp_month\": \"12\",\n        \"exp_year\": \"2028\",\n        \"fingerprint\": \"fp_abc123xyz789\",\n        \"funding\": \"credit\",\n        \"last4\": \"4242\",\n        \"network\": \"visa\",\n        \"security_checks\": {\n          \"address_line1_check\": \"unavailable\",\n          \"address_postal_code_check\": \"unavailable\",\n          \"cvc_check\": \"pass\"\n        },\n        \"three_d_secure\": {\n          \"authentication_flow\": \"frictionless\",\n          \"result\": \"success\",\n          \"result_reason\": \"authenticated\",\n          \"version\": \"2.2.0\",\n          \"eci\": \"05\",\n          \"cardholder_info\": null,\n          \"liability_shift\": true\n        },\n        \"token\": \"tok_card_296645958265997326\"\n      }\n    },\n    \"setup_session\": \"ss_296645958265997319\",\n    \"status\": \"succeeded\",\n    \"test_mode\": true\n  },\n  {\n    \"resource\": \"setup_attempt\",\n    \"created\": \"2024-01-15T10:30:00Z\",\n    \"customer\": \"cust_296645958265997317\",\n    \"customer_reference_id\": \"cust_ext_abc123\",\n    \"metadata\": {},\n    \"payment_method\": \"pm_card_296645958265997316\",\n    \"payment_method_details\": {\n      \"type\": \"card\",\n      \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n      \"card\": {\n        \"bin\": \"424242\",\n        \"brand\": \"visa\",\n        \"cardholder_currency\": \"usd\",\n        \"country\": \"US\",\n        \"exp_month\": \"12\",\n        \"exp_year\": \"2028\",\n        \"fingerprint\": \"fp_abc123xyz789\",\n        \"funding\": \"credit\",\n        \"last4\": \"4242\",\n        \"network\": \"visa\",\n        \"security_checks\": {\n          \"address_line1_check\": \"unavailable\",\n          \"address_postal_code_check\": \"unavailable\",\n          \"cvc_check\": \"pass\"\n        },\n        \"three_d_secure\": {\n          \"authentication_flow\": \"frictionless\",\n          \"result\": \"success\",\n          \"result_reason\": \"authenticated\",\n          \"version\": \"2.2.0\",\n          \"eci\": \"05\",\n          \"cardholder_info\": null,\n          \"liability_shift\": true\n        },\n        \"token\": \"tok_card_296645958265997326\"\n      }\n    },\n    \"setup_session\": \"ss_296645958265997319\",\n    \"status\": \"succeeded\",\n    \"test_mode\": true\n  }\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"0a90e107-0102-58e7-a908-58e8b8c5299e","name":"Invalid request parameters.","originalRequest":{"url":{"path":["attempts","setup"],"host":["{{pay_base_url}}"],"query":[{"key":"session","value":"ss_296645958265997319"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6fce7f19-25a5-5e72-b427-95953ae798d4","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["attempts","setup"],"host":["{{pay_base_url}}"],"query":[{"key":"session","value":"ss_296645958265997319"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9e3e6186-58e6-5510-bd1f-befa09ac9743","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["attempts","setup"],"host":["{{pay_base_url}}"],"query":[{"key":"session","value":"ss_296645958265997319"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0560e547-6a28-5335-a258-363fc116b641","name":"Setup session not found.","originalRequest":{"url":{"path":["attempts","setup"],"host":["{{pay_base_url}}"],"query":[{"key":"session","value":"ss_296645958265997319"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2c764b1c-eabc-5a45-b5fc-f8d4c12c4c5c","name":"Internal server error.","originalRequest":{"url":{"path":["attempts","setup"],"host":["{{pay_base_url}}"],"query":[{"key":"session","value":"ss_296645958265997319"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e591d363-f4c5-5c2d-8ae9-8284264c1e19","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["attempts","setup"],"host":["{{pay_base_url}}"],"query":[{"key":"session","value":"ss_296645958265997319"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"0830a16c-32e1-5fa1-aea2-12acf752b078","name":"Retrieve a setup attempt","request":{"name":"Retrieve a setup attempt","description":{"content":"Retrieves the details of a setup attempt.\n\nQuerying the API with the unique identifier of a setup attempt that was returned from a previous request returns the corresponding setup attempt information.","type":"text/plain"},"url":{"path":["attempts","setup",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ssatt_296645958265997344_1","key":"id","description":"(Required) The identifier of the setup attempt to retrieve."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"d87347cd-6226-5e2a-8c65-b3f9a1f2019f","name":"Returns the setup attempt object.","originalRequest":{"url":{"path":["attempts","setup",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ssatt_296645958265997344_1","key":"id","description":"(Required) The identifier of the setup attempt to retrieve."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"ssatt_293687271582312621_31\",\n  \"resource\": \"setup_attempt\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"customer\": \"string\",\n  \"customer_reference_id\": \"string\",\n  \"failure_code\": \"string\",\n  \"failure_message\": \"string\",\n  \"metadata\": {},\n  \"payment_method\": \"string\",\n  \"payment_method_details\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"bin\": \"424242\",\n      \"brand\": \"visa\",\n      \"cardholder_currency\": \"usd\",\n      \"country\": \"US\",\n      \"exp_month\": \"12\",\n      \"exp_year\": \"2028\",\n      \"fingerprint\": \"fp_abc123xyz789\",\n      \"funding\": \"unknown\",\n      \"last4\": \"4242\",\n      \"network\": \"visa\",\n      \"category\": \"business\",\n      \"security_checks\": {\n        \"address_line1_check\": \"unavailable\",\n        \"address_postal_code_check\": \"unavailable\",\n        \"cvc_check\": \"pass\"\n      },\n      \"wallet\": {\n        \"type\": \"googlepay\",\n        \"googlepay\": {\n          \"type\": \"cryptogram_3ds\",\n          \"physical_card_last4\": \"4242\"\n        },\n        \"applepay\": {\n          \"physical_card_last4\": \"4242\"\n        },\n        \"ctp\": {\n          \"physical_card_last4\": \"string\",\n          \"physical_card_bin\": \"string\",\n          \"physical_card_exp_month\": \"string\",\n          \"physical_card_exp_year\": \"string\"\n        }\n      },\n      \"token\": \"tok_card_296645958265997326\",\n      \"three_d_secure\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"version\": \"2.2.0\",\n        \"eci\": \"05\",\n        \"cardholder_info\": \"string\",\n        \"liability_shift\": true\n      },\n      \"three_ds\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"status_reason\": \"string\",\n        \"protocol_version\": \"2.2.0\",\n        \"eci\": \"02\",\n        \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n        \"liability_shift\": true,\n        \"cardholder_info\": \"string\",\n        \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n        \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n        \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n        \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n        \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n      },\n      \"payout\": \"not_available\",\n      \"name_verification\": \"match\",\n      \"partial_approval\": {\n        \"status\": \"accepted\",\n        \"amount_requested\": 10000,\n        \"amount_authorized\": 7500,\n        \"amount_charged\": 7500,\n        \"product_id\": \"prod_12345\"\n      },\n      \"name\": \"John Smith\",\n      \"issuer\": \"Chase Bank\"\n    },\n    \"cashapp\": {\n      \"cashtag\": \"$acmecustomer\",\n      \"name\": \"Jenny Rosen\"\n    },\n    \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n    \"setup_future_usage\": \"on_session\"\n  },\n  \"setup_session\": \"string\",\n  \"payment_method_options\": {\n    \"card\": {\n      \"security_checks\": {\n        \"address_line1_check\": true,\n        \"address_postal_code_check\": true,\n        \"cvv_check\": true\n      }\n    }\n  },\n  \"reference\": \"string\",\n  \"status\": \"failed\",\n  \"test_mode\": true,\n  \"underlying_network_id\": \"string\",\n  \"underlying_network_details\": {\n    \"network\": \"visa\",\n    \"visa\": {\n      \"arn\": \"74234567890123456789012\",\n      \"auth_code\": \"123456\",\n      \"raw_response_code\": \"00\",\n      \"rrn\": \"123456789012\",\n      \"eci\": \"05\",\n      \"aci\": \"Y\",\n      \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n    }\n  },\n  \"underlying_processing_details\": {\n    \"processor\": \"stripe\",\n    \"transaction_id\": \"pi_abc123xyz789\",\n    \"settlement_account\": \"sa_296645958265997349\",\n    \"settlement_account_details\": {\n      \"processor\": \"pay_com\",\n      \"currency\": \"usd\",\n      \"name\": \"Main Settlement Account\",\n      \"entity\": \"ent_296645958265997359\",\n      \"entity_details\": {\n        \"legal_name\": \"ACME Corp\",\n        \"country\": \"US\"\n      }\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"196d9601-6f70-570f-a93c-66634e24e004","name":"Invalid request parameters.","originalRequest":{"url":{"path":["attempts","setup",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ssatt_296645958265997344_1","key":"id","description":"(Required) The identifier of the setup attempt to retrieve."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c9b23854-05c6-57db-baae-323fe705bdb8","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["attempts","setup",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ssatt_296645958265997344_1","key":"id","description":"(Required) The identifier of the setup attempt to retrieve."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c3580328-0ddf-5404-bf54-f8ed94ff4bce","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["attempts","setup",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ssatt_296645958265997344_1","key":"id","description":"(Required) The identifier of the setup attempt to retrieve."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8436c631-ff55-5c69-aecc-994286fc41cf","name":"Setup attempt not found.","originalRequest":{"url":{"path":["attempts","setup",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ssatt_296645958265997344_1","key":"id","description":"(Required) The identifier of the setup attempt to retrieve."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"27f83377-6560-5029-bbe2-1dca423e7afb","name":"Internal server error.","originalRequest":{"url":{"path":["attempts","setup",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ssatt_296645958265997344_1","key":"id","description":"(Required) The identifier of the setup attempt to retrieve."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"693c732b-a546-5e31-8f9f-3b177c960414","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["attempts","setup",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ssatt_296645958265997344_1","key":"id","description":"(Required) The identifier of the setup attempt to retrieve."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"4ac2da86-4efa-5cd2-a81c-1899d5334e21","name":"List setup session attempts","request":{"name":"List setup session attempts","description":{"content":"Retrieves all setup attempts associated with a setup session.\n\nReturns the same list as `GET /attempts/setup?session={session}`.","type":"text/plain"},"url":{"path":["sessions","setup",":session","attempts"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ss_296645958265997319","key":"session","description":"(Required) The unique identifier of the setup session."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"ee509293-507b-53de-8a8f-be8f3bdd0aaf","name":"Returns a list of setup attempt objects.","originalRequest":{"url":{"path":["sessions","setup",":session","attempts"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ss_296645958265997319","key":"session","description":"(Required) The unique identifier of the setup session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"resource\": \"setup_attempt\",\n    \"created\": \"2024-01-15T10:30:00Z\",\n    \"customer\": \"cust_296645958265997317\",\n    \"customer_reference_id\": \"cust_ext_abc123\",\n    \"metadata\": {},\n    \"payment_method\": \"pm_card_296645958265997316\",\n    \"payment_method_details\": {\n      \"type\": \"card\",\n      \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n      \"card\": {\n        \"bin\": \"424242\",\n        \"brand\": \"visa\",\n        \"cardholder_currency\": \"usd\",\n        \"country\": \"US\",\n        \"exp_month\": \"12\",\n        \"exp_year\": \"2028\",\n        \"fingerprint\": \"fp_abc123xyz789\",\n        \"funding\": \"credit\",\n        \"last4\": \"4242\",\n        \"network\": \"visa\",\n        \"security_checks\": {\n          \"address_line1_check\": \"unavailable\",\n          \"address_postal_code_check\": \"unavailable\",\n          \"cvc_check\": \"pass\"\n        },\n        \"three_d_secure\": {\n          \"authentication_flow\": \"frictionless\",\n          \"result\": \"success\",\n          \"result_reason\": \"authenticated\",\n          \"version\": \"2.2.0\",\n          \"eci\": \"05\",\n          \"cardholder_info\": null,\n          \"liability_shift\": true\n        },\n        \"token\": \"tok_card_296645958265997326\"\n      }\n    },\n    \"setup_session\": \"ss_296645958265997319\",\n    \"status\": \"succeeded\",\n    \"test_mode\": true\n  },\n  {\n    \"resource\": \"setup_attempt\",\n    \"created\": \"2024-01-15T10:30:00Z\",\n    \"customer\": \"cust_296645958265997317\",\n    \"customer_reference_id\": \"cust_ext_abc123\",\n    \"metadata\": {},\n    \"payment_method\": \"pm_card_296645958265997316\",\n    \"payment_method_details\": {\n      \"type\": \"card\",\n      \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n      \"card\": {\n        \"bin\": \"424242\",\n        \"brand\": \"visa\",\n        \"cardholder_currency\": \"usd\",\n        \"country\": \"US\",\n        \"exp_month\": \"12\",\n        \"exp_year\": \"2028\",\n        \"fingerprint\": \"fp_abc123xyz789\",\n        \"funding\": \"credit\",\n        \"last4\": \"4242\",\n        \"network\": \"visa\",\n        \"security_checks\": {\n          \"address_line1_check\": \"unavailable\",\n          \"address_postal_code_check\": \"unavailable\",\n          \"cvc_check\": \"pass\"\n        },\n        \"three_d_secure\": {\n          \"authentication_flow\": \"frictionless\",\n          \"result\": \"success\",\n          \"result_reason\": \"authenticated\",\n          \"version\": \"2.2.0\",\n          \"eci\": \"05\",\n          \"cardholder_info\": null,\n          \"liability_shift\": true\n        },\n        \"token\": \"tok_card_296645958265997326\"\n      }\n    },\n    \"setup_session\": \"ss_296645958265997319\",\n    \"status\": \"succeeded\",\n    \"test_mode\": true\n  }\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"fa5efc6e-7f67-567a-904b-4b49bfaf8708","name":"Invalid request parameters.","originalRequest":{"url":{"path":["sessions","setup",":session","attempts"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ss_296645958265997319","key":"session","description":"(Required) The unique identifier of the setup session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ff63b715-38be-55f5-8d0e-33ff6fa774dd","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["sessions","setup",":session","attempts"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ss_296645958265997319","key":"session","description":"(Required) The unique identifier of the setup session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b6661ddb-69d4-5850-a32c-e0f7c39a9114","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["sessions","setup",":session","attempts"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ss_296645958265997319","key":"session","description":"(Required) The unique identifier of the setup session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8acd916c-239f-5ad0-bbea-b006377eebfa","name":"Setup session not found.","originalRequest":{"url":{"path":["sessions","setup",":session","attempts"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ss_296645958265997319","key":"session","description":"(Required) The unique identifier of the setup session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bc095d56-5472-5b89-b08c-1cf02519f9cb","name":"Internal server error.","originalRequest":{"url":{"path":["sessions","setup",":session","attempts"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ss_296645958265997319","key":"session","description":"(Required) The unique identifier of the setup session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c2b3fb03-7ce3-593e-8b7a-93f2a192245a","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["sessions","setup",":session","attempts"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ss_296645958265997319","key":"session","description":"(Required) The unique identifier of the setup session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"0b3bc85e-8425-5da7-8c96-d68cd2798943","name":"Adjustments","description":{"content":"Adjustments represent modifications to settlement amounts, such as monthly minimums, corrections, or other post-transaction changes.","type":"text/plain"},"item":[{"id":"0f737745-7bcf-5b05-9efc-8b3fa762e452","name":"List adjustments","request":{"name":"List adjustments","description":{"content":"Retrieves a list of adjustments for a specific settlement.","type":"text/plain"},"url":{"path":["adjustments"],"host":["{{pay_base_url}}"],"query":[{"disabled":false,"key":"settlement_id","value":"stlmnt_296645958265997323","description":"(Required) The unique identifier of the settlement."},{"disabled":false,"key":"page","value":"1","description":"The page number to retrieve."},{"disabled":false,"key":"limit","value":"10","description":"The number of items to return per page."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"ec69e6dc-7fe2-5558-91e8-332acb51d638","name":"Returns a list of adjustment objects.","originalRequest":{"url":{"path":["adjustments"],"host":["{{pay_base_url}}"],"query":[{"key":"settlement_id","value":"stlmnt_296645958265997323"},{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"resource\": \"adjustments\",\n  \"data\": [\n    {\n      \"id\": \"adj_296645958265997330\",\n      \"resource\": \"adjustment\",\n      \"settlement_id\": \"stlmnt_296645958265997323\",\n      \"bank_transfer_reference\": \"PO13321OP\",\n      \"currency\": \"EUR\",\n      \"description\": \"Monthly service fee\",\n      \"identifier\": \"monthly_service_fee\",\n      \"amount\": \"-10.00\",\n      \"quantity\": 1,\n      \"total\": \"-10.00\",\n      \"test_mode\": true\n    },\n    {\n      \"id\": \"adj_296645958265997330\",\n      \"resource\": \"adjustment\",\n      \"settlement_id\": \"stlmnt_296645958265997323\",\n      \"bank_transfer_reference\": \"PO13321OP\",\n      \"currency\": \"EUR\",\n      \"description\": \"Monthly service fee\",\n      \"identifier\": \"monthly_service_fee\",\n      \"amount\": \"-10.00\",\n      \"quantity\": 1,\n      \"total\": \"-10.00\",\n      \"test_mode\": true\n    }\n  ],\n  \"last_page\": true,\n  \"page\": 1,\n  \"total_pages\": 1,\n  \"total_records\": 11\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7f6adde0-8244-5e61-b32b-340b5a6e1e39","name":"Invalid request parameters.","originalRequest":{"url":{"path":["adjustments"],"host":["{{pay_base_url}}"],"query":[{"key":"settlement_id","value":"stlmnt_296645958265997323"},{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7a7cd91d-5fce-5408-8123-1ec2794360c1","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["adjustments"],"host":["{{pay_base_url}}"],"query":[{"key":"settlement_id","value":"stlmnt_296645958265997323"},{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"52d85f03-49e9-5ee1-a140-130bbb1f15ee","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["adjustments"],"host":["{{pay_base_url}}"],"query":[{"key":"settlement_id","value":"stlmnt_296645958265997323"},{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5a365fc4-5dba-5aae-8354-8242bbe49d93","name":"Internal server error.","originalRequest":{"url":{"path":["adjustments"],"host":["{{pay_base_url}}"],"query":[{"key":"settlement_id","value":"stlmnt_296645958265997323"},{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"377cbd93-bba0-5b8d-9a25-5ebac64723c4","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["adjustments"],"host":["{{pay_base_url}}"],"query":[{"key":"settlement_id","value":"stlmnt_296645958265997323"},{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"713a3cec-0c9b-5b63-9cbc-80665083286f","name":"Retrieve an adjustment","request":{"name":"Retrieve an adjustment","description":{"content":"Retrieves the details of an adjustment.","type":"text/plain"},"url":{"path":["adjustments",":adjustment_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"adj_296645958265997330","key":"adjustment_id","description":"(Required) The unique identifier of the adjustment."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"15f3f004-fc97-5a35-a5c2-09567c2656a5","name":"Returns the adjustment object.","originalRequest":{"url":{"path":["adjustments",":adjustment_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"adj_296645958265997330","key":"adjustment_id","description":"(Required) The unique identifier of the adjustment."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"adj_296645958265997330\",\n  \"resource\": \"adjustment\",\n  \"settlement_id\": \"stlmnt_296645958265997323\",\n  \"bank_transfer_reference\": \"PO13321OP\",\n  \"currency\": \"EUR\",\n  \"description\": \"Monthly service fee\",\n  \"identifier\": \"monthly_service_fee\",\n  \"amount\": \"-10.00\",\n  \"quantity\": 1,\n  \"total\": \"-10.00\",\n  \"test_mode\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"842dda89-4de4-541b-8429-a669cc60cc08","name":"Invalid request parameters.","originalRequest":{"url":{"path":["adjustments",":adjustment_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"adj_296645958265997330","key":"adjustment_id","description":"(Required) The unique identifier of the adjustment."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3c7be255-6365-522b-a4e8-86cbe431e4ad","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["adjustments",":adjustment_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"adj_296645958265997330","key":"adjustment_id","description":"(Required) The unique identifier of the adjustment."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f64d90d6-e034-5d32-a9a7-c4f753dab08a","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["adjustments",":adjustment_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"adj_296645958265997330","key":"adjustment_id","description":"(Required) The unique identifier of the adjustment."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"52d325c2-b7e5-5b02-b99c-fda8b59005d5","name":"Adjustment not found.","originalRequest":{"url":{"path":["adjustments",":adjustment_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"adj_296645958265997330","key":"adjustment_id","description":"(Required) The unique identifier of the adjustment."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3b4581e0-b75a-5290-8b2d-86d94135d28e","name":"Internal server error.","originalRequest":{"url":{"path":["adjustments",":adjustment_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"adj_296645958265997330","key":"adjustment_id","description":"(Required) The unique identifier of the adjustment."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d148e357-21e4-5edf-9a0d-e2552b751df8","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["adjustments",":adjustment_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"adj_296645958265997330","key":"adjustment_id","description":"(Required) The unique identifier of the adjustment."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"36e4deb5-c3c7-521a-aed6-c72c6f0cb579","name":"TransactionStatus","description":{"content":"Query the current status of any transaction by its ID.","type":"text/plain"},"item":[{"id":"4bdfa742-0c65-5621-a68b-b4916f382195","name":"Retrieve a transaction status","request":{"name":"Retrieve a transaction status","description":{"content":"Retrieves a charge, hold, refund or payout by its ID, or a card payment method by its ID. Payment methods of other types are not supported.","type":"text/plain"},"url":{"path":["transaction_status",":transaction_id_or_source_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id_or_source_id","description":"(Required) The ID of a charge (`chrg_`), hold (`hld_`), refund (`rfnd_`) or payout (`po_`), or of a card payment method (`pm_card_`)."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"ed67f502-2814-596f-bb89-d657d0f68277","name":"Returns the transaction object.","originalRequest":{"url":{"path":["transaction_status",":transaction_id_or_source_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id_or_source_id","description":"(Required) The ID of a charge (`chrg_`), hold (`hld_`), refund (`rfnd_`) or payout (`po_`), or of a card payment method (`pm_card_`)."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"chrg_296645958265997312\",\n  \"resource\": \"charge\",\n  \"amount\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"amount_refunded\": 0,\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"calculated_statement_descriptor\": \"ACME * ACME STORE\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"currency\": \"usd\",\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"cashflow_transaction\": \"cflw_tx_296645958265997312\",\n  \"description\": \"Payment for Order #12345\",\n  \"disputed\": true,\n  \"failure_code\": \"string\",\n  \"failure_message\": \"string\",\n  \"metadata\": {},\n  \"paid\": false,\n  \"payment_session\": \"ps_296645958265997318\",\n  \"hold\": \"string\",\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"fraud\": false,\n  \"retry_attempts\": [\n    {\n      \"id\": \"rtratt_296645958265997312_1_1\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"type\": \"fallback\",\n      \"failure_code\": \"card_declined\",\n      \"failure_message\": \"The card was declined.\",\n      \"underlying_network_details\": {\n        \"network\": \"visa\",\n        \"visa\": {\n          \"arn\": \"74234567890123456789012\",\n          \"auth_code\": \"123456\",\n          \"raw_response_code\": \"00\",\n          \"rrn\": \"123456789012\",\n          \"eci\": \"05\",\n          \"aci\": \"Y\",\n          \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n        }\n      },\n      \"underlying_network_id\": \"74234567890123456789012\",\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      },\n      \"payment_method_options\": {\n        \"card\": {\n          \"security_checks\": {\n            \"address_line1_check\": true,\n            \"address_postal_code_check\": true,\n            \"cvv_check\": true\n          }\n        }\n      }\n    },\n    {\n      \"id\": \"rtratt_296645958265997312_1_1\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"type\": \"fallback\",\n      \"failure_code\": \"card_declined\",\n      \"failure_message\": \"The card was declined.\",\n      \"underlying_network_details\": {\n        \"network\": \"visa\",\n        \"visa\": {\n          \"arn\": \"74234567890123456789012\",\n          \"auth_code\": \"123456\",\n          \"raw_response_code\": \"00\",\n          \"rrn\": \"123456789012\",\n          \"eci\": \"05\",\n          \"aci\": \"Y\",\n          \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n        }\n      },\n      \"underlying_network_id\": \"74234567890123456789012\",\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      },\n      \"payment_method_options\": {\n        \"card\": {\n          \"security_checks\": {\n            \"address_line1_check\": true,\n            \"address_postal_code_check\": true,\n            \"cvv_check\": true\n          }\n        }\n      }\n    }\n  ],\n  \"payment_method_details\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"bin\": \"424242\",\n      \"brand\": \"visa\",\n      \"cardholder_currency\": \"usd\",\n      \"country\": \"US\",\n      \"exp_month\": \"12\",\n      \"exp_year\": \"2028\",\n      \"fingerprint\": \"fp_abc123xyz789\",\n      \"funding\": \"prepaid\",\n      \"last4\": \"4242\",\n      \"network\": \"visa\",\n      \"category\": \"consumer\",\n      \"security_checks\": {\n        \"address_line1_check\": \"unavailable\",\n        \"address_postal_code_check\": \"unavailable\",\n        \"cvc_check\": \"pass\"\n      },\n      \"wallet\": {\n        \"type\": \"googlepay\",\n        \"googlepay\": {\n          \"type\": \"cryptogram_3ds\",\n          \"physical_card_last4\": \"4242\"\n        },\n        \"applepay\": {\n          \"physical_card_last4\": \"4242\"\n        },\n        \"ctp\": {\n          \"physical_card_last4\": \"string\",\n          \"physical_card_bin\": \"string\",\n          \"physical_card_exp_month\": \"string\",\n          \"physical_card_exp_year\": \"string\"\n        }\n      },\n      \"token\": \"tok_card_296645958265997326\",\n      \"three_d_secure\": {\n        \"authentication_flow\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"result\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"result_reason\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"version\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"eci\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"cardholder_info\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"liability_shift\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      \"three_ds\": {\n        \"authentication_flow\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"result\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"result_reason\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"status_reason\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"protocol_version\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"eci\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"cryptogram\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"liability_shift\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"cardholder_info\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"acs_transaction_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"three_ds_server_transaction_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"ds_transaction_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"ares\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"rreq\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      \"payout\": \"not_available\",\n      \"name_verification\": \"match\",\n      \"partial_approval\": {\n        \"status\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"amount_requested\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"amount_authorized\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"amount_charged\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"product_id\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        }\n      },\n      \"name\": \"John Smith\",\n      \"issuer\": \"Chase Bank\"\n    },\n    \"cashapp\": {\n      \"cashtag\": \"$acmecustomer\",\n      \"name\": \"Jenny Rosen\"\n    },\n    \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n    \"setup_future_usage\": \"on_session\"\n  },\n  \"payment_method_options\": {\n    \"card\": {\n      \"security_checks\": {\n        \"address_line1_check\": true,\n        \"address_postal_code_check\": true,\n        \"cvv_check\": true\n      }\n    }\n  },\n  \"refunded\": true,\n  \"refunds\": {\n    \"data\": [\n      {\n        \"id\": \"rfnd_296645958265997314\",\n        \"resource\": \"refund\",\n        \"amount\": 10000,\n        \"amount_human_readable\": \"100.00\",\n        \"charge\": \"chrg_296645958265997312\",\n        \"created\": \"2024-01-15T10:30:00Z\",\n        \"currency\": \"usd\",\n        \"customer\": \"cust_296645958265997317\",\n        \"customer_reference_id\": \"cust_ext_abc123\",\n        \"metadata\": {},\n        \"reference\": \"refund_order_12345\",\n        \"status\": \"succeeded\",\n        \"failure_code\": \"string\",\n        \"failure_message\": \"string\",\n        \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n        \"test_mode\": true,\n        \"underlying_network_id\": \"123456789012345\",\n        \"underlying_network_details\": {\n          \"network\": \"visa\",\n          \"visa\": {\n            \"arn\": \"74234567890123456789012\",\n            \"auth_code\": \"123456\",\n            \"raw_response_code\": \"00\",\n            \"rrn\": \"123456789012\",\n            \"eci\": \"05\",\n            \"aci\": \"Y\",\n            \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n          }\n        },\n        \"underlying_processing_details\": {\n          \"processor\": \"stripe\",\n          \"transaction_id\": \"pi_abc123xyz789\",\n          \"settlement_account\": \"sa_296645958265997349\",\n          \"settlement_account_details\": {\n            \"processor\": \"pay_com\",\n            \"currency\": \"usd\",\n            \"name\": \"Main Settlement Account\",\n            \"entity\": \"ent_296645958265997359\",\n            \"entity_details\": {\n              \"legal_name\": \"ACME Corp\",\n              \"country\": \"US\"\n            }\n          }\n        },\n        \"risk_assessment_details\": {\n          \"outcome\": \"allow\",\n          \"outcome_source\": \"score\",\n          \"score\": \"31\",\n          \"flags\": [\n            \"no_correlation_history\",\n            \"multiple_identities_billing\",\n            \"multiple_identities_card\",\n            \"free_email_provider\",\n            \"risky_billing_time\",\n            \"velocity_multiple_addresses\",\n            \"velocity_multiple_names\"\n          ],\n          \"bypassed\": [],\n          \"simulated\": []\n        },\n        \"receipt\": null,\n        \"tax_details\": {\n          \"amount_total\": 825,\n          \"tax_behavior\": \"exclusive\",\n          \"tax_quote\": \"txq_296645958265997339\",\n          \"effective_tax_rate\": \"8.25\",\n          \"tax_transaction\": null\n        }\n      },\n      {\n        \"id\": \"rfnd_296645958265997314\",\n        \"resource\": \"refund\",\n        \"amount\": 10000,\n        \"amount_human_readable\": \"100.00\",\n        \"charge\": \"chrg_296645958265997312\",\n        \"created\": \"2024-01-15T10:30:00Z\",\n        \"currency\": \"usd\",\n        \"customer\": \"cust_296645958265997317\",\n        \"customer_reference_id\": \"cust_ext_abc123\",\n        \"metadata\": {},\n        \"reference\": \"refund_order_12345\",\n        \"status\": \"succeeded\",\n        \"failure_code\": \"string\",\n        \"failure_message\": \"string\",\n        \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n        \"test_mode\": false,\n        \"underlying_network_id\": \"123456789012345\",\n        \"underlying_network_details\": {\n          \"network\": \"visa\",\n          \"visa\": {\n            \"arn\": \"74234567890123456789012\",\n            \"auth_code\": \"123456\",\n            \"raw_response_code\": \"00\",\n            \"rrn\": \"123456789012\",\n            \"eci\": \"05\",\n            \"aci\": \"Y\",\n            \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n          }\n        },\n        \"underlying_processing_details\": {\n          \"processor\": \"stripe\",\n          \"transaction_id\": \"pi_abc123xyz789\",\n          \"settlement_account\": \"sa_296645958265997349\",\n          \"settlement_account_details\": {\n            \"processor\": \"pay_com\",\n            \"currency\": \"usd\",\n            \"name\": \"Main Settlement Account\",\n            \"entity\": \"ent_296645958265997359\",\n            \"entity_details\": {\n              \"legal_name\": \"ACME Corp\",\n              \"country\": \"US\"\n            }\n          }\n        },\n        \"risk_assessment_details\": {\n          \"outcome\": \"allow\",\n          \"outcome_source\": \"score\",\n          \"score\": \"31\",\n          \"flags\": [\n            \"no_correlation_history\",\n            \"multiple_identities_billing\",\n            \"multiple_identities_card\",\n            \"free_email_provider\",\n            \"risky_billing_time\",\n            \"velocity_multiple_addresses\",\n            \"velocity_multiple_names\"\n          ],\n          \"bypassed\": [],\n          \"simulated\": []\n        },\n        \"receipt\": null,\n        \"tax_details\": {\n          \"amount_total\": 825,\n          \"tax_behavior\": \"exclusive\",\n          \"tax_quote\": \"txq_296645958265997339\",\n          \"effective_tax_rate\": \"8.25\",\n          \"tax_transaction\": null\n        }\n      }\n    ],\n    \"url\": \"/v1/charges/chrg_296645958265997312/refunds\"\n  },\n  \"reference\": \"order_12345\",\n  \"shipping\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"phone\": \"+14155551234\"\n  },\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"status\": \"requires_partial_approval_action\",\n  \"underlying_network_details\": {\n    \"network\": \"visa\",\n    \"visa\": {\n      \"arn\": \"74234567890123456789012\",\n      \"auth_code\": \"123456\",\n      \"raw_response_code\": \"00\",\n      \"rrn\": \"123456789012\",\n      \"eci\": \"05\",\n      \"aci\": \"Y\",\n      \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n    }\n  },\n  \"underlying_network_id\": \"123456789012345\",\n  \"risk_assessment_details\": {\n    \"outcome\": \"allow\",\n    \"outcome_source\": \"score\",\n    \"rule_id\": \"rl_296645958265997337\",\n    \"rules_id\": [\n      \"rl_296645958265997337\"\n    ],\n    \"score\": \"31\",\n    \"flags\": [\n      \"no_correlation_history\",\n      \"multiple_identities_billing\",\n      \"multiple_identities_card\",\n      \"free_email_provider\",\n      \"risky_billing_time\",\n      \"velocity_multiple_addresses\",\n      \"velocity_multiple_names\"\n    ]\n  },\n  \"test_mode\": true,\n  \"receipt\": null,\n  \"underlying_processing_details\": {\n    \"processor\": \"stripe\",\n    \"transaction_id\": \"pi_abc123xyz789\",\n    \"settlement_account\": \"sa_296645958265997349\",\n    \"settlement_account_details\": {\n      \"processor\": \"pay_com\",\n      \"currency\": \"usd\",\n      \"name\": \"Main Settlement Account\",\n      \"entity\": \"ent_296645958265997359\",\n      \"entity_details\": {\n        \"legal_name\": \"ACME Corp\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"tax_details\": {\n    \"amount_total\": 825,\n    \"tax_behavior\": \"exclusive\",\n    \"tax_quote\": \"txq_296645958265997339\",\n    \"effective_tax_rate\": \"8.25\",\n    \"tax_transaction\": null\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1f2340cf-5b59-5374-843d-d1117be290bc","name":"Invalid request parameters.","originalRequest":{"url":{"path":["transaction_status",":transaction_id_or_source_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id_or_source_id","description":"(Required) The ID of a charge (`chrg_`), hold (`hld_`), refund (`rfnd_`) or payout (`po_`), or of a card payment method (`pm_card_`)."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"393cc081-faca-5519-b872-5b11bcdbb7cc","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["transaction_status",":transaction_id_or_source_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id_or_source_id","description":"(Required) The ID of a charge (`chrg_`), hold (`hld_`), refund (`rfnd_`) or payout (`po_`), or of a card payment method (`pm_card_`)."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a6a71662-a319-53ed-b613-14e0b241c97d","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["transaction_status",":transaction_id_or_source_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id_or_source_id","description":"(Required) The ID of a charge (`chrg_`), hold (`hld_`), refund (`rfnd_`) or payout (`po_`), or of a card payment method (`pm_card_`)."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1f734a2f-ec7a-51a1-89c5-d7bcaabeb7e1","name":"Transaction or payment method not found.","originalRequest":{"url":{"path":["transaction_status",":transaction_id_or_source_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id_or_source_id","description":"(Required) The ID of a charge (`chrg_`), hold (`hld_`), refund (`rfnd_`) or payout (`po_`), or of a card payment method (`pm_card_`)."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c983e235-bd7b-5c15-bd69-60ec2cdde2f9","name":"Internal server error.","originalRequest":{"url":{"path":["transaction_status",":transaction_id_or_source_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id_or_source_id","description":"(Required) The ID of a charge (`chrg_`), hold (`hld_`), refund (`rfnd_`) or payout (`po_`), or of a card payment method (`pm_card_`)."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8afe8764-407d-5162-9be8-7b05c39d5e76","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["transaction_status",":transaction_id_or_source_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id_or_source_id","description":"(Required) The ID of a charge (`chrg_`), hold (`hld_`), refund (`rfnd_`) or payout (`po_`), or of a card payment method (`pm_card_`)."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"e5e523bb-34e1-587d-b45f-f173879ed6d0","name":"ValueLists","description":{"content":"Value Lists let you create and manage custom lists of values for use in rules, filters, and other configurations.","type":"text/plain"},"item":[{"id":"8b5fc4a5-3d13-5f8c-a701-498680862bd9","name":"List bank account blacklist entries","request":{"name":"List bank account blacklist entries","description":{"content":"Returns a paginated list of bank account blacklist entries for the merchant. This endpoint does not create the bank account blacklist if it does not exist.","type":"text/plain"},"url":{"path":["value_lists","bank_account_blacklist"],"host":["{{pay_base_url}}"],"query":[{"disabled":false,"key":"page","value":"1","description":"Page number to return."},{"disabled":false,"key":"limit","value":"10","description":"Maximum number of entries to return."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"7cde956b-31d5-500d-94e3-ef948b32d03c","name":"Returns a list of bank account blacklist entry objects.","originalRequest":{"url":{"path":["value_lists","bank_account_blacklist"],"host":["{{pay_base_url}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"resource\": \"list\",\n  \"data\": [\n    {\n      \"id\": \"lsti_296645958265997336\",\n      \"resource\": \"list_item\",\n      \"value\": \"296645958265997357\",\n      \"list\": \"lst_296645958265997335\",\n      \"metadata\": {\n        \"last4\": \"6789\",\n        \"bank_name\": \"Example Bank\",\n        \"country\": \"US\",\n        \"currency\": \"USD\"\n      },\n      \"created_at\": \"2024-01-15T10:30:00Z\",\n      \"created_by\": \"456789\",\n      \"updated_at\": \"1960-05-29T21:44:17.353Z\",\n      \"updated_by\": \"string\",\n      \"test_mode\": true\n    },\n    {\n      \"id\": \"lsti_296645958265997336\",\n      \"resource\": \"list_item\",\n      \"value\": \"296645958265997357\",\n      \"list\": \"lst_296645958265997335\",\n      \"metadata\": {\n        \"last4\": \"6789\",\n        \"bank_name\": \"Example Bank\",\n        \"country\": \"US\",\n        \"currency\": \"USD\"\n      },\n      \"created_at\": \"2024-01-15T10:30:00Z\",\n      \"created_by\": \"456789\",\n      \"updated_at\": \"1958-02-26T20:20:44.840Z\",\n      \"updated_by\": \"string\",\n      \"test_mode\": true\n    }\n  ],\n  \"last_page\": false,\n  \"page\": 1,\n  \"total_pages\": 13,\n  \"total_records\": 123\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a8086e15-8b43-54d3-af8a-6a210f7e7cd9","name":"Invalid request parameters.","originalRequest":{"url":{"path":["value_lists","bank_account_blacklist"],"host":["{{pay_base_url}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f6ac7632-5317-51c9-8636-5db791144052","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["value_lists","bank_account_blacklist"],"host":["{{pay_base_url}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cc0de4b3-6da0-5577-b059-fff342618fa8","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["value_lists","bank_account_blacklist"],"host":["{{pay_base_url}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9fb149f8-c9c5-58cf-a411-023a1b24a565","name":"Bank account blacklist not found.","originalRequest":{"url":{"path":["value_lists","bank_account_blacklist"],"host":["{{pay_base_url}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b952b076-d1d9-5670-b6bc-233523ea91c7","name":"Internal server error.","originalRequest":{"url":{"path":["value_lists","bank_account_blacklist"],"host":["{{pay_base_url}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cdd380c9-e6f6-585e-8da5-42ccfa630a11","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["value_lists","bank_account_blacklist"],"host":["{{pay_base_url}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"f1061403-40e9-5645-8d7e-0322e2823924","name":"Add bank accounts to the bank account blacklist","request":{"name":"Add bank accounts to the bank account blacklist","description":{"content":"Adds a bank account payment method (`source`), or all bank account sources of a customer (`customer_reference_id`), to the merchant's bank account blacklist. If the bank account blacklist does not exist, it is created automatically.\n","type":"text/plain"},"url":{"path":["value_lists","bank_account_blacklist"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","auth":null,"body":{"mode":"raw","raw":"{\n  \"source\": \"pm_us_bank_account_296645958265997316\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"e3687c0d-1524-573a-9cfb-535f8087cc01","name":"Returns the bank account blacklist list object.","originalRequest":{"url":{"path":["value_lists","bank_account_blacklist"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"296645958265997335\",\n  \"company_id\": \"332673167054000064\",\n  \"merchant_id\": \"296645958265997325\",\n  \"name\": \"Bank account blacklist\",\n  \"alias\": \"pm_bank_account_blacklist\",\n  \"type\": \"bank_account\",\n  \"created_by\": \"456789\",\n  \"created_at\": \"1705314600000\",\n  \"updated_at\": \"1705314600000\",\n  \"updated_by\": \"456789\",\n  \"items\": 0,\n  \"is_user_generated\": false,\n  \"internal\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5baff76f-2ccd-5dfa-93df-673e95d74c7f","name":"Invalid request parameters.","originalRequest":{"url":{"path":["value_lists","bank_account_blacklist"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4116cc05-42fc-5e1a-b66f-4f1893af000a","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["value_lists","bank_account_blacklist"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6403ae2a-bbbd-5917-8877-4790aae82db8","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["value_lists","bank_account_blacklist"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a365406a-3aa6-5721-ac9b-6f5bd88ff8f1","name":"The source was not found or is not a bank account payment method, or the customer was not found or has no bank account payment methods.","originalRequest":{"url":{"path":["value_lists","bank_account_blacklist"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"63c2f045-81fd-5767-8592-443d69e12228","name":"Internal server error.","originalRequest":{"url":{"path":["value_lists","bank_account_blacklist"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b787b25a-d7a9-5bd7-8a69-434c574f76ff","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["value_lists","bank_account_blacklist"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c23c60f1-50d3-53cf-8387-f1f6a04aa5bf","name":"Remove bank accounts from the bank account blacklist","request":{"name":"Remove bank accounts from the bank account blacklist","description":{"content":"Removes a bank account payment method (`source`), or all bank account sources of a customer (`customer_reference_id`), from the merchant's bank account blacklist. This endpoint does not create the bank account blacklist if it does not exist.\n","type":"text/plain"},"url":{"path":["value_lists","bank_account_blacklist"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":null,"body":{"mode":"raw","raw":"{\n  \"source\": \"pm_us_bank_account_296645958265997316\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"5f55b088-e9b0-50db-a84b-ea5f7d02ce11","name":"Bank account blacklist entries deleted successfully. No content is returned.","originalRequest":{"url":{"path":["value_lists","bank_account_blacklist"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"e3af1f24-0297-50f8-8d3e-c098f46473dd","name":"Invalid request parameters.","originalRequest":{"url":{"path":["value_lists","bank_account_blacklist"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6b0cb948-6206-5b95-be2e-ce782e9843e4","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["value_lists","bank_account_blacklist"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"eaf2d4d2-152a-55ef-9ee8-2710558d4a2c","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["value_lists","bank_account_blacklist"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1c5c4cbf-a058-5150-865a-7a095e6a1ec5","name":"The bank account blacklist does not exist or is empty, the source was not found or is not a bank account payment method, or the customer was not found or has no bank account payment methods.","originalRequest":{"url":{"path":["value_lists","bank_account_blacklist"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"72967ad2-63a0-5ee5-aa22-1506a6c3f7ef","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["value_lists","bank_account_blacklist"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a5ed8df6-4874-517d-9e63-63debdfb119c","name":"Internal server error.","originalRequest":{"url":{"path":["value_lists","bank_account_blacklist"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"313c5a2f-79dc-5e57-a2ae-838cf03ea40b","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["value_lists","bank_account_blacklist"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"56549fb6-9682-5ab0-a464-fb5b9b6809f2","name":"List card blacklist entries","request":{"name":"List card blacklist entries","description":{"content":"Returns a paginated list of card blacklist entries for the merchant. This endpoint does not create the card blacklist if it does not exist.","type":"text/plain"},"url":{"path":["value_lists","card_blacklist"],"host":["{{pay_base_url}}"],"query":[{"disabled":false,"key":"page","value":"1","description":"Page number to return."},{"disabled":false,"key":"limit","value":"10","description":"Maximum number of entries to return."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"52f9d797-51c6-5ee8-aacb-7663e21d9e6d","name":"Returns a list of card blacklist entry objects.","originalRequest":{"url":{"path":["value_lists","card_blacklist"],"host":["{{pay_base_url}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"resource\": \"list\",\n  \"data\": [\n    {\n      \"id\": \"lsti_296645958265997336\",\n      \"resource\": \"list_item\",\n      \"value\": \"fp_abc123xyz789\",\n      \"list\": \"lst_296645958265997335\",\n      \"metadata\": {\n        \"bin\": \"424242\",\n        \"last_four_digits\": \"4242\",\n        \"brand\": \"visa\",\n        \"issuer_country\": \"US\",\n        \"card_type\": \"credit\"\n      },\n      \"created_at\": \"2024-01-15T10:30:00Z\",\n      \"created_by\": \"456789\",\n      \"updated_at\": \"1946-11-30T20:10:00.207Z\",\n      \"updated_by\": \"string\",\n      \"test_mode\": true\n    },\n    {\n      \"id\": \"lsti_296645958265997336\",\n      \"resource\": \"list_item\",\n      \"value\": \"fp_abc123xyz789\",\n      \"list\": \"lst_296645958265997335\",\n      \"metadata\": {\n        \"bin\": \"424242\",\n        \"last_four_digits\": \"4242\",\n        \"brand\": \"visa\",\n        \"issuer_country\": \"US\",\n        \"card_type\": \"credit\"\n      },\n      \"created_at\": \"2024-01-15T10:30:00Z\",\n      \"created_by\": \"456789\",\n      \"updated_at\": \"1964-08-09T20:05:30.890Z\",\n      \"updated_by\": \"string\",\n      \"test_mode\": true\n    }\n  ],\n  \"last_page\": false,\n  \"page\": 1,\n  \"total_pages\": 13,\n  \"total_records\": 123\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8ac7ee37-6884-55c1-a18f-128d54a6a4e0","name":"Invalid request parameters.","originalRequest":{"url":{"path":["value_lists","card_blacklist"],"host":["{{pay_base_url}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3efb02bc-743e-51ce-afbf-b0db0f693a93","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["value_lists","card_blacklist"],"host":["{{pay_base_url}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f2bf71e2-a7b2-531b-af01-d0d06eb95c93","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["value_lists","card_blacklist"],"host":["{{pay_base_url}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"412904aa-2841-5fb9-aadb-47a0a4a7029b","name":"Card blacklist not found.","originalRequest":{"url":{"path":["value_lists","card_blacklist"],"host":["{{pay_base_url}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c4f4f16b-86c6-5d7a-bbcb-743d15c95d61","name":"Internal server error.","originalRequest":{"url":{"path":["value_lists","card_blacklist"],"host":["{{pay_base_url}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4d046db9-4130-50e6-82b9-36455d6606f6","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["value_lists","card_blacklist"],"host":["{{pay_base_url}}"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"86eb575b-cb49-5d90-9d6a-802d52df0097","name":"Add cards to the card blacklist","request":{"name":"Add cards to the card blacklist","description":{"content":"Adds a card payment method (`source`), or all eligible card sources of a customer (`customer_reference_id`), to the merchant's card blacklist. Eligible sources are `card`, `applepay` and `googlepay` payment methods. Cards are stored by their unique identifier (fingerprint), so every payment method for the same card is blocked. If the card blacklist does not exist, it is created automatically.\n","type":"text/plain"},"url":{"path":["value_lists","card_blacklist"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","auth":null,"body":{"mode":"raw","raw":"{\n  \"source\": \"pm_card_296645958265997316\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"6521f678-a862-5c29-be9e-420117d12d5b","name":"Returns the card blacklist list object.","originalRequest":{"url":{"path":["value_lists","card_blacklist"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"296645958265997335\",\n  \"company_id\": \"332673167054000064\",\n  \"merchant_id\": \"296645958265997325\",\n  \"name\": \"Card blacklist\",\n  \"alias\": \"pm_card_blacklist\",\n  \"type\": \"card\",\n  \"created_by\": \"456789\",\n  \"created_at\": \"1705314600000\",\n  \"updated_at\": \"1705314600000\",\n  \"updated_by\": \"456789\",\n  \"items\": 0,\n  \"is_user_generated\": false,\n  \"internal\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"664755e0-1031-5482-86a8-c98d09698535","name":"Invalid request parameters.","originalRequest":{"url":{"path":["value_lists","card_blacklist"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e739ee2f-baa4-537c-906b-e39ce50c7162","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["value_lists","card_blacklist"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e48ade58-1080-551d-ae74-7c6e4144fcb4","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["value_lists","card_blacklist"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"975d8dd0-3bc6-5a76-831f-93ab6ee91208","name":"The source was not found or is not a card, Apple Pay or Google Pay payment method, or the customer was not found or has no eligible card sources.","originalRequest":{"url":{"path":["value_lists","card_blacklist"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"286c7fb1-4b77-508a-a1d7-00d0b2495142","name":"Internal server error.","originalRequest":{"url":{"path":["value_lists","card_blacklist"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"079f1c4e-8937-5539-94c0-7d628435e7c9","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["value_lists","card_blacklist"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"600a9140-73f0-5c6c-9d98-d45f5e538347","name":"Remove cards from the card blacklist","request":{"name":"Remove cards from the card blacklist","description":{"content":"Removes a card payment method (`source`), or all eligible card sources of a customer (`customer_reference_id`), from the merchant's card blacklist. This endpoint does not create the card blacklist if it does not exist. Removing a card that is not in the card blacklist succeeds with 204 and changes nothing.\n","type":"text/plain"},"url":{"path":["value_lists","card_blacklist"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":null,"body":{"mode":"raw","raw":"{\n  \"source\": \"pm_card_296645958265997316\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"36326adf-80ec-510b-b704-a9841780f204","name":"Card blacklist entries deleted successfully. No content is returned.","originalRequest":{"url":{"path":["value_lists","card_blacklist"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"d766a01a-757e-5aeb-a13c-4b6ed7e27d23","name":"Invalid request parameters.","originalRequest":{"url":{"path":["value_lists","card_blacklist"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"dbc8d57a-df2c-508d-a62e-46d784f0229e","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["value_lists","card_blacklist"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ae855d07-2af0-52a3-9968-8306cbe260c5","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["value_lists","card_blacklist"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"901a80f7-2810-5377-bf1b-8885b4b10326","name":"The card blacklist does not exist or is empty, the source was not found or is not a card, Apple Pay or Google Pay payment method, or the customer was not found or has no eligible card sources.","originalRequest":{"url":{"path":["value_lists","card_blacklist"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"35316f67-61c9-5fc8-b03d-992b4b3b16f9","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["value_lists","card_blacklist"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d96752e9-e2b0-5640-aca3-58307f378af1","name":"Internal server error.","originalRequest":{"url":{"path":["value_lists","card_blacklist"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1058622b-2cc1-5414-b509-0452ec21bb1b","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["value_lists","card_blacklist"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"698f69d0-2d3b-53ef-b125-998c2c7efa12","name":"Retrieve a value list","request":{"name":"Retrieve a value list","description":{"content":"Retrieves the details of a value list.","type":"text/plain"},"url":{"path":["value_lists",":list_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"1a51ee57-7acd-5f13-9be2-5bbbd801bd12","name":"Returns the value list object.","originalRequest":{"url":{"path":["value_lists",":list_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"lst_296645958265997335\",\n  \"resource\": \"list\",\n  \"name\": \"Blocked Emails\",\n  \"alias\": \"blocked_emails\",\n  \"type\": \"email\",\n  \"created_at\": \"2024-01-15T10:30:00Z\",\n  \"created_by\": \"456789\",\n  \"updated_at\": \"2024-01-15T10:30:00Z\",\n  \"updated_by\": \"string\",\n  \"items_count\": 1,\n  \"test_mode\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"991c6ed0-f619-5f5c-a93f-f399c8d949b1","name":"Invalid request parameters.","originalRequest":{"url":{"path":["value_lists",":list_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a44857fe-89ff-5f2d-a2b9-3f244f4d0ee3","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["value_lists",":list_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ed0dcde4-8fd3-5abc-af7e-bc14f8ea0bfe","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["value_lists",":list_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6985a615-dbb1-5f5b-8588-c056fa44fad4","name":"Value list not found.","originalRequest":{"url":{"path":["value_lists",":list_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"875ac607-82ef-56c3-963e-c77f1c3edbbe","name":"Internal server error.","originalRequest":{"url":{"path":["value_lists",":list_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e42cc28d-ca7f-5672-8ff8-819ff840366f","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["value_lists",":list_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"944cce85-698c-5b11-b6b5-6484553bc5ea","name":"Update a value list","request":{"name":"Update a value list","description":{"content":"Updates a value list.","type":"text/plain"},"url":{"path":["value_lists",":list_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","auth":null,"body":{"mode":"raw","raw":"{\n  \"name\": \"Blocked Emails\",\n  \"alias\": \"blocked_emails\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"c6a1bf86-e6d7-5f1b-bcf1-b50e28756946","name":"Returns the updated value list object.","originalRequest":{"url":{"path":["value_lists",":list_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"lst_296645958265997335\",\n  \"resource\": \"list\",\n  \"name\": \"Blocked Emails\",\n  \"alias\": \"blocked_emails\",\n  \"type\": \"email\",\n  \"created_at\": \"2024-01-15T10:30:00Z\",\n  \"created_by\": \"456789\",\n  \"updated_at\": \"2024-01-15T10:30:00Z\",\n  \"updated_by\": \"string\",\n  \"items_count\": 1,\n  \"test_mode\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2b69b2f0-a372-578d-9bdf-6ea3e1ff8c5a","name":"Invalid request parameters.","originalRequest":{"url":{"path":["value_lists",":list_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ef785795-6b83-583b-99bc-9ed8fd11809d","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["value_lists",":list_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f174b8ae-f04d-5106-a2fb-67a3450808c1","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["value_lists",":list_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"262954e5-26fe-53af-b209-d2aa3e8b93ae","name":"Value list not found.","originalRequest":{"url":{"path":["value_lists",":list_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"57cb4b3d-286d-584f-865e-ca7e628e69ef","name":"Internal server error.","originalRequest":{"url":{"path":["value_lists",":list_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1ea6770f-4c78-5f67-b960-fe00d1c56f7f","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["value_lists",":list_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"d76567be-7055-5687-b335-d51df99fe251","name":"Delete a value list","request":{"name":"Delete a value list","description":{"content":"Deletes a value list and all of its items. System-managed lists, such as the card blacklist, cannot be deleted.","type":"text/plain"},"url":{"path":["value_lists",":list_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":null},"response":[{"id":"46e63bbd-b76e-5771-aed6-0b39ca7306c0","name":"Value list deleted successfully.","originalRequest":{"url":{"path":["value_lists",":list_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"d533aa7b-2e24-5761-bf02-3c7382004bed","name":"Invalid request parameters.","originalRequest":{"url":{"path":["value_lists",":list_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"216c41c8-d94b-5cbf-be62-29ec928b8da8","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["value_lists",":list_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"40cc128c-31a8-5a43-b81c-27ae3941d300","name":"The value list is system-managed and cannot be deleted.\n\nA 403 can also mean the key may not make this request; `code` says why.","originalRequest":{"url":{"path":["value_lists",":list_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"79726b25-f2fb-544f-a1f7-32aecb833757","name":"Value list not found.","originalRequest":{"url":{"path":["value_lists",":list_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d144b103-0bae-5e3d-a502-ac2484265e4c","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["value_lists",":list_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"996b6b02-5436-583b-828f-427f32877592","name":"Internal server error.","originalRequest":{"url":{"path":["value_lists",":list_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"57c74f58-fdf2-57ea-8ffe-8a492716900b","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["value_lists",":list_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"4405ff61-54cf-5586-90f2-045652056c45","name":"Retrieve a value list item","request":{"name":"Retrieve a value list item","description":{"content":"Retrieves the details of a value list item.","type":"text/plain"},"url":{"path":["value_lists",":list_id","items",":item_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."},{"disabled":false,"type":"any","value":"lsti_296645958265997336","key":"item_id","description":"(Required) The identifier of the value list item."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"0ebc18c7-3a34-52a9-a30b-bc57c854bcb8","name":"Returns the value list item object.","originalRequest":{"url":{"path":["value_lists",":list_id","items",":item_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."},{"disabled":false,"type":"any","value":"lsti_296645958265997336","key":"item_id","description":"(Required) The identifier of the value list item."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"lsti_296645958265997336\",\n  \"resource\": \"list_item\",\n  \"list\": \"lst_296645958265997335\",\n  \"created_at\": \"2024-01-15T10:30:00Z\",\n  \"created_by\": \"456789\",\n  \"updated_at\": \"2024-01-15T10:30:00Z\",\n  \"updated_by\": \"string\",\n  \"test_mode\": true,\n  \"metadata\": {},\n  \"value\": \"john.smith@example.com\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c605cc6f-dc03-5a11-bd03-8a2ce9391b6f","name":"Invalid request parameters.","originalRequest":{"url":{"path":["value_lists",":list_id","items",":item_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."},{"disabled":false,"type":"any","value":"lsti_296645958265997336","key":"item_id","description":"(Required) The identifier of the value list item."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8b8f4db5-9291-5654-a92f-34fc112b13b8","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["value_lists",":list_id","items",":item_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."},{"disabled":false,"type":"any","value":"lsti_296645958265997336","key":"item_id","description":"(Required) The identifier of the value list item."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"03a29ce8-f54a-502f-b744-dae2d4b9142e","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["value_lists",":list_id","items",":item_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."},{"disabled":false,"type":"any","value":"lsti_296645958265997336","key":"item_id","description":"(Required) The identifier of the value list item."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"69ff4ce9-dd9b-5a8f-a857-4cc7675141f6","name":"Value list item not found.","originalRequest":{"url":{"path":["value_lists",":list_id","items",":item_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."},{"disabled":false,"type":"any","value":"lsti_296645958265997336","key":"item_id","description":"(Required) The identifier of the value list item."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"dba2d365-37a9-5b52-bb2d-1cd9e5333e9f","name":"Internal server error.","originalRequest":{"url":{"path":["value_lists",":list_id","items",":item_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."},{"disabled":false,"type":"any","value":"lsti_296645958265997336","key":"item_id","description":"(Required) The identifier of the value list item."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2a03df9d-d3bd-52f1-8358-090ab8318880","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["value_lists",":list_id","items",":item_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."},{"disabled":false,"type":"any","value":"lsti_296645958265997336","key":"item_id","description":"(Required) The identifier of the value list item."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"b5ee4b76-159f-53e3-9c02-340f411fe258","name":"Delete a value list item","request":{"name":"Delete a value list item","description":{"content":"Deletes a value list item.","type":"text/plain"},"url":{"path":["value_lists",":list_id","items",":item_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."},{"disabled":false,"type":"any","value":"lsti_296645958265997336","key":"item_id","description":"(Required) The identifier of the value list item."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":null},"response":[{"id":"639d197b-15e0-58ad-bdbe-45d9c671806f","name":"Value list item deleted successfully.","originalRequest":{"url":{"path":["value_lists",":list_id","items",":item_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."},{"disabled":false,"type":"any","value":"lsti_296645958265997336","key":"item_id","description":"(Required) The identifier of the value list item."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"1b1cd4e5-2317-56a4-94d0-43a0fd3768a1","name":"Invalid request parameters.","originalRequest":{"url":{"path":["value_lists",":list_id","items",":item_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."},{"disabled":false,"type":"any","value":"lsti_296645958265997336","key":"item_id","description":"(Required) The identifier of the value list item."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"959b046e-4380-5ccf-99ec-a128b13e5e9e","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["value_lists",":list_id","items",":item_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."},{"disabled":false,"type":"any","value":"lsti_296645958265997336","key":"item_id","description":"(Required) The identifier of the value list item."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3300c10a-5709-516c-8589-1de52ece1ab0","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["value_lists",":list_id","items",":item_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."},{"disabled":false,"type":"any","value":"lsti_296645958265997336","key":"item_id","description":"(Required) The identifier of the value list item."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"707a6dae-779b-595f-8411-eb8ee4a4274c","name":"Value list item not found.","originalRequest":{"url":{"path":["value_lists",":list_id","items",":item_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."},{"disabled":false,"type":"any","value":"lsti_296645958265997336","key":"item_id","description":"(Required) The identifier of the value list item."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7ef80b36-145e-52ab-af9c-a6a2bb3dbaa4","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["value_lists",":list_id","items",":item_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."},{"disabled":false,"type":"any","value":"lsti_296645958265997336","key":"item_id","description":"(Required) The identifier of the value list item."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3486795e-049f-5bd9-920d-da91cdfc2b99","name":"Internal server error.","originalRequest":{"url":{"path":["value_lists",":list_id","items",":item_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."},{"disabled":false,"type":"any","value":"lsti_296645958265997336","key":"item_id","description":"(Required) The identifier of the value list item."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"49e3a6b3-6601-59a0-8a96-423ef175e142","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["value_lists",":list_id","items",":item_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."},{"disabled":false,"type":"any","value":"lsti_296645958265997336","key":"item_id","description":"(Required) The identifier of the value list item."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"340c39a5-a77b-50ac-8767-392e28f2c391","name":"Update a value list item","request":{"name":"Update a value list item","description":{"content":"Updates a value list item. The new `value` must differ from the current one. `metadata` replaces the existing metadata, and an update without it clears the metadata.","type":"text/plain"},"url":{"path":["value_lists",":list_id","items",":item_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."},{"disabled":false,"type":"any","value":"lsti_296645958265997336","key":"item_id","description":"(Required) The identifier of the value list item."}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","auth":null,"body":{"mode":"raw","raw":"{\n  \"value\": \"john.smith@example.com\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"9bf86699-f950-5a0f-b53e-beff0f404366","name":"Returns the updated value list item object.","originalRequest":{"url":{"path":["value_lists",":list_id","items",":item_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."},{"disabled":false,"type":"any","value":"lsti_296645958265997336","key":"item_id","description":"(Required) The identifier of the value list item."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"lsti_296645958265997336\",\n  \"resource\": \"list_item\",\n  \"list\": \"lst_296645958265997335\",\n  \"created_at\": \"2024-01-15T10:30:00Z\",\n  \"created_by\": \"456789\",\n  \"updated_at\": \"2024-01-15T10:30:00Z\",\n  \"updated_by\": \"string\",\n  \"test_mode\": true,\n  \"metadata\": {},\n  \"value\": \"john.smith@example.com\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"eca7a69a-b048-58f3-b975-fc5464cd46b0","name":"Invalid request parameters.","originalRequest":{"url":{"path":["value_lists",":list_id","items",":item_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."},{"disabled":false,"type":"any","value":"lsti_296645958265997336","key":"item_id","description":"(Required) The identifier of the value list item."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a6a8e66f-d343-5e1e-bf5d-70c87a284894","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["value_lists",":list_id","items",":item_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."},{"disabled":false,"type":"any","value":"lsti_296645958265997336","key":"item_id","description":"(Required) The identifier of the value list item."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f9da632b-c031-5858-81bc-52861fbb5c4f","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["value_lists",":list_id","items",":item_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."},{"disabled":false,"type":"any","value":"lsti_296645958265997336","key":"item_id","description":"(Required) The identifier of the value list item."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"50f83743-9b6e-5b62-9d1a-fdb3221d5af0","name":"Value list item not found.","originalRequest":{"url":{"path":["value_lists",":list_id","items",":item_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."},{"disabled":false,"type":"any","value":"lsti_296645958265997336","key":"item_id","description":"(Required) The identifier of the value list item."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"dd68de68-fe41-5c48-a9ad-36f5126b65ea","name":"Internal server error.","originalRequest":{"url":{"path":["value_lists",":list_id","items",":item_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."},{"disabled":false,"type":"any","value":"lsti_296645958265997336","key":"item_id","description":"(Required) The identifier of the value list item."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ebf7541f-882b-5d25-b0d9-ed5bcd8e7518","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["value_lists",":list_id","items",":item_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."},{"disabled":false,"type":"any","value":"lsti_296645958265997336","key":"item_id","description":"(Required) The identifier of the value list item."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"9219a83e-6a28-55ae-be96-baf9278f241d","name":"Create a value list","request":{"name":"Create a value list","description":{"content":"Creates a new value list.","type":"text/plain"},"url":{"path":["value_lists"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"name\": \"Blocked Emails\",\n  \"alias\": \"blocked_emails\",\n  \"type\": \"email\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"b717a739-8b39-5902-8fe3-db6b6d95a0ea","name":"Returns the created value list object.","originalRequest":{"url":{"path":["value_lists"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"lst_296645958265997335\",\n  \"resource\": \"list\",\n  \"name\": \"Blocked Emails\",\n  \"alias\": \"blocked_emails\",\n  \"type\": \"email\",\n  \"created_at\": \"2024-01-15T10:30:00Z\",\n  \"created_by\": \"456789\",\n  \"updated_at\": \"2024-01-15T10:30:00Z\",\n  \"updated_by\": \"string\",\n  \"items_count\": 1,\n  \"test_mode\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1d060cc7-7fde-5c97-8d89-1888ff23301c","name":"Invalid request parameters.","originalRequest":{"url":{"path":["value_lists"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c03bc579-26b7-5018-9367-0e5921b52e6f","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["value_lists"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"24a0e2c1-3aa2-524c-88db-ddb8f4e6233e","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["value_lists"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"092e4c52-aad4-5174-bf90-81167b9f987a","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["value_lists"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"23e4ae4a-61be-51f1-b070-fb8efdf23117","name":"Internal server error.","originalRequest":{"url":{"path":["value_lists"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"94e3c54a-d0a8-5770-ad5a-1fd17462aca3","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["value_lists"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"6f14fe41-a64b-599a-b358-a111ca997384","name":"List value lists","request":{"name":"List value lists","description":{"content":"Retrieves a page of your value lists. The results include the lists Pay.com manages for you, the card blacklist (alias `pm_card_blacklist`) and the bank account blacklist (alias `pm_bank_account_blacklist`), which can't be deleted.","type":"text/plain"},"url":{"path":["value_lists"],"host":["{{pay_base_url}}"],"query":[{"disabled":false,"key":"from_date","value":"2024-01-01T00:00:00Z","description":"Return value lists created on or after this time. Accepts an ISO 8601 date or date-time."},{"disabled":false,"key":"to_date","value":"2024-12-31T23:59:59Z","description":"Return value lists created on or before this time. Accepts an ISO 8601 date or date-time."},{"disabled":false,"key":"page","value":"1","description":"Page number to start from."},{"disabled":false,"key":"limit","value":"10","description":"Number of value lists displayed on the page."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"b8a56edc-e16c-535c-a3a1-76acae77b6ed","name":"Returns a list of value list objects.","originalRequest":{"url":{"path":["value_lists"],"host":["{{pay_base_url}}"],"query":[{"key":"from_date","value":"2024-01-01T00:00:00Z"},{"key":"to_date","value":"2024-12-31T23:59:59Z"},{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"resource\": \"lists\",\n  \"data\": [\n    {\n      \"id\": \"lst_296645958265997335\",\n      \"resource\": \"list\",\n      \"name\": \"Blocked Emails\",\n      \"alias\": \"blocked_emails\",\n      \"type\": \"email\",\n      \"created_at\": \"2024-01-15T10:30:00Z\",\n      \"created_by\": \"456789\",\n      \"updated_at\": \"2024-01-15T10:30:00Z\",\n      \"updated_by\": \"string\",\n      \"items_count\": 1,\n      \"test_mode\": true\n    },\n    {\n      \"id\": \"lst_296645958265997335\",\n      \"resource\": \"list\",\n      \"name\": \"Blocked Emails\",\n      \"alias\": \"blocked_emails\",\n      \"type\": \"email\",\n      \"created_at\": \"2024-01-15T10:30:00Z\",\n      \"created_by\": \"456789\",\n      \"updated_at\": \"2024-01-15T10:30:00Z\",\n      \"updated_by\": \"string\",\n      \"items_count\": 1,\n      \"test_mode\": true\n    }\n  ],\n  \"last_page\": true,\n  \"page\": 1,\n  \"total_pages\": 1,\n  \"total_records\": 2\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c243d506-ec39-5dc5-9ea7-a9f478729c12","name":"Invalid request parameters.","originalRequest":{"url":{"path":["value_lists"],"host":["{{pay_base_url}}"],"query":[{"key":"from_date","value":"2024-01-01T00:00:00Z"},{"key":"to_date","value":"2024-12-31T23:59:59Z"},{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0248bd06-1617-5688-8702-42e3f15c3a37","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["value_lists"],"host":["{{pay_base_url}}"],"query":[{"key":"from_date","value":"2024-01-01T00:00:00Z"},{"key":"to_date","value":"2024-12-31T23:59:59Z"},{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"dcf99d12-2192-58f2-908c-d61d27b2c33e","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["value_lists"],"host":["{{pay_base_url}}"],"query":[{"key":"from_date","value":"2024-01-01T00:00:00Z"},{"key":"to_date","value":"2024-12-31T23:59:59Z"},{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4d0c2ba8-0955-5464-a05d-fad7368aca09","name":"Internal server error.","originalRequest":{"url":{"path":["value_lists"],"host":["{{pay_base_url}}"],"query":[{"key":"from_date","value":"2024-01-01T00:00:00Z"},{"key":"to_date","value":"2024-12-31T23:59:59Z"},{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"de9ccaf0-9605-5cc7-88a2-e8449692babf","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["value_lists"],"host":["{{pay_base_url}}"],"query":[{"key":"from_date","value":"2024-01-01T00:00:00Z"},{"key":"to_date","value":"2024-12-31T23:59:59Z"},{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"7cf0d3d1-7ba7-584c-9996-9f61080e7d72","name":"List value list items","request":{"name":"List value list items","description":{"content":"Retrieves the items in a value list, sorted by creation time, oldest first.","type":"text/plain"},"url":{"path":["value_lists",":list_id","items"],"host":["{{pay_base_url}}"],"query":[{"disabled":false,"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z","description":"Return objects created on or after this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.greater_than`."},{"disabled":false,"key":"created.greater_than","value":"2024-10-10T00:00:00Z","description":"Return objects created after this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.greater_than_or_equals`."},{"disabled":false,"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z","description":"Return objects created on or before this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.less_than`."},{"disabled":false,"key":"created.less_than","value":"2024-10-10T00:00:00Z","description":"Return objects created before this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.less_than_or_equals`."},{"disabled":false,"key":"limit","value":"10","description":"Maximum number of objects to return. Defaults to 10."},{"disabled":false,"key":"ending_before","value":"lsti_296645958265997336","description":"A cursor for pagination. Returns items created before the item with this ID. Must be a value list item ID. Mutually exclusive with `starting_after`."},{"disabled":false,"key":"starting_after","value":"lsti_296645958265997336","description":"A cursor for pagination. Returns items created after the item with this ID. Must be a value list item ID. Mutually exclusive with `ending_before`."},{"disabled":false,"key":"value","value":"john.smith@example.com","description":"Return list items whose stored value matches one of these values. Repeat the parameter (`value=a&value=b`) to match any of several values.\n\nValues are compared with the stored, normalized value: emails are stored in lowercase, and `card` lists store the card's unique identifier (fingerprint), so a `pm_card_` ID never matches."}],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"c5d9692d-8444-5b72-9d0e-87e295ea1d1c","name":"Returns a list of value list item objects.","originalRequest":{"url":{"path":["value_lists",":list_id","items"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"ending_before","value":"lsti_296645958265997336"},{"key":"starting_after","value":"lsti_296645958265997336"},{"key":"value","value":"john.smith@example.com"}],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"resource\": \"list_items\",\n  \"data\": [\n    {\n      \"id\": \"lsti_296645958265997336\",\n      \"resource\": \"list_item\",\n      \"list\": \"lst_296645958265997335\",\n      \"created_at\": \"2024-01-15T10:30:00Z\",\n      \"created_by\": \"456789\",\n      \"updated_at\": \"2024-01-15T10:30:00Z\",\n      \"updated_by\": \"string\",\n      \"test_mode\": true,\n      \"metadata\": {},\n      \"value\": \"john.smith@example.com\"\n    },\n    {\n      \"id\": \"lsti_296645958265997336\",\n      \"resource\": \"list_item\",\n      \"list\": \"lst_296645958265997335\",\n      \"created_at\": \"2024-01-15T10:30:00Z\",\n      \"created_by\": \"456789\",\n      \"updated_at\": \"2024-01-15T10:30:00Z\",\n      \"updated_by\": \"string\",\n      \"test_mode\": true,\n      \"metadata\": {},\n      \"value\": \"john.smith@example.com\"\n    }\n  ],\n  \"has_more\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fc2def10-3611-56d5-a38b-8eee2ee15f12","name":"Invalid request parameters.","originalRequest":{"url":{"path":["value_lists",":list_id","items"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"ending_before","value":"lsti_296645958265997336"},{"key":"starting_after","value":"lsti_296645958265997336"},{"key":"value","value":"john.smith@example.com"}],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6e73287f-10b8-523d-b090-e8002fc24959","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["value_lists",":list_id","items"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"ending_before","value":"lsti_296645958265997336"},{"key":"starting_after","value":"lsti_296645958265997336"},{"key":"value","value":"john.smith@example.com"}],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"efa4cf2b-840b-58ce-a93b-39108a68b46e","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["value_lists",":list_id","items"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"ending_before","value":"lsti_296645958265997336"},{"key":"starting_after","value":"lsti_296645958265997336"},{"key":"value","value":"john.smith@example.com"}],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1c700ffe-2479-55b9-9877-c51674fd5bf3","name":"Another list query is already running for your account. Retry after the number of seconds in the `Retry-After` header.","originalRequest":{"url":{"path":["value_lists",":list_id","items"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"ending_before","value":"lsti_296645958265997336"},{"key":"starting_after","value":"lsti_296645958265997336"},{"key":"value","value":"john.smith@example.com"}],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"disabled":false,"description":"Number of seconds to wait before retrying.","key":"Retry-After","value":"6186"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Only one bulk query per merchant can run at a time. Retry after the current query completes.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a367d50a-aff9-593c-bd97-379c8ad5d0b1","name":"Internal server error.","originalRequest":{"url":{"path":["value_lists",":list_id","items"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"ending_before","value":"lsti_296645958265997336"},{"key":"starting_after","value":"lsti_296645958265997336"},{"key":"value","value":"john.smith@example.com"}],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"13f9f5d8-aae9-519b-b6ea-c676d0d95cd3","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["value_lists",":list_id","items"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"ending_before","value":"lsti_296645958265997336"},{"key":"starting_after","value":"lsti_296645958265997336"},{"key":"value","value":"john.smith@example.com"}],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"6e27d993-9d81-5a9d-b921-f50e537cb978","name":"Create a value list item","request":{"name":"Create a value list item","description":{"content":"Creates a new item in a value list.","type":"text/plain"},"url":{"path":["value_lists",":list_id","items"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list to add the item to."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"value\": \"john.smith@example.com\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"50a12805-0340-5f3c-b326-0cd83e24be31","name":"Returns the created value list item object.","originalRequest":{"url":{"path":["value_lists",":list_id","items"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list to add the item to."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"lsti_296645958265997336\",\n  \"resource\": \"list_item\",\n  \"list\": \"lst_296645958265997335\",\n  \"created_at\": \"2024-01-15T10:30:00Z\",\n  \"created_by\": \"456789\",\n  \"updated_at\": \"2024-01-15T10:30:00Z\",\n  \"updated_by\": \"string\",\n  \"test_mode\": true,\n  \"metadata\": {},\n  \"value\": \"john.smith@example.com\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"65ad9d61-1ad4-5cbe-a00e-1d5891dcaf00","name":"Invalid request parameters, a value that does not match the list type, or a value that already exists in the list (\"Value already exists\").","originalRequest":{"url":{"path":["value_lists",":list_id","items"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list to add the item to."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"eaccb6f1-9371-5d99-ba95-02068b52fd8f","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["value_lists",":list_id","items"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list to add the item to."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a428959d-2ccc-53c7-951f-948617996ff8","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["value_lists",":list_id","items"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list to add the item to."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2fccaa3f-241c-5946-9811-c01604e75eab","name":"Value list not found.","originalRequest":{"url":{"path":["value_lists",":list_id","items"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list to add the item to."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"09b40f44-5880-5646-9088-a5d132dff425","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["value_lists",":list_id","items"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list to add the item to."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1ca7099c-9823-549c-89b1-c358cb3bd998","name":"Internal server error.","originalRequest":{"url":{"path":["value_lists",":list_id","items"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list to add the item to."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e4dbb12a-f6e7-59b5-80ff-cee8bbbfbe02","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["value_lists",":list_id","items"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"lst_296645958265997335","key":"list_id","description":"(Required) The identifier of the value list to add the item to."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"b8efafc7-7721-5463-96dc-c6506c307401","name":"Refunds","description":{"content":"Refund endpoints let you return funds to customers for completed charges, either partially or in full.","type":"text/plain"},"item":[{"id":"6c275714-bed3-5a61-a5ec-1250a941f3c5","name":"Create a refund","request":{"name":"Create a refund","description":{"content":"Refunds the funds of a charge, in full or in part, to the payment method that was used.\n\nA refund that is declined or blocked is still created, but the response is HTTP 400 with an error of type `payment_method_error` that includes the refund ID.","type":"text/plain"},"url":{"path":["refunds"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"charge\": \"chrg_296645958265997312\",\n  \"amount_to_refund\": 5000,\n  \"reference\": \"refund_order_12345\",\n  \"metadata\": {\n    \"reason_detail\": \"Customer requested partial refund\"\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"2fb48b01-c706-5ca4-8be6-e9110c2bc895","name":"Returns the created refund object.","originalRequest":{"url":{"path":["refunds"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"charge\": \"chrg_296645958265997312\",\n  \"amount_to_refund\": 5000,\n  \"reference\": \"refund_order_12345\",\n  \"metadata\": {\n    \"reason_detail\": \"Customer requested partial refund\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"rfnd_296645958265997314\",\n  \"resource\": \"refund\",\n  \"amount\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"charge\": \"chrg_296645958265997312\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"currency\": \"usd\",\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"metadata\": {},\n  \"reference\": \"refund_order_12345\",\n  \"status\": \"succeeded\",\n  \"failure_code\": \"string\",\n  \"failure_message\": \"string\",\n  \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n  \"test_mode\": false,\n  \"underlying_network_id\": \"123456789012345\",\n  \"underlying_network_details\": {\n    \"network\": \"visa\",\n    \"visa\": {\n      \"arn\": \"74234567890123456789012\",\n      \"auth_code\": \"123456\",\n      \"raw_response_code\": \"00\",\n      \"rrn\": \"123456789012\",\n      \"eci\": \"05\",\n      \"aci\": \"Y\",\n      \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n    }\n  },\n  \"underlying_processing_details\": {\n    \"processor\": \"stripe\",\n    \"transaction_id\": \"pi_abc123xyz789\",\n    \"settlement_account\": \"sa_296645958265997349\",\n    \"settlement_account_details\": {\n      \"processor\": \"pay_com\",\n      \"currency\": \"usd\",\n      \"name\": \"Main Settlement Account\",\n      \"entity\": \"ent_296645958265997359\",\n      \"entity_details\": {\n        \"legal_name\": \"ACME Corp\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"risk_assessment_details\": {\n    \"outcome\": \"allow\",\n    \"outcome_source\": \"score\",\n    \"rule_id\": \"rl_296645958265997337\",\n    \"rules_id\": [\n      \"rl_296645958265997337\"\n    ],\n    \"score\": \"31\",\n    \"flags\": [\n      \"no_correlation_history\",\n      \"multiple_identities_billing\",\n      \"multiple_identities_card\",\n      \"free_email_provider\",\n      \"risky_billing_time\",\n      \"velocity_multiple_addresses\",\n      \"velocity_multiple_names\"\n    ]\n  },\n  \"receipt\": null,\n  \"tax_details\": {\n    \"amount_total\": 825,\n    \"tax_behavior\": \"exclusive\",\n    \"tax_quote\": \"txq_296645958265997339\",\n    \"effective_tax_rate\": \"8.25\",\n    \"tax_transaction\": null\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b99ef01e-eb30-5db0-a6f5-0a624e5c4870","name":"Invalid request parameters, or the refund was declined or blocked (`payment_method_error`).","originalRequest":{"url":{"path":["refunds"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"charge\": \"chrg_296645958265997312\",\n  \"amount_to_refund\": 5000,\n  \"reference\": \"refund_order_12345\",\n  \"metadata\": {\n    \"reason_detail\": \"Customer requested partial refund\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"706e7e42-61b9-5477-8365-c8288a83815f","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["refunds"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"charge\": \"chrg_296645958265997312\",\n  \"amount_to_refund\": 5000,\n  \"reference\": \"refund_order_12345\",\n  \"metadata\": {\n    \"reason_detail\": \"Customer requested partial refund\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"44b6b299-b5bc-5080-87ae-53eaeef07a77","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["refunds"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"charge\": \"chrg_296645958265997312\",\n  \"amount_to_refund\": 5000,\n  \"reference\": \"refund_order_12345\",\n  \"metadata\": {\n    \"reason_detail\": \"Customer requested partial refund\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f8f1fcde-a8ad-5756-be12-77abd7b41118","name":"Charge not found.","originalRequest":{"url":{"path":["refunds"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"charge\": \"chrg_296645958265997312\",\n  \"amount_to_refund\": 5000,\n  \"reference\": \"refund_order_12345\",\n  \"metadata\": {\n    \"reason_detail\": \"Customer requested partial refund\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d7fb3b51-08d7-55d9-b2cc-fabe825b81c3","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["refunds"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"charge\": \"chrg_296645958265997312\",\n  \"amount_to_refund\": 5000,\n  \"reference\": \"refund_order_12345\",\n  \"metadata\": {\n    \"reason_detail\": \"Customer requested partial refund\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"834e7ec6-7461-5af0-8b45-fe2d63ca13d6","name":"Unprocessable content. The requested amount exceeds the refundable amount, or no refundable amount is left.","originalRequest":{"url":{"path":["refunds"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"charge\": \"chrg_296645958265997312\",\n  \"amount_to_refund\": 5000,\n  \"reference\": \"refund_order_12345\",\n  \"metadata\": {\n    \"reason_detail\": \"Customer requested partial refund\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"Payment method is not set up for \\\"off_session\\\" mode\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"11270f5e-6056-5896-9344-abcd238d936d","name":"Internal server error.","originalRequest":{"url":{"path":["refunds"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"charge\": \"chrg_296645958265997312\",\n  \"amount_to_refund\": 5000,\n  \"reference\": \"refund_order_12345\",\n  \"metadata\": {\n    \"reason_detail\": \"Customer requested partial refund\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c9d6d2be-90b6-5f45-b9c1-f36ec424f16a","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["refunds"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"charge\": \"chrg_296645958265997312\",\n  \"amount_to_refund\": 5000,\n  \"reference\": \"refund_order_12345\",\n  \"metadata\": {\n    \"reason_detail\": \"Customer requested partial refund\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"a3e7daa3-1378-508a-9557-a1d7b9bed6ca","name":"List refunds","request":{"name":"List refunds","description":{"content":"Returns a list of refunds, sorted by creation time, oldest first.\n\n- The `starting_after` and `ending_before` cursors must be refund IDs (`rfnd_...`).\n- Only one list query per merchant can run at a time; a concurrent query returns 429.","type":"text/plain"},"url":{"path":["refunds"],"host":["{{pay_base_url}}"],"query":[{"disabled":false,"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z","description":"Return objects created on or after this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.greater_than`."},{"disabled":false,"key":"created.greater_than","value":"2024-10-10T00:00:00Z","description":"Return objects created after this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.greater_than_or_equals`."},{"disabled":false,"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z","description":"Return objects created on or before this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.less_than`."},{"disabled":false,"key":"created.less_than","value":"2024-10-10T00:00:00Z","description":"Return objects created before this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.less_than_or_equals`."},{"disabled":false,"key":"limit","value":"10","description":"Maximum number of objects to return. Defaults to 10."},{"disabled":false,"key":"customer_reference_id","value":"cust_ext_abc123","description":"Your unique identifier for the customer."},{"disabled":false,"key":"ending_before","value":"string","description":"A cursor for pagination. Returns objects created before the object with this ID. Must be the ID of an object of the type being listed (for example a `chrg_` ID when listing charges); other IDs return 400. Lists are sorted by creation time, oldest first. Mutually exclusive with `starting_after`."},{"disabled":false,"key":"starting_after","value":"string","description":"A cursor for pagination. Returns objects created after the object with this ID. Must be the ID of an object of the type being listed (for example a `chrg_` ID when listing charges); other IDs return 400. Lists are sorted by creation time, oldest first. Mutually exclusive with `ending_before`."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"909b077f-29cc-55bf-a8a6-d163c3cc3292","name":"Returns a list of refund objects.","originalRequest":{"url":{"path":["refunds"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"resource\": \"refunds\",\n  \"data\": [\n    {\n      \"id\": \"rfnd_296645958265997314\",\n      \"resource\": \"refund\",\n      \"amount\": 10000,\n      \"amount_human_readable\": \"100.00\",\n      \"charge\": \"chrg_296645958265997312\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"currency\": \"usd\",\n      \"customer\": \"cust_296645958265997317\",\n      \"customer_reference_id\": \"cust_ext_abc123\",\n      \"metadata\": {},\n      \"reference\": \"refund_order_12345\",\n      \"status\": \"succeeded\",\n      \"failure_code\": \"string\",\n      \"failure_message\": \"string\",\n      \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n      \"test_mode\": false,\n      \"underlying_network_id\": \"123456789012345\",\n      \"underlying_network_details\": {\n        \"network\": \"visa\",\n        \"visa\": {\n          \"arn\": \"74234567890123456789012\",\n          \"auth_code\": \"123456\",\n          \"raw_response_code\": \"00\",\n          \"rrn\": \"123456789012\",\n          \"eci\": \"05\",\n          \"aci\": \"Y\",\n          \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n        }\n      },\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      },\n      \"risk_assessment_details\": {\n        \"outcome\": \"allow\",\n        \"outcome_source\": \"score\",\n        \"rule_id\": \"rl_296645958265997337\",\n        \"rules_id\": [\n          \"rl_296645958265997337\"\n        ],\n        \"score\": \"31\",\n        \"flags\": [\n          \"no_correlation_history\",\n          \"multiple_identities_billing\",\n          \"multiple_identities_card\",\n          \"free_email_provider\",\n          \"risky_billing_time\",\n          \"velocity_multiple_addresses\",\n          \"velocity_multiple_names\"\n        ]\n      },\n      \"receipt\": null,\n      \"tax_details\": {\n        \"amount_total\": 825,\n        \"tax_behavior\": \"exclusive\",\n        \"tax_quote\": \"txq_296645958265997339\",\n        \"effective_tax_rate\": \"8.25\",\n        \"tax_transaction\": null\n      }\n    },\n    {\n      \"id\": \"rfnd_296645958265997314\",\n      \"resource\": \"refund\",\n      \"amount\": 10000,\n      \"amount_human_readable\": \"100.00\",\n      \"charge\": \"chrg_296645958265997312\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"currency\": \"usd\",\n      \"customer\": \"cust_296645958265997317\",\n      \"customer_reference_id\": \"cust_ext_abc123\",\n      \"metadata\": {},\n      \"reference\": \"refund_order_12345\",\n      \"status\": \"succeeded\",\n      \"failure_code\": \"string\",\n      \"failure_message\": \"string\",\n      \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n      \"test_mode\": true,\n      \"underlying_network_id\": \"123456789012345\",\n      \"underlying_network_details\": {\n        \"network\": \"visa\",\n        \"visa\": {\n          \"arn\": \"74234567890123456789012\",\n          \"auth_code\": \"123456\",\n          \"raw_response_code\": \"00\",\n          \"rrn\": \"123456789012\",\n          \"eci\": \"05\",\n          \"aci\": \"Y\",\n          \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n        }\n      },\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      },\n      \"risk_assessment_details\": {\n        \"outcome\": \"allow\",\n        \"outcome_source\": \"score\",\n        \"rule_id\": \"rl_296645958265997337\",\n        \"rules_id\": [\n          \"rl_296645958265997337\"\n        ],\n        \"score\": \"31\",\n        \"flags\": [\n          \"no_correlation_history\",\n          \"multiple_identities_billing\",\n          \"multiple_identities_card\",\n          \"free_email_provider\",\n          \"risky_billing_time\",\n          \"velocity_multiple_addresses\",\n          \"velocity_multiple_names\"\n        ]\n      },\n      \"receipt\": null,\n      \"tax_details\": {\n        \"amount_total\": 825,\n        \"tax_behavior\": \"exclusive\",\n        \"tax_quote\": \"txq_296645958265997339\",\n        \"effective_tax_rate\": \"8.25\",\n        \"tax_transaction\": null\n      }\n    }\n  ],\n  \"has_more\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"115f94be-a0c0-530c-a414-4079c29c428a","name":"Invalid request parameters.","originalRequest":{"url":{"path":["refunds"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8a340c26-2bec-5902-8a08-e1753b584327","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["refunds"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ea3d25b6-8fc1-52df-97c4-c682f0bda47a","name":"List queries are disabled for your account (`Bulk queries are disabled.`).\n\nA 403 can also mean the key may not make this request; `code` says why.","originalRequest":{"url":{"path":["refunds"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b4e4a115-d7c1-51e7-9689-57d950946737","name":"Another list query is already running for your account. Retry after the number of seconds in the `Retry-After` header.","originalRequest":{"url":{"path":["refunds"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"disabled":false,"description":"Number of seconds to wait before retrying.","key":"Retry-After","value":"6186"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Only one bulk query per merchant can run at a time. Retry after the current query completes.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"400f666d-0cec-58e3-9d8b-2acae3ad3bb3","name":"Internal server error.","originalRequest":{"url":{"path":["refunds"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3dfee6d3-5bc2-50a9-be9a-2f2c635d5369","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["refunds"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"f8c3c153-f7d1-5691-8845-45ce136b01a4","name":"Retrieve a refund","request":{"name":"Retrieve a refund","description":{"content":"Retrieves the details of a refund.","type":"text/plain"},"url":{"path":["refunds",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"rfnd_296645958265997314","key":"id","description":"(Required) The unique identifier of the refund."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"e82480b4-b1e4-5a7a-9d5a-ecd81424a0b9","name":"Returns the refund object.","originalRequest":{"url":{"path":["refunds",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"rfnd_296645958265997314","key":"id","description":"(Required) The unique identifier of the refund."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"rfnd_296645958265997314\",\n  \"resource\": \"refund\",\n  \"amount\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"charge\": \"chrg_296645958265997312\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"currency\": \"usd\",\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"metadata\": {},\n  \"reference\": \"refund_order_12345\",\n  \"status\": \"succeeded\",\n  \"failure_code\": \"string\",\n  \"failure_message\": \"string\",\n  \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n  \"test_mode\": false,\n  \"underlying_network_id\": \"123456789012345\",\n  \"underlying_network_details\": {\n    \"network\": \"visa\",\n    \"visa\": {\n      \"arn\": \"74234567890123456789012\",\n      \"auth_code\": \"123456\",\n      \"raw_response_code\": \"00\",\n      \"rrn\": \"123456789012\",\n      \"eci\": \"05\",\n      \"aci\": \"Y\",\n      \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n    }\n  },\n  \"underlying_processing_details\": {\n    \"processor\": \"stripe\",\n    \"transaction_id\": \"pi_abc123xyz789\",\n    \"settlement_account\": \"sa_296645958265997349\",\n    \"settlement_account_details\": {\n      \"processor\": \"pay_com\",\n      \"currency\": \"usd\",\n      \"name\": \"Main Settlement Account\",\n      \"entity\": \"ent_296645958265997359\",\n      \"entity_details\": {\n        \"legal_name\": \"ACME Corp\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"risk_assessment_details\": {\n    \"outcome\": \"allow\",\n    \"outcome_source\": \"score\",\n    \"rule_id\": \"rl_296645958265997337\",\n    \"rules_id\": [\n      \"rl_296645958265997337\"\n    ],\n    \"score\": \"31\",\n    \"flags\": [\n      \"no_correlation_history\",\n      \"multiple_identities_billing\",\n      \"multiple_identities_card\",\n      \"free_email_provider\",\n      \"risky_billing_time\",\n      \"velocity_multiple_addresses\",\n      \"velocity_multiple_names\"\n    ]\n  },\n  \"receipt\": null,\n  \"tax_details\": {\n    \"amount_total\": 825,\n    \"tax_behavior\": \"exclusive\",\n    \"tax_quote\": \"txq_296645958265997339\",\n    \"effective_tax_rate\": \"8.25\",\n    \"tax_transaction\": null\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"270b8dd3-5ca5-52ad-bd5e-a1eb52759bd8","name":"Invalid request parameters.","originalRequest":{"url":{"path":["refunds",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"rfnd_296645958265997314","key":"id","description":"(Required) The unique identifier of the refund."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ecb1aae0-d55f-5151-aaa2-7310cd26a735","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["refunds",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"rfnd_296645958265997314","key":"id","description":"(Required) The unique identifier of the refund."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6fa05c7b-b1ad-5b39-85fc-89e2b3291d50","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["refunds",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"rfnd_296645958265997314","key":"id","description":"(Required) The unique identifier of the refund."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c98da3d3-06ad-5d6b-8724-ec4fb0323efe","name":"Refund not found.","originalRequest":{"url":{"path":["refunds",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"rfnd_296645958265997314","key":"id","description":"(Required) The unique identifier of the refund."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9c4b13bc-2de8-58e0-862f-d655afad0940","name":"Internal server error.","originalRequest":{"url":{"path":["refunds",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"rfnd_296645958265997314","key":"id","description":"(Required) The unique identifier of the refund."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3e0f3c5f-9059-584e-8da7-847b519ddd41","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["refunds",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"rfnd_296645958265997314","key":"id","description":"(Required) The unique identifier of the refund."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"53baa850-0553-576d-83fd-a37690c7bf7a","name":"Retrieve a refund by reference","request":{"name":"Retrieve a refund by reference","description":{"content":"Retrieves the details of a refund by the `reference` you set when creating it.","type":"text/plain"},"url":{"path":["refunds","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"refund_order_12345","key":"reference_id","description":"(Required) The reference of the refund that was provided at creation."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"c1ca6d46-87ec-59e5-b251-57b9f7f88b23","name":"Returns the refund object.","originalRequest":{"url":{"path":["refunds","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"refund_order_12345","key":"reference_id","description":"(Required) The reference of the refund that was provided at creation."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"rfnd_296645958265997314\",\n  \"resource\": \"refund\",\n  \"amount\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"charge\": \"chrg_296645958265997312\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"currency\": \"usd\",\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"metadata\": {},\n  \"reference\": \"refund_order_12345\",\n  \"status\": \"succeeded\",\n  \"failure_code\": \"string\",\n  \"failure_message\": \"string\",\n  \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n  \"test_mode\": false,\n  \"underlying_network_id\": \"123456789012345\",\n  \"underlying_network_details\": {\n    \"network\": \"visa\",\n    \"visa\": {\n      \"arn\": \"74234567890123456789012\",\n      \"auth_code\": \"123456\",\n      \"raw_response_code\": \"00\",\n      \"rrn\": \"123456789012\",\n      \"eci\": \"05\",\n      \"aci\": \"Y\",\n      \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n    }\n  },\n  \"underlying_processing_details\": {\n    \"processor\": \"stripe\",\n    \"transaction_id\": \"pi_abc123xyz789\",\n    \"settlement_account\": \"sa_296645958265997349\",\n    \"settlement_account_details\": {\n      \"processor\": \"pay_com\",\n      \"currency\": \"usd\",\n      \"name\": \"Main Settlement Account\",\n      \"entity\": \"ent_296645958265997359\",\n      \"entity_details\": {\n        \"legal_name\": \"ACME Corp\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"risk_assessment_details\": {\n    \"outcome\": \"allow\",\n    \"outcome_source\": \"score\",\n    \"rule_id\": \"rl_296645958265997337\",\n    \"rules_id\": [\n      \"rl_296645958265997337\"\n    ],\n    \"score\": \"31\",\n    \"flags\": [\n      \"no_correlation_history\",\n      \"multiple_identities_billing\",\n      \"multiple_identities_card\",\n      \"free_email_provider\",\n      \"risky_billing_time\",\n      \"velocity_multiple_addresses\",\n      \"velocity_multiple_names\"\n    ]\n  },\n  \"receipt\": null,\n  \"tax_details\": {\n    \"amount_total\": 825,\n    \"tax_behavior\": \"exclusive\",\n    \"tax_quote\": \"txq_296645958265997339\",\n    \"effective_tax_rate\": \"8.25\",\n    \"tax_transaction\": null\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5d3c91f2-e14a-52a1-8762-5aa38bb4b019","name":"Invalid request parameters.","originalRequest":{"url":{"path":["refunds","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"refund_order_12345","key":"reference_id","description":"(Required) The reference of the refund that was provided at creation."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4e1945a7-d445-5fa1-a23b-bf7131357f86","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["refunds","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"refund_order_12345","key":"reference_id","description":"(Required) The reference of the refund that was provided at creation."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"16208107-23f7-5900-b5f1-489e11952a3a","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["refunds","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"refund_order_12345","key":"reference_id","description":"(Required) The reference of the refund that was provided at creation."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"95b75b14-4c15-5149-9d01-1289e0cc2183","name":"Refund not found.","originalRequest":{"url":{"path":["refunds","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"refund_order_12345","key":"reference_id","description":"(Required) The reference of the refund that was provided at creation."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"df76b198-f8c2-5206-9ddc-f387b2c58be6","name":"Internal server error.","originalRequest":{"url":{"path":["refunds","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"refund_order_12345","key":"reference_id","description":"(Required) The reference of the refund that was provided at creation."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"605254f6-1e53-50c5-b1b8-569420393a02","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["refunds","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"refund_order_12345","key":"reference_id","description":"(Required) The reference of the refund that was provided at creation."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"c95bcf39-3bbe-5bb6-b14b-47cc403f9a33","name":"Payouts","description":{"content":"Payouts enable you to send funds to customer's cards, bank accounts or other payment methods.","type":"text/plain"},"item":[{"id":"f21367dc-e026-5cc8-bb82-88f983e6184b","name":"Create a payout","request":{"name":"Create a payout","description":{"content":"Creates a payout that sends funds to a payment method.\n\nSend the destination as a saved payment method (`destination` or `payout_method`), as raw payout method details (`destination_data` or `payout_method_data`), or omit it and send `customer_reference_id` to pay out to the customer's default payment method.\n\nA payout that is declined or blocked is still created, but the response is HTTP 400 with an error of type `payment_method_error` (code `card_declined`) that includes the payout ID and the `decline_code`. Retrieve the payout to see it with status `failed` or `blocked`.\n\nSending raw card or bank account details requires an API key enabled for raw payment data (PCI).","type":"text/plain"},"url":{"path":["payouts"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"destination\": \"pm_card_296645958265997316\",\n  \"reference\": \"payout_order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"metadata\": {\n    \"order_id\": \"12345\"\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"200134da-88fa-5ad5-916c-55d13bf279bb","name":"Returns the created payout object.","originalRequest":{"url":{"path":["payouts"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"destination\": \"pm_card_296645958265997316\",\n  \"reference\": \"payout_order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"metadata\": {\n    \"order_id\": \"12345\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"po_296645958265997315\",\n  \"resource\": \"payout\",\n  \"amount\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"currency\": \"usd\",\n  \"status\": \"succeeded\",\n  \"calculated_statement_descriptor\": \"PAYCOM* ACME STORE\",\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n  \"description\": \"Withdrawal for order 12345\",\n  \"failure_code\": \"string\",\n  \"failure_message\": \"string\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  },\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"payment_method_details\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"bin\": \"424242\",\n      \"brand\": \"visa\",\n      \"cardholder_currency\": \"usd\",\n      \"country\": \"US\",\n      \"exp_month\": \"12\",\n      \"exp_year\": \"2028\",\n      \"fingerprint\": \"fp_abc123xyz789\",\n      \"funding\": \"unknown\",\n      \"last4\": \"4242\",\n      \"network\": \"visa\",\n      \"category\": \"business\",\n      \"security_checks\": {\n        \"address_line1_check\": \"unavailable\",\n        \"address_postal_code_check\": \"unavailable\",\n        \"cvc_check\": \"pass\"\n      },\n      \"wallet\": {\n        \"type\": \"googlepay\",\n        \"googlepay\": {\n          \"type\": \"cryptogram_3ds\",\n          \"physical_card_last4\": \"4242\"\n        },\n        \"applepay\": {\n          \"physical_card_last4\": \"4242\"\n        },\n        \"ctp\": {\n          \"physical_card_last4\": \"string\",\n          \"physical_card_bin\": \"string\",\n          \"physical_card_exp_month\": \"string\",\n          \"physical_card_exp_year\": \"string\"\n        }\n      },\n      \"token\": \"tok_card_296645958265997326\",\n      \"three_d_secure\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"version\": \"2.2.0\",\n        \"eci\": \"05\",\n        \"cardholder_info\": \"string\",\n        \"liability_shift\": true\n      },\n      \"three_ds\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"status_reason\": \"string\",\n        \"protocol_version\": \"2.2.0\",\n        \"eci\": \"02\",\n        \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n        \"liability_shift\": true,\n        \"cardholder_info\": \"string\",\n        \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n        \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n        \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n        \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n        \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n      },\n      \"payout\": \"not_available\",\n      \"name_verification\": \"match\",\n      \"partial_approval\": {\n        \"status\": \"accepted\",\n        \"amount_requested\": 10000,\n        \"amount_authorized\": 7500,\n        \"amount_charged\": 7500,\n        \"product_id\": \"prod_12345\"\n      },\n      \"name\": \"John Smith\",\n      \"issuer\": \"Chase Bank\"\n    },\n    \"cashapp\": {\n      \"cashtag\": \"$acmecustomer\",\n      \"name\": \"Jenny Rosen\"\n    },\n    \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n    \"setup_future_usage\": \"on_session\"\n  },\n  \"reference\": \"payout_order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"underlying_network_details\": null,\n  \"test_mode\": true,\n  \"payout_method_options\": {\n    \"types\": [\n      \"card\"\n    ],\n    \"card\": {\n      \"name_verification\": {\n        \"enabled\": true,\n        \"use_customer_name\": true,\n        \"accepted_results\": [\n          \"match\"\n        ],\n        \"accepted_results_by_field\": {\n          \"first_name\": [\n            \"match\"\n          ],\n          \"last_name\": [\n            \"match\"\n          ],\n          \"middle_name\": [\n            \"match\"\n          ],\n          \"full_name\": [\n            \"match\"\n          ]\n        }\n      },\n      \"account_billing_updater\": {\n        \"enabled\": true,\n        \"retry_after_update\": true,\n        \"billing_updater_decline_codes\": [\n          \"expired_card\"\n        ]\n      }\n    }\n  },\n  \"receipt\": null,\n  \"risk_assessment_details\": {\n    \"outcome\": \"allow\",\n    \"outcome_source\": \"score\",\n    \"rule_id\": \"rl_296645958265997337\",\n    \"rules_id\": [\n      \"rl_296645958265997337\"\n    ],\n    \"score\": \"31\",\n    \"flags\": [\n      \"no_correlation_history\",\n      \"multiple_identities_billing\",\n      \"multiple_identities_card\",\n      \"free_email_provider\",\n      \"risky_billing_time\",\n      \"velocity_multiple_addresses\",\n      \"velocity_multiple_names\"\n    ]\n  },\n  \"underlying_processing_details\": {\n    \"processor\": \"stripe\",\n    \"transaction_id\": \"pi_abc123xyz789\",\n    \"settlement_account\": \"sa_296645958265997349\",\n    \"settlement_account_details\": {\n      \"processor\": \"pay_com\",\n      \"currency\": \"usd\",\n      \"name\": \"Main Settlement Account\",\n      \"entity\": \"ent_296645958265997359\",\n      \"entity_details\": {\n        \"legal_name\": \"ACME Corp\",\n        \"country\": \"US\"\n      }\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6324db51-b461-503f-aed2-ee6498e17868","name":"Invalid request parameters, or the payout was declined or blocked (`payment_method_error`). Also returned when `destination` is an unknown payment method ID, when `settlement_account` conflicts with the account the payment method is bound to, or when `reference` already exists and duplicate reference checking is enabled.","originalRequest":{"url":{"path":["payouts"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"destination\": \"pm_card_296645958265997316\",\n  \"reference\": \"payout_order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"metadata\": {\n    \"order_id\": \"12345\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"22214178-12f7-50dc-98ff-f08befe66fdd","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["payouts"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"destination\": \"pm_card_296645958265997316\",\n  \"reference\": \"payout_order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"metadata\": {\n    \"order_id\": \"12345\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ae4b3a7e-031d-5202-8c0c-df997e97b3b0","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["payouts"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"destination\": \"pm_card_296645958265997316\",\n  \"reference\": \"payout_order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"metadata\": {\n    \"order_id\": \"12345\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f4702ba9-5986-5079-9c8b-773bb863e2a1","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["payouts"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"destination\": \"pm_card_296645958265997316\",\n  \"reference\": \"payout_order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"metadata\": {\n    \"order_id\": \"12345\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d4238d75-52cd-565c-a56c-30c27c4fd40e","name":"Unprocessable content. Payouts are not enabled for this payment method or account (`Payouts are not allowed`), or no payment method was found for the imported reference sent in `destination`.","originalRequest":{"url":{"path":["payouts"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"destination\": \"pm_card_296645958265997316\",\n  \"reference\": \"payout_order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"metadata\": {\n    \"order_id\": \"12345\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"Payment method is not set up for \\\"off_session\\\" mode\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"166f61c3-4e71-5030-bb54-c33c714b3776","name":"Internal server error.","originalRequest":{"url":{"path":["payouts"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"destination\": \"pm_card_296645958265997316\",\n  \"reference\": \"payout_order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"metadata\": {\n    \"order_id\": \"12345\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7eeb520d-2a00-56d4-8d6b-cdb83a0ab6f3","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["payouts"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"destination\": \"pm_card_296645958265997316\",\n  \"reference\": \"payout_order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"metadata\": {\n    \"order_id\": \"12345\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"884672fd-4b2b-5511-bf66-175043b0e9a0","name":"List payouts","request":{"name":"List payouts","description":{"content":"Returns a list of payouts, sorted by creation time, oldest first.\n\n- The cursors `starting_after` and `ending_before` must be payout IDs (`po_...`).\n- Only one list query per merchant can run at a time; a concurrent query returns 429.","type":"text/plain"},"url":{"path":["payouts"],"host":["{{pay_base_url}}"],"query":[{"disabled":false,"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z","description":"Return objects created on or after this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.greater_than`."},{"disabled":false,"key":"created.greater_than","value":"2024-10-10T00:00:00Z","description":"Return objects created after this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.greater_than_or_equals`."},{"disabled":false,"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z","description":"Return objects created on or before this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.less_than`."},{"disabled":false,"key":"created.less_than","value":"2024-10-10T00:00:00Z","description":"Return objects created before this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.less_than_or_equals`."},{"disabled":false,"key":"limit","value":"10","description":"Maximum number of objects to return. Defaults to 10."},{"disabled":false,"key":"customer_reference_id","value":"cust_ext_abc123","description":"Your unique identifier for the customer."},{"disabled":false,"key":"ending_before","value":"string","description":"A cursor for pagination. Returns objects created before the object with this ID. Must be the ID of an object of the type being listed (for example a `chrg_` ID when listing charges); other IDs return 400. Lists are sorted by creation time, oldest first. Mutually exclusive with `starting_after`."},{"disabled":false,"key":"starting_after","value":"string","description":"A cursor for pagination. Returns objects created after the object with this ID. Must be the ID of an object of the type being listed (for example a `chrg_` ID when listing charges); other IDs return 400. Lists are sorted by creation time, oldest first. Mutually exclusive with `ending_before`."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"a6276312-e029-5dc8-ab96-3ecaa97f16d5","name":"Returns a list of payout objects.","originalRequest":{"url":{"path":["payouts"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"resource\": \"payouts\",\n  \"data\": [\n    {\n      \"id\": \"po_296645958265997315\",\n      \"resource\": \"payout\",\n      \"amount\": 10000,\n      \"amount_human_readable\": \"100.00\",\n      \"billing_details\": {\n        \"address\": {\n          \"city\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"country\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"line1\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"line2\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"postal_code\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"state\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          }\n        },\n        \"name\": \"John Smith\",\n        \"email\": \"john.smith@example.com\",\n        \"phone\": \"+14155551234\",\n        \"dob\": \"1985-07-15\",\n        \"national_identification_number\": \"123-45-6789\"\n      },\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"currency\": \"usd\",\n      \"status\": \"succeeded\",\n      \"calculated_statement_descriptor\": \"PAYCOM* ACME STORE\",\n      \"customer\": \"cust_296645958265997317\",\n      \"customer_reference_id\": \"cust_ext_abc123\",\n      \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n      \"description\": \"Withdrawal for order 12345\",\n      \"failure_code\": \"string\",\n      \"failure_message\": \"string\",\n      \"metadata\": {\n        \"order_id\": \"12345\",\n        \"source\": \"website\"\n      },\n      \"payment_method\": \"pm_card_296645958265997316\",\n      \"payment_method_details\": {\n        \"type\": \"card\",\n        \"card\": {\n          \"bin\": \"424242\",\n          \"brand\": \"visa\",\n          \"cardholder_currency\": \"usd\",\n          \"country\": \"US\",\n          \"exp_month\": \"12\",\n          \"exp_year\": \"2028\",\n          \"fingerprint\": \"fp_abc123xyz789\",\n          \"funding\": \"debit\",\n          \"last4\": \"4242\",\n          \"network\": \"visa\",\n          \"category\": \"consumer\",\n          \"security_checks\": {\n            \"address_line1_check\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"address_postal_code_check\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"cvc_check\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"wallet\": {\n            \"type\": \"googlepay\",\n            \"googlepay\": {\n              \"type\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"physical_card_last4\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            \"applepay\": {\n              \"physical_card_last4\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            \"ctp\": {\n              \"physical_card_last4\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"physical_card_bin\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"physical_card_exp_month\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"physical_card_exp_year\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            }\n          },\n          \"token\": \"tok_card_296645958265997326\",\n          \"three_d_secure\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"three_ds\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"payout\": \"not_available\",\n          \"name_verification\": \"match\",\n          \"partial_approval\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"name\": \"John Smith\",\n          \"issuer\": \"Chase Bank\"\n        },\n        \"cashapp\": {\n          \"cashtag\": \"$acmecustomer\",\n          \"name\": \"Jenny Rosen\"\n        },\n        \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n        \"setup_future_usage\": \"on_session\"\n      },\n      \"reference\": \"payout_order_12345\",\n      \"statement_descriptor_suffix\": \"ACME STORE\",\n      \"underlying_network_details\": null,\n      \"test_mode\": true,\n      \"payout_method_options\": {\n        \"types\": [\n          \"card\"\n        ],\n        \"card\": {\n          \"name_verification\": {\n            \"enabled\": true,\n            \"use_customer_name\": true,\n            \"accepted_results\": [\n              \"match\"\n            ],\n            \"accepted_results_by_field\": {\n              \"first_name\": [\n                \"match\"\n              ],\n              \"last_name\": [\n                \"match\"\n              ],\n              \"middle_name\": [\n                \"match\"\n              ],\n              \"full_name\": [\n                \"match\"\n              ]\n            }\n          },\n          \"account_billing_updater\": {\n            \"enabled\": true,\n            \"retry_after_update\": true,\n            \"billing_updater_decline_codes\": [\n              \"expired_card\"\n            ]\n          }\n        }\n      },\n      \"receipt\": null,\n      \"risk_assessment_details\": {\n        \"outcome\": \"allow\",\n        \"outcome_source\": \"score\",\n        \"rule_id\": \"rl_296645958265997337\",\n        \"rules_id\": [\n          \"rl_296645958265997337\"\n        ],\n        \"score\": \"31\",\n        \"flags\": [\n          \"no_correlation_history\",\n          \"multiple_identities_billing\",\n          \"multiple_identities_card\",\n          \"free_email_provider\",\n          \"risky_billing_time\",\n          \"velocity_multiple_addresses\",\n          \"velocity_multiple_names\"\n        ]\n      },\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      }\n    },\n    {\n      \"id\": \"po_296645958265997315\",\n      \"resource\": \"payout\",\n      \"amount\": 10000,\n      \"amount_human_readable\": \"100.00\",\n      \"billing_details\": {\n        \"address\": {\n          \"city\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"country\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"line1\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"line2\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"postal_code\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"state\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          }\n        },\n        \"name\": \"John Smith\",\n        \"email\": \"john.smith@example.com\",\n        \"phone\": \"+14155551234\",\n        \"dob\": \"1985-07-15\",\n        \"national_identification_number\": \"123-45-6789\"\n      },\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"currency\": \"usd\",\n      \"status\": \"succeeded\",\n      \"calculated_statement_descriptor\": \"PAYCOM* ACME STORE\",\n      \"customer\": \"cust_296645958265997317\",\n      \"customer_reference_id\": \"cust_ext_abc123\",\n      \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n      \"description\": \"Withdrawal for order 12345\",\n      \"failure_code\": \"string\",\n      \"failure_message\": \"string\",\n      \"metadata\": {\n        \"order_id\": \"12345\",\n        \"source\": \"website\"\n      },\n      \"payment_method\": \"pm_card_296645958265997316\",\n      \"payment_method_details\": {\n        \"type\": \"card\",\n        \"card\": {\n          \"bin\": \"424242\",\n          \"brand\": \"visa\",\n          \"cardholder_currency\": \"usd\",\n          \"country\": \"US\",\n          \"exp_month\": \"12\",\n          \"exp_year\": \"2028\",\n          \"fingerprint\": \"fp_abc123xyz789\",\n          \"funding\": \"credit\",\n          \"last4\": \"4242\",\n          \"network\": \"visa\",\n          \"category\": \"consumer\",\n          \"security_checks\": {\n            \"address_line1_check\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"address_postal_code_check\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"cvc_check\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"wallet\": {\n            \"type\": \"googlepay\",\n            \"googlepay\": {\n              \"type\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"physical_card_last4\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            \"applepay\": {\n              \"physical_card_last4\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            \"ctp\": {\n              \"physical_card_last4\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"physical_card_bin\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"physical_card_exp_month\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"physical_card_exp_year\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            }\n          },\n          \"token\": \"tok_card_296645958265997326\",\n          \"three_d_secure\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"three_ds\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"payout\": \"not_available\",\n          \"name_verification\": \"match\",\n          \"partial_approval\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"name\": \"John Smith\",\n          \"issuer\": \"Chase Bank\"\n        },\n        \"cashapp\": {\n          \"cashtag\": \"$acmecustomer\",\n          \"name\": \"Jenny Rosen\"\n        },\n        \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n        \"setup_future_usage\": \"on_session\"\n      },\n      \"reference\": \"payout_order_12345\",\n      \"statement_descriptor_suffix\": \"ACME STORE\",\n      \"underlying_network_details\": null,\n      \"test_mode\": true,\n      \"payout_method_options\": {\n        \"types\": [\n          \"card\"\n        ],\n        \"card\": {\n          \"name_verification\": {\n            \"enabled\": true,\n            \"use_customer_name\": true,\n            \"accepted_results\": [\n              \"match\"\n            ],\n            \"accepted_results_by_field\": {\n              \"first_name\": [\n                \"match\"\n              ],\n              \"last_name\": [\n                \"match\"\n              ],\n              \"middle_name\": [\n                \"match\"\n              ],\n              \"full_name\": [\n                \"match\"\n              ]\n            }\n          },\n          \"account_billing_updater\": {\n            \"enabled\": true,\n            \"retry_after_update\": true,\n            \"billing_updater_decline_codes\": [\n              \"expired_card\"\n            ]\n          }\n        }\n      },\n      \"receipt\": null,\n      \"risk_assessment_details\": {\n        \"outcome\": \"allow\",\n        \"outcome_source\": \"score\",\n        \"rule_id\": \"rl_296645958265997337\",\n        \"rules_id\": [\n          \"rl_296645958265997337\"\n        ],\n        \"score\": \"31\",\n        \"flags\": [\n          \"no_correlation_history\",\n          \"multiple_identities_billing\",\n          \"multiple_identities_card\",\n          \"free_email_provider\",\n          \"risky_billing_time\",\n          \"velocity_multiple_addresses\",\n          \"velocity_multiple_names\"\n        ]\n      },\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      }\n    }\n  ],\n  \"has_more\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"551c42a5-9443-5bdb-a3ae-bde4e4e3248b","name":"Invalid request parameters.","originalRequest":{"url":{"path":["payouts"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5e7a85cd-47bb-5d72-b930-25014a660c03","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["payouts"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6bf8c020-01d7-5bb4-9008-cf2fa94d39d1","name":"List queries are disabled for your account (`Bulk queries are disabled.`).\n\nA 403 can also mean the key may not make this request; `code` says why.","originalRequest":{"url":{"path":["payouts"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a205cf2e-6140-575f-89d2-d16b2a859c56","name":"Another list query is already running for your account. Retry after the number of seconds in the `Retry-After` header.","originalRequest":{"url":{"path":["payouts"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"disabled":false,"description":"Number of seconds to wait before retrying.","key":"Retry-After","value":"6186"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Only one bulk query per merchant can run at a time. Retry after the current query completes.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"97937da8-a45a-5af7-a214-13549f1797e9","name":"Internal server error.","originalRequest":{"url":{"path":["payouts"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ad45b6b4-1e94-53d1-9684-6e1a884e6557","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["payouts"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"e33ef419-bf52-5340-8c02-79bef8c1c4f7","name":"Retrieve a payout","request":{"name":"Retrieve a payout","description":{"content":"Retrieves the details of a payout.","type":"text/plain"},"url":{"path":["payouts",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"po_296645958265997315","key":"id","description":"(Required) The unique identifier of the payout."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"7e0e23df-508a-54be-a81e-a9b4df8f7437","name":"Returns the payout object.","originalRequest":{"url":{"path":["payouts",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"po_296645958265997315","key":"id","description":"(Required) The unique identifier of the payout."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"po_296645958265997315\",\n  \"resource\": \"payout\",\n  \"amount\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"currency\": \"usd\",\n  \"status\": \"succeeded\",\n  \"calculated_statement_descriptor\": \"PAYCOM* ACME STORE\",\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n  \"description\": \"Withdrawal for order 12345\",\n  \"failure_code\": \"string\",\n  \"failure_message\": \"string\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  },\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"payment_method_details\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"bin\": \"424242\",\n      \"brand\": \"visa\",\n      \"cardholder_currency\": \"usd\",\n      \"country\": \"US\",\n      \"exp_month\": \"12\",\n      \"exp_year\": \"2028\",\n      \"fingerprint\": \"fp_abc123xyz789\",\n      \"funding\": \"unknown\",\n      \"last4\": \"4242\",\n      \"network\": \"visa\",\n      \"category\": \"business\",\n      \"security_checks\": {\n        \"address_line1_check\": \"unavailable\",\n        \"address_postal_code_check\": \"unavailable\",\n        \"cvc_check\": \"pass\"\n      },\n      \"wallet\": {\n        \"type\": \"googlepay\",\n        \"googlepay\": {\n          \"type\": \"cryptogram_3ds\",\n          \"physical_card_last4\": \"4242\"\n        },\n        \"applepay\": {\n          \"physical_card_last4\": \"4242\"\n        },\n        \"ctp\": {\n          \"physical_card_last4\": \"string\",\n          \"physical_card_bin\": \"string\",\n          \"physical_card_exp_month\": \"string\",\n          \"physical_card_exp_year\": \"string\"\n        }\n      },\n      \"token\": \"tok_card_296645958265997326\",\n      \"three_d_secure\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"version\": \"2.2.0\",\n        \"eci\": \"05\",\n        \"cardholder_info\": \"string\",\n        \"liability_shift\": true\n      },\n      \"three_ds\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"status_reason\": \"string\",\n        \"protocol_version\": \"2.2.0\",\n        \"eci\": \"02\",\n        \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n        \"liability_shift\": true,\n        \"cardholder_info\": \"string\",\n        \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n        \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n        \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n        \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n        \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n      },\n      \"payout\": \"not_available\",\n      \"name_verification\": \"match\",\n      \"partial_approval\": {\n        \"status\": \"accepted\",\n        \"amount_requested\": 10000,\n        \"amount_authorized\": 7500,\n        \"amount_charged\": 7500,\n        \"product_id\": \"prod_12345\"\n      },\n      \"name\": \"John Smith\",\n      \"issuer\": \"Chase Bank\"\n    },\n    \"cashapp\": {\n      \"cashtag\": \"$acmecustomer\",\n      \"name\": \"Jenny Rosen\"\n    },\n    \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n    \"setup_future_usage\": \"on_session\"\n  },\n  \"reference\": \"payout_order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"underlying_network_details\": null,\n  \"test_mode\": true,\n  \"payout_method_options\": {\n    \"types\": [\n      \"card\"\n    ],\n    \"card\": {\n      \"name_verification\": {\n        \"enabled\": true,\n        \"use_customer_name\": true,\n        \"accepted_results\": [\n          \"match\"\n        ],\n        \"accepted_results_by_field\": {\n          \"first_name\": [\n            \"match\"\n          ],\n          \"last_name\": [\n            \"match\"\n          ],\n          \"middle_name\": [\n            \"match\"\n          ],\n          \"full_name\": [\n            \"match\"\n          ]\n        }\n      },\n      \"account_billing_updater\": {\n        \"enabled\": true,\n        \"retry_after_update\": true,\n        \"billing_updater_decline_codes\": [\n          \"expired_card\"\n        ]\n      }\n    }\n  },\n  \"receipt\": null,\n  \"risk_assessment_details\": {\n    \"outcome\": \"allow\",\n    \"outcome_source\": \"score\",\n    \"rule_id\": \"rl_296645958265997337\",\n    \"rules_id\": [\n      \"rl_296645958265997337\"\n    ],\n    \"score\": \"31\",\n    \"flags\": [\n      \"no_correlation_history\",\n      \"multiple_identities_billing\",\n      \"multiple_identities_card\",\n      \"free_email_provider\",\n      \"risky_billing_time\",\n      \"velocity_multiple_addresses\",\n      \"velocity_multiple_names\"\n    ]\n  },\n  \"underlying_processing_details\": {\n    \"processor\": \"stripe\",\n    \"transaction_id\": \"pi_abc123xyz789\",\n    \"settlement_account\": \"sa_296645958265997349\",\n    \"settlement_account_details\": {\n      \"processor\": \"pay_com\",\n      \"currency\": \"usd\",\n      \"name\": \"Main Settlement Account\",\n      \"entity\": \"ent_296645958265997359\",\n      \"entity_details\": {\n        \"legal_name\": \"ACME Corp\",\n        \"country\": \"US\"\n      }\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3975bd1e-5d3e-508f-bb0e-98301b0bb34f","name":"Invalid request parameters.","originalRequest":{"url":{"path":["payouts",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"po_296645958265997315","key":"id","description":"(Required) The unique identifier of the payout."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8f1ee180-586d-5f14-82a5-d74c543e8d7b","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["payouts",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"po_296645958265997315","key":"id","description":"(Required) The unique identifier of the payout."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6c7aaae5-c5ab-562a-86ae-440b206fdcd6","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["payouts",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"po_296645958265997315","key":"id","description":"(Required) The unique identifier of the payout."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fa0cfa5d-531c-5ce7-873d-dbbad3ea179a","name":"Payout not found.","originalRequest":{"url":{"path":["payouts",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"po_296645958265997315","key":"id","description":"(Required) The unique identifier of the payout."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f8c8f341-5323-56e5-a7be-9ed9eefeba78","name":"Internal server error.","originalRequest":{"url":{"path":["payouts",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"po_296645958265997315","key":"id","description":"(Required) The unique identifier of the payout."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"62e37b98-c21c-572b-b632-90213f606810","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["payouts",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"po_296645958265997315","key":"id","description":"(Required) The unique identifier of the payout."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"b4efd226-e63b-58de-b297-fdb5b4ec6eac","name":"Cancel a payout","request":{"name":"Cancel a payout","description":{"content":"Cancels a pending bank account payout that has not been sent to the recipient's bank yet. The cancelled payout fails with the `cancelled_by_merchant` failure code and its amount is returned to your balance. A payout that is no longer pending, was sent on an instant rail, or was already processed by the bank cannot be cancelled.","type":"text/plain"},"url":{"path":["payouts",":id","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"po_296645958265997315","key":"id","description":"(Required) The unique identifier of the payout."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null},"response":[{"id":"894e4c4d-73e7-5077-8f14-165ce8d63b29","name":"Returns the cancelled payout object, with status `failed` and failure code `cancelled_by_merchant`.","originalRequest":{"url":{"path":["payouts",":id","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"po_296645958265997315","key":"id","description":"(Required) The unique identifier of the payout."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"po_296645958265997315\",\n  \"resource\": \"payout\",\n  \"amount\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"currency\": \"usd\",\n  \"status\": \"succeeded\",\n  \"calculated_statement_descriptor\": \"PAYCOM* ACME STORE\",\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n  \"description\": \"Withdrawal for order 12345\",\n  \"failure_code\": \"string\",\n  \"failure_message\": \"string\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  },\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"payment_method_details\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"bin\": \"424242\",\n      \"brand\": \"visa\",\n      \"cardholder_currency\": \"usd\",\n      \"country\": \"US\",\n      \"exp_month\": \"12\",\n      \"exp_year\": \"2028\",\n      \"fingerprint\": \"fp_abc123xyz789\",\n      \"funding\": \"unknown\",\n      \"last4\": \"4242\",\n      \"network\": \"visa\",\n      \"category\": \"business\",\n      \"security_checks\": {\n        \"address_line1_check\": \"unavailable\",\n        \"address_postal_code_check\": \"unavailable\",\n        \"cvc_check\": \"pass\"\n      },\n      \"wallet\": {\n        \"type\": \"googlepay\",\n        \"googlepay\": {\n          \"type\": \"cryptogram_3ds\",\n          \"physical_card_last4\": \"4242\"\n        },\n        \"applepay\": {\n          \"physical_card_last4\": \"4242\"\n        },\n        \"ctp\": {\n          \"physical_card_last4\": \"string\",\n          \"physical_card_bin\": \"string\",\n          \"physical_card_exp_month\": \"string\",\n          \"physical_card_exp_year\": \"string\"\n        }\n      },\n      \"token\": \"tok_card_296645958265997326\",\n      \"three_d_secure\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"version\": \"2.2.0\",\n        \"eci\": \"05\",\n        \"cardholder_info\": \"string\",\n        \"liability_shift\": true\n      },\n      \"three_ds\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"status_reason\": \"string\",\n        \"protocol_version\": \"2.2.0\",\n        \"eci\": \"02\",\n        \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n        \"liability_shift\": true,\n        \"cardholder_info\": \"string\",\n        \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n        \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n        \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n        \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n        \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n      },\n      \"payout\": \"not_available\",\n      \"name_verification\": \"match\",\n      \"partial_approval\": {\n        \"status\": \"accepted\",\n        \"amount_requested\": 10000,\n        \"amount_authorized\": 7500,\n        \"amount_charged\": 7500,\n        \"product_id\": \"prod_12345\"\n      },\n      \"name\": \"John Smith\",\n      \"issuer\": \"Chase Bank\"\n    },\n    \"cashapp\": {\n      \"cashtag\": \"$acmecustomer\",\n      \"name\": \"Jenny Rosen\"\n    },\n    \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n    \"setup_future_usage\": \"on_session\"\n  },\n  \"reference\": \"payout_order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"underlying_network_details\": null,\n  \"test_mode\": true,\n  \"payout_method_options\": {\n    \"types\": [\n      \"card\"\n    ],\n    \"card\": {\n      \"name_verification\": {\n        \"enabled\": true,\n        \"use_customer_name\": true,\n        \"accepted_results\": [\n          \"match\"\n        ],\n        \"accepted_results_by_field\": {\n          \"first_name\": [\n            \"match\"\n          ],\n          \"last_name\": [\n            \"match\"\n          ],\n          \"middle_name\": [\n            \"match\"\n          ],\n          \"full_name\": [\n            \"match\"\n          ]\n        }\n      },\n      \"account_billing_updater\": {\n        \"enabled\": true,\n        \"retry_after_update\": true,\n        \"billing_updater_decline_codes\": [\n          \"expired_card\"\n        ]\n      }\n    }\n  },\n  \"receipt\": null,\n  \"risk_assessment_details\": {\n    \"outcome\": \"allow\",\n    \"outcome_source\": \"score\",\n    \"rule_id\": \"rl_296645958265997337\",\n    \"rules_id\": [\n      \"rl_296645958265997337\"\n    ],\n    \"score\": \"31\",\n    \"flags\": [\n      \"no_correlation_history\",\n      \"multiple_identities_billing\",\n      \"multiple_identities_card\",\n      \"free_email_provider\",\n      \"risky_billing_time\",\n      \"velocity_multiple_addresses\",\n      \"velocity_multiple_names\"\n    ]\n  },\n  \"underlying_processing_details\": {\n    \"processor\": \"stripe\",\n    \"transaction_id\": \"pi_abc123xyz789\",\n    \"settlement_account\": \"sa_296645958265997349\",\n    \"settlement_account_details\": {\n      \"processor\": \"pay_com\",\n      \"currency\": \"usd\",\n      \"name\": \"Main Settlement Account\",\n      \"entity\": \"ent_296645958265997359\",\n      \"entity_details\": {\n        \"legal_name\": \"ACME Corp\",\n        \"country\": \"US\"\n      }\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6ee8a866-aefa-5b1d-a7b0-f2e4ebe7e81d","name":"Invalid request parameters.","originalRequest":{"url":{"path":["payouts",":id","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"po_296645958265997315","key":"id","description":"(Required) The unique identifier of the payout."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c527cce2-05af-5cfd-8ae1-6be10aaaf44c","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["payouts",":id","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"po_296645958265997315","key":"id","description":"(Required) The unique identifier of the payout."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"293d2eaf-fad3-5208-9085-a767a49bba97","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["payouts",":id","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"po_296645958265997315","key":"id","description":"(Required) The unique identifier of the payout."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"60721c5c-b90b-5f0b-b259-bdc157e700af","name":"Payout not found.","originalRequest":{"url":{"path":["payouts",":id","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"po_296645958265997315","key":"id","description":"(Required) The unique identifier of the payout."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"706ea4ed-8085-51c4-bf12-59e9a58908a6","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["payouts",":id","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"po_296645958265997315","key":"id","description":"(Required) The unique identifier of the payout."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"06eb4e2a-9910-5e0c-affb-d8c007d74c24","name":"Unprocessable content. The payout cannot be cancelled, for example `Payout is not pending` (the payout already succeeded or failed) or `Payout cannot be cancelled` (the payout was already sent, or its payment method or rail does not support cancellation).","originalRequest":{"url":{"path":["payouts",":id","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"po_296645958265997315","key":"id","description":"(Required) The unique identifier of the payout."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"Payment method is not set up for \\\"off_session\\\" mode\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7e3f9907-01dc-5d86-b045-584dde228d2b","name":"Internal server error.","originalRequest":{"url":{"path":["payouts",":id","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"po_296645958265997315","key":"id","description":"(Required) The unique identifier of the payout."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8831b250-69fa-554c-a644-918820d0be4e","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["payouts",":id","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"po_296645958265997315","key":"id","description":"(Required) The unique identifier of the payout."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"d37b98bd-877d-5664-a83f-3b672ede4421","name":"Simulate a payout return","request":{"name":"Simulate a payout return","description":{"content":"Simulates the return of a succeeded payout by the recipient's bank, for testing return handling. Only available in the sandbox.\n\nThe payout's status becomes `returned` with return code `R01`, and a `payout.returned` webhook is sent. A payout can be returned only once.","type":"text/plain"},"url":{"path":["payouts",":id","simulate","return"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"po_296645958265997315","key":"id","description":"(Required) The unique identifier of the payout."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null},"response":[{"id":"dbcee2dd-1814-5f49-badf-df0697697850","name":"Payout returned successfully.","originalRequest":{"url":{"path":["payouts",":id","simulate","return"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"po_296645958265997315","key":"id","description":"(Required) The unique identifier of the payout."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"}],"method":"POST","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"1dce4e6e-00be-5a17-ad8b-a84b5b064f48","name":"Invalid request parameters, or the payout has already been returned.","originalRequest":{"url":{"path":["payouts",":id","simulate","return"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"po_296645958265997315","key":"id","description":"(Required) The unique identifier of the payout."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bdc3c439-8166-58d3-94f7-2088a0484cc8","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["payouts",":id","simulate","return"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"po_296645958265997315","key":"id","description":"(Required) The unique identifier of the payout."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"18fc6338-a5a2-5701-82a6-819420e9144b","name":"The endpoint is only available in the sandbox.\n\nA 403 can also mean the key may not make this request; `code` says why.","originalRequest":{"url":{"path":["payouts",":id","simulate","return"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"po_296645958265997315","key":"id","description":"(Required) The unique identifier of the payout."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b5da887e-f573-5833-9807-663cf2598225","name":"Payout not found.","originalRequest":{"url":{"path":["payouts",":id","simulate","return"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"po_296645958265997315","key":"id","description":"(Required) The unique identifier of the payout."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e038efa9-f263-5717-b60b-579851109086","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["payouts",":id","simulate","return"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"po_296645958265997315","key":"id","description":"(Required) The unique identifier of the payout."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"849b65d1-bb62-5c80-8261-43a4b099412f","name":"Unprocessable content. Only a succeeded payout can be returned.","originalRequest":{"url":{"path":["payouts",":id","simulate","return"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"po_296645958265997315","key":"id","description":"(Required) The unique identifier of the payout."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"Payment method is not set up for \\\"off_session\\\" mode\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"efb04531-04ee-54b8-b0c9-611f539ff7cd","name":"Internal server error.","originalRequest":{"url":{"path":["payouts",":id","simulate","return"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"po_296645958265997315","key":"id","description":"(Required) The unique identifier of the payout."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"33ff50c4-a021-54e1-91d7-e4fbfa08422a","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["payouts",":id","simulate","return"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"po_296645958265997315","key":"id","description":"(Required) The unique identifier of the payout."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"5c2a7f36-40e3-5b16-9f5a-32a186f14ad2","name":"Retrieve a payout by reference","request":{"name":"Retrieve a payout by reference","description":{"content":"Retrieves the details of a payout by the `reference` you set when creating it.","type":"text/plain"},"url":{"path":["payouts","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"payout_order_12345","key":"reference_id","description":"(Required) The reference of the payout that was provided at creation."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"f1e301dd-d48d-5d1d-84cf-7c8fc37fbdaf","name":"Returns the payout object.","originalRequest":{"url":{"path":["payouts","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"payout_order_12345","key":"reference_id","description":"(Required) The reference of the payout that was provided at creation."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"po_296645958265997315\",\n  \"resource\": \"payout\",\n  \"amount\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"currency\": \"usd\",\n  \"status\": \"succeeded\",\n  \"calculated_statement_descriptor\": \"PAYCOM* ACME STORE\",\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n  \"description\": \"Withdrawal for order 12345\",\n  \"failure_code\": \"string\",\n  \"failure_message\": \"string\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  },\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"payment_method_details\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"bin\": \"424242\",\n      \"brand\": \"visa\",\n      \"cardholder_currency\": \"usd\",\n      \"country\": \"US\",\n      \"exp_month\": \"12\",\n      \"exp_year\": \"2028\",\n      \"fingerprint\": \"fp_abc123xyz789\",\n      \"funding\": \"unknown\",\n      \"last4\": \"4242\",\n      \"network\": \"visa\",\n      \"category\": \"business\",\n      \"security_checks\": {\n        \"address_line1_check\": \"unavailable\",\n        \"address_postal_code_check\": \"unavailable\",\n        \"cvc_check\": \"pass\"\n      },\n      \"wallet\": {\n        \"type\": \"googlepay\",\n        \"googlepay\": {\n          \"type\": \"cryptogram_3ds\",\n          \"physical_card_last4\": \"4242\"\n        },\n        \"applepay\": {\n          \"physical_card_last4\": \"4242\"\n        },\n        \"ctp\": {\n          \"physical_card_last4\": \"string\",\n          \"physical_card_bin\": \"string\",\n          \"physical_card_exp_month\": \"string\",\n          \"physical_card_exp_year\": \"string\"\n        }\n      },\n      \"token\": \"tok_card_296645958265997326\",\n      \"three_d_secure\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"version\": \"2.2.0\",\n        \"eci\": \"05\",\n        \"cardholder_info\": \"string\",\n        \"liability_shift\": true\n      },\n      \"three_ds\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"status_reason\": \"string\",\n        \"protocol_version\": \"2.2.0\",\n        \"eci\": \"02\",\n        \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n        \"liability_shift\": true,\n        \"cardholder_info\": \"string\",\n        \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n        \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n        \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n        \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n        \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n      },\n      \"payout\": \"not_available\",\n      \"name_verification\": \"match\",\n      \"partial_approval\": {\n        \"status\": \"accepted\",\n        \"amount_requested\": 10000,\n        \"amount_authorized\": 7500,\n        \"amount_charged\": 7500,\n        \"product_id\": \"prod_12345\"\n      },\n      \"name\": \"John Smith\",\n      \"issuer\": \"Chase Bank\"\n    },\n    \"cashapp\": {\n      \"cashtag\": \"$acmecustomer\",\n      \"name\": \"Jenny Rosen\"\n    },\n    \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n    \"setup_future_usage\": \"on_session\"\n  },\n  \"reference\": \"payout_order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"underlying_network_details\": null,\n  \"test_mode\": true,\n  \"payout_method_options\": {\n    \"types\": [\n      \"card\"\n    ],\n    \"card\": {\n      \"name_verification\": {\n        \"enabled\": true,\n        \"use_customer_name\": true,\n        \"accepted_results\": [\n          \"match\"\n        ],\n        \"accepted_results_by_field\": {\n          \"first_name\": [\n            \"match\"\n          ],\n          \"last_name\": [\n            \"match\"\n          ],\n          \"middle_name\": [\n            \"match\"\n          ],\n          \"full_name\": [\n            \"match\"\n          ]\n        }\n      },\n      \"account_billing_updater\": {\n        \"enabled\": true,\n        \"retry_after_update\": true,\n        \"billing_updater_decline_codes\": [\n          \"expired_card\"\n        ]\n      }\n    }\n  },\n  \"receipt\": null,\n  \"risk_assessment_details\": {\n    \"outcome\": \"allow\",\n    \"outcome_source\": \"score\",\n    \"rule_id\": \"rl_296645958265997337\",\n    \"rules_id\": [\n      \"rl_296645958265997337\"\n    ],\n    \"score\": \"31\",\n    \"flags\": [\n      \"no_correlation_history\",\n      \"multiple_identities_billing\",\n      \"multiple_identities_card\",\n      \"free_email_provider\",\n      \"risky_billing_time\",\n      \"velocity_multiple_addresses\",\n      \"velocity_multiple_names\"\n    ]\n  },\n  \"underlying_processing_details\": {\n    \"processor\": \"stripe\",\n    \"transaction_id\": \"pi_abc123xyz789\",\n    \"settlement_account\": \"sa_296645958265997349\",\n    \"settlement_account_details\": {\n      \"processor\": \"pay_com\",\n      \"currency\": \"usd\",\n      \"name\": \"Main Settlement Account\",\n      \"entity\": \"ent_296645958265997359\",\n      \"entity_details\": {\n        \"legal_name\": \"ACME Corp\",\n        \"country\": \"US\"\n      }\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"10369af0-10f2-5ff9-a770-b294f95e45f9","name":"Invalid request parameters.","originalRequest":{"url":{"path":["payouts","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"payout_order_12345","key":"reference_id","description":"(Required) The reference of the payout that was provided at creation."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6f5bc737-cd2e-5222-8cd0-7eae3822c444","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["payouts","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"payout_order_12345","key":"reference_id","description":"(Required) The reference of the payout that was provided at creation."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"704a0b3f-5768-5acf-acbc-65b3aca0be5b","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["payouts","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"payout_order_12345","key":"reference_id","description":"(Required) The reference of the payout that was provided at creation."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d85ff508-448b-5c5c-a760-06d6f87f5e10","name":"Payout not found.","originalRequest":{"url":{"path":["payouts","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"payout_order_12345","key":"reference_id","description":"(Required) The reference of the payout that was provided at creation."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"32fd7429-97fa-55bc-979c-11903b19adaf","name":"Internal server error.","originalRequest":{"url":{"path":["payouts","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"payout_order_12345","key":"reference_id","description":"(Required) The reference of the payout that was provided at creation."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"607c0a59-2e73-57bc-bda0-035252dba26c","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["payouts","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"payout_order_12345","key":"reference_id","description":"(Required) The reference of the payout that was provided at creation."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"586e277a-2ef4-585c-a703-4cb3e5bd1f34","name":"Subscriptions","description":{"content":"Create and manage subscriptions for recurring payments. Set up subscription packages, handle billing cycles, and manage subscriber lifecycle.","type":"text/plain"},"item":[{"id":"1e5e0579-73c1-5db9-894d-5df930d446d9","name":"Create a subscription","request":{"name":"Create a subscription","description":{"content":"Creates a new subscription for a customer, using the settings of a subscription package.\n\nThe subscription starts `active` with a full billing period.","type":"text/plain"},"url":{"path":["subscriptions"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"subscription_package\": \"subpkg_296645958265997332\",\n  \"reference\": \"order_12345\",\n  \"charge_at_creation\": true,\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"ea251739-7f44-5704-8e6f-a0dec06ac07d","name":"Returns the created subscription object.","originalRequest":{"url":{"path":["subscriptions"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"subscription_package\": \"subpkg_296645958265997332\",\n  \"reference\": \"order_12345\",\n  \"charge_at_creation\": true,\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"sub_296645958265997324\",\n  \"resource\": \"subscription\",\n  \"attempt_at\": \"1946-07-07T15:05:26.342Z\",\n  \"attempts\": 5,\n  \"cancel_at\": \"2006-02-10T23:04:47.852Z\",\n  \"cancel_at_period_end\": true,\n  \"cancellation_reason\": \"cancellation_requested\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"status\": \"active\",\n  \"current_period_end\": \"2014-03-21T16:46:26.793Z\",\n  \"current_period_start\": \"1990-06-03T19:25:38.155Z\",\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"customer_email\": \"john.smith@example.com\",\n  \"ended_at\": \"2023-04-27T17:42:09.730Z\",\n  \"latest_charge\": \"chrg_296645958265997312\",\n  \"metadata\": {\n    \"key_0\": false\n  },\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"payment_method_type\": \"card\",\n  \"reference\": \"order_12345\",\n  \"settings\": {\n    \"id\": \"subpkg_296645958265997332\",\n    \"resource\": \"subscription_package\",\n    \"overwritten\": true,\n    \"reference\": \"premium_monthly_plan\",\n    \"amount\": {\n      \"type\": \"fixed\",\n      \"amount\": 10000,\n      \"dynamic_amount_url\": \"string\"\n    },\n    \"currency\": \"usd\",\n    \"retries\": {\n      \"attempts\": 7371,\n      \"interval\": \"month\",\n      \"interval_count\": 8062\n    },\n    \"schedule\": {\n      \"interval\": \"month\",\n      \"interval_count\": 503\n    },\n    \"trial\": {\n      \"interval\": \"day\",\n      \"interval_count\": 4324\n    },\n    \"cancel\": {\n      \"interval\": \"month\",\n      \"interval_count\": 2553\n    },\n    \"pause\": \"null\",\n    \"failure\": \"null\",\n    \"dispute\": {\n      \"created\": {\n        \"current_subscription\": \"pause_end_of_term\",\n        \"other_subscriptions\": \"cancel_immediately\"\n      },\n      \"lost\": {\n        \"current_subscription\": \"pause_immediately\",\n        \"other_subscriptions\": \"do_nothing\"\n      }\n    },\n    \"fraud_warning\": {\n      \"current_subscription\": \"cancel_end_of_term\",\n      \"other_subscriptions\": \"pause_immediately\"\n    },\n    \"initial_term_extension\": {\n      \"interval\": \"day\",\n      \"interval_count\": 5142\n    }\n  },\n  \"subscription_session\": \"subs_296645958265997350\",\n  \"trial_period_end\": \"2024-06-13T19:55:36.755Z\",\n  \"trial_period_start\": \"1974-06-21T14:04:57.176Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a08a5957-40dd-5673-b01b-8e6d7dc0e9e9","name":"Invalid request parameters, or a subscription with the same `reference` already exists.","originalRequest":{"url":{"path":["subscriptions"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"subscription_package\": \"subpkg_296645958265997332\",\n  \"reference\": \"order_12345\",\n  \"charge_at_creation\": true,\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bc1ee656-cb26-5ad3-8178-68000d543b43","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["subscriptions"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"subscription_package\": \"subpkg_296645958265997332\",\n  \"reference\": \"order_12345\",\n  \"charge_at_creation\": true,\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"23dbab80-c75e-5cc1-9a33-7fe7ef25b4b4","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["subscriptions"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"subscription_package\": \"subpkg_296645958265997332\",\n  \"reference\": \"order_12345\",\n  \"charge_at_creation\": true,\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"885fc4d8-f565-5b0c-bcff-8d9209b1913b","name":"Customer, payment method or subscription package not found.","originalRequest":{"url":{"path":["subscriptions"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"subscription_package\": \"subpkg_296645958265997332\",\n  \"reference\": \"order_12345\",\n  \"charge_at_creation\": true,\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4feb62b5-5dc5-5308-ae3c-5a42d46ecfa8","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["subscriptions"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"subscription_package\": \"subpkg_296645958265997332\",\n  \"reference\": \"order_12345\",\n  \"charge_at_creation\": true,\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"04b5794a-95ff-59be-86b9-8a7461e452e9","name":"Unprocessable content. For example, the payment method is not set up for off-session payments.","originalRequest":{"url":{"path":["subscriptions"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"subscription_package\": \"subpkg_296645958265997332\",\n  \"reference\": \"order_12345\",\n  \"charge_at_creation\": true,\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"Payment method is not set up for \\\"off_session\\\" mode\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8ed432f5-aca9-5c7a-98dc-8e80ac90e49a","name":"Internal server error.","originalRequest":{"url":{"path":["subscriptions"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"subscription_package\": \"subpkg_296645958265997332\",\n  \"reference\": \"order_12345\",\n  \"charge_at_creation\": true,\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c84b62cc-b3f7-5dfe-9bb2-36dd5bcbd7b9","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["subscriptions"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"subscription_package\": \"subpkg_296645958265997332\",\n  \"reference\": \"order_12345\",\n  \"charge_at_creation\": true,\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"46c1fa33-e96f-596f-bfa5-d92413be6ef9","name":"Cancel a subscription","request":{"name":"Cancel a subscription","description":{"content":"Schedules the cancellation of a subscription.\n\n- Without `cancel_at`, the subscription is canceled at the end of the current period: it stays `active`, with `cancel_at_period_end` set to `true`.\n- With `cancel_at`, the subscription is canceled at that time, which is returned in `cancel_at`.","type":"text/plain"},"url":{"path":["subscriptions",":subscription_id","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"cancel_at\": \"2030-02-15T10:30:00Z\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"98d3fccf-d486-5ca3-9c92-e12da91a0849","name":"Returns the subscription object.","originalRequest":{"url":{"path":["subscriptions",":subscription_id","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"cancel_at\": \"2030-02-15T10:30:00Z\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"sub_296645958265997324\",\n  \"resource\": \"subscription\",\n  \"attempt_at\": \"1946-07-07T15:05:26.342Z\",\n  \"attempts\": 5,\n  \"cancel_at\": \"2006-02-10T23:04:47.852Z\",\n  \"cancel_at_period_end\": true,\n  \"cancellation_reason\": \"cancellation_requested\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"status\": \"active\",\n  \"current_period_end\": \"2014-03-21T16:46:26.793Z\",\n  \"current_period_start\": \"1990-06-03T19:25:38.155Z\",\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"customer_email\": \"john.smith@example.com\",\n  \"ended_at\": \"2023-04-27T17:42:09.730Z\",\n  \"latest_charge\": \"chrg_296645958265997312\",\n  \"metadata\": {\n    \"key_0\": false\n  },\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"payment_method_type\": \"card\",\n  \"reference\": \"order_12345\",\n  \"settings\": {\n    \"id\": \"subpkg_296645958265997332\",\n    \"resource\": \"subscription_package\",\n    \"overwritten\": true,\n    \"reference\": \"premium_monthly_plan\",\n    \"amount\": {\n      \"type\": \"fixed\",\n      \"amount\": 10000,\n      \"dynamic_amount_url\": \"string\"\n    },\n    \"currency\": \"usd\",\n    \"retries\": {\n      \"attempts\": 7371,\n      \"interval\": \"month\",\n      \"interval_count\": 8062\n    },\n    \"schedule\": {\n      \"interval\": \"month\",\n      \"interval_count\": 503\n    },\n    \"trial\": {\n      \"interval\": \"day\",\n      \"interval_count\": 4324\n    },\n    \"cancel\": {\n      \"interval\": \"month\",\n      \"interval_count\": 2553\n    },\n    \"pause\": \"null\",\n    \"failure\": \"null\",\n    \"dispute\": {\n      \"created\": {\n        \"current_subscription\": \"pause_end_of_term\",\n        \"other_subscriptions\": \"cancel_immediately\"\n      },\n      \"lost\": {\n        \"current_subscription\": \"pause_immediately\",\n        \"other_subscriptions\": \"do_nothing\"\n      }\n    },\n    \"fraud_warning\": {\n      \"current_subscription\": \"cancel_end_of_term\",\n      \"other_subscriptions\": \"pause_immediately\"\n    },\n    \"initial_term_extension\": {\n      \"interval\": \"day\",\n      \"interval_count\": 5142\n    }\n  },\n  \"subscription_session\": \"subs_296645958265997350\",\n  \"trial_period_end\": \"2024-06-13T19:55:36.755Z\",\n  \"trial_period_start\": \"1974-06-21T14:04:57.176Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"46141e5b-9998-55d3-9417-e2cd655dc12d","name":"Invalid request parameters, for example a `cancel_at` that is not in the future.","originalRequest":{"url":{"path":["subscriptions",":subscription_id","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"cancel_at\": \"2030-02-15T10:30:00Z\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"aecef5e5-60a3-5d01-ab17-973b61bd5799","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["subscriptions",":subscription_id","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"cancel_at\": \"2030-02-15T10:30:00Z\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d18330d0-d257-5f13-b810-f0670feacc5d","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["subscriptions",":subscription_id","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"cancel_at\": \"2030-02-15T10:30:00Z\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0be54d77-95e1-55f7-843b-efbcd079ffc5","name":"Subscription not found.","originalRequest":{"url":{"path":["subscriptions",":subscription_id","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"cancel_at\": \"2030-02-15T10:30:00Z\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"02d71f1f-f036-5ac1-8a29-9fa0c90cb93a","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["subscriptions",":subscription_id","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"cancel_at\": \"2030-02-15T10:30:00Z\"\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d8aff62b-6882-5990-936c-732338b4449a","name":"Internal server error.","originalRequest":{"url":{"path":["subscriptions",":subscription_id","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"cancel_at\": \"2030-02-15T10:30:00Z\"\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3bd76f0f-0f99-57fb-a137-9d70be8a54b7","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["subscriptions",":subscription_id","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"cancel_at\": \"2030-02-15T10:30:00Z\"\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"9218a53a-2525-5ee6-a92a-5ebb494a2568","name":"Retry a subscription","request":{"name":"Retry a subscription","description":{"content":"Retries a failed subscription payment, optionally with a new payment method. A subscription whose payments did not fail (for example an `active` subscription) cannot be retried and returns 422.","type":"text/plain"},"url":{"path":["subscriptions",":subscription_id","retry"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"update_payment_method\": true\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"e71a1a13-dd3a-50c0-8a44-215388efc15e","name":"Returns the subscription object.","originalRequest":{"url":{"path":["subscriptions",":subscription_id","retry"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"update_payment_method\": true\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"sub_296645958265997324\",\n  \"resource\": \"subscription\",\n  \"attempt_at\": \"1946-07-07T15:05:26.342Z\",\n  \"attempts\": 5,\n  \"cancel_at\": \"2006-02-10T23:04:47.852Z\",\n  \"cancel_at_period_end\": true,\n  \"cancellation_reason\": \"cancellation_requested\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"status\": \"active\",\n  \"current_period_end\": \"2014-03-21T16:46:26.793Z\",\n  \"current_period_start\": \"1990-06-03T19:25:38.155Z\",\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"customer_email\": \"john.smith@example.com\",\n  \"ended_at\": \"2023-04-27T17:42:09.730Z\",\n  \"latest_charge\": \"chrg_296645958265997312\",\n  \"metadata\": {\n    \"key_0\": false\n  },\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"payment_method_type\": \"card\",\n  \"reference\": \"order_12345\",\n  \"settings\": {\n    \"id\": \"subpkg_296645958265997332\",\n    \"resource\": \"subscription_package\",\n    \"overwritten\": true,\n    \"reference\": \"premium_monthly_plan\",\n    \"amount\": {\n      \"type\": \"fixed\",\n      \"amount\": 10000,\n      \"dynamic_amount_url\": \"string\"\n    },\n    \"currency\": \"usd\",\n    \"retries\": {\n      \"attempts\": 7371,\n      \"interval\": \"month\",\n      \"interval_count\": 8062\n    },\n    \"schedule\": {\n      \"interval\": \"month\",\n      \"interval_count\": 503\n    },\n    \"trial\": {\n      \"interval\": \"day\",\n      \"interval_count\": 4324\n    },\n    \"cancel\": {\n      \"interval\": \"month\",\n      \"interval_count\": 2553\n    },\n    \"pause\": \"null\",\n    \"failure\": \"null\",\n    \"dispute\": {\n      \"created\": {\n        \"current_subscription\": \"pause_end_of_term\",\n        \"other_subscriptions\": \"cancel_immediately\"\n      },\n      \"lost\": {\n        \"current_subscription\": \"pause_immediately\",\n        \"other_subscriptions\": \"do_nothing\"\n      }\n    },\n    \"fraud_warning\": {\n      \"current_subscription\": \"cancel_end_of_term\",\n      \"other_subscriptions\": \"pause_immediately\"\n    },\n    \"initial_term_extension\": {\n      \"interval\": \"day\",\n      \"interval_count\": 5142\n    }\n  },\n  \"subscription_session\": \"subs_296645958265997350\",\n  \"trial_period_end\": \"2024-06-13T19:55:36.755Z\",\n  \"trial_period_start\": \"1974-06-21T14:04:57.176Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d5f2f5a2-e64f-58b1-a75c-06eb04b23dd2","name":"Invalid request parameters.","originalRequest":{"url":{"path":["subscriptions",":subscription_id","retry"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"update_payment_method\": true\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"97de6c07-49cb-5d68-97f0-8777e2efdb8a","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["subscriptions",":subscription_id","retry"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"update_payment_method\": true\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2742078e-31f5-5de0-bb1a-3e49addd2ebc","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["subscriptions",":subscription_id","retry"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"update_payment_method\": true\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3bed842b-ed1b-5951-9fee-b1b47d894d3a","name":"Subscription not found.","originalRequest":{"url":{"path":["subscriptions",":subscription_id","retry"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"update_payment_method\": true\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"717c13bc-5ae1-5099-bd8c-0c18c52a175f","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["subscriptions",":subscription_id","retry"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"update_payment_method\": true\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9db23055-22de-5933-b32b-736e70a21002","name":"Unprocessable content. The subscription's status does not allow a retry.","originalRequest":{"url":{"path":["subscriptions",":subscription_id","retry"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"update_payment_method\": true\n}","options":{"raw":{"language":"json"}}}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"Payment method is not set up for \\\"off_session\\\" mode\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4f72f585-7dc0-5aa0-acbc-fcea48aea025","name":"Internal server error.","originalRequest":{"url":{"path":["subscriptions",":subscription_id","retry"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"update_payment_method\": true\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"50810acc-ef2b-58f7-9443-654e84467c30","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["subscriptions",":subscription_id","retry"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"update_payment_method\": true\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c8edc122-d166-51a9-a60c-e65a6d40b691","name":"Simulate a subscription charge","request":{"name":"Simulate a subscription charge","description":{"content":"Simulates the next billing period charge for an `active` subscription. Only available in the sandbox. The charge runs asynchronously; the 204 means it was started.","type":"text/plain"},"url":{"path":["subscriptions",":subscription_id","simulate","charge"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null},"response":[{"id":"e1c71f21-bcbf-59a3-b15a-b06623bbeaa7","name":"Charge started; it completes asynchronously.","originalRequest":{"url":{"path":["subscriptions",":subscription_id","simulate","charge"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"}],"method":"POST","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"75dd2119-4226-5cb7-857c-46bd17dad9b7","name":"Invalid request parameters.","originalRequest":{"url":{"path":["subscriptions",":subscription_id","simulate","charge"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7b48ed0d-c7db-5810-9ee9-f1729c3e8945","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["subscriptions",":subscription_id","simulate","charge"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f2168312-bd7c-5cb1-867d-05e0ceb2e068","name":"The endpoint is only available in the sandbox.\n\nA 403 can also mean the key may not make this request; `code` says why.","originalRequest":{"url":{"path":["subscriptions",":subscription_id","simulate","charge"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6d2ceff4-92dc-5a15-a226-03c8f7df668a","name":"Subscription not found.","originalRequest":{"url":{"path":["subscriptions",":subscription_id","simulate","charge"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bac0b9d0-cf10-5acf-ae7e-e53384b8ea5d","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["subscriptions",":subscription_id","simulate","charge"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fdd80b54-0980-5ebf-bb86-6a55139eb990","name":"Unprocessable content. The subscription is not active.","originalRequest":{"url":{"path":["subscriptions",":subscription_id","simulate","charge"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"Payment method is not set up for \\\"off_session\\\" mode\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f482f945-2c40-5859-8af2-6feeb244f86c","name":"Internal server error.","originalRequest":{"url":{"path":["subscriptions",":subscription_id","simulate","charge"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d36920fb-cb1e-5345-b1b3-386115a30590","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["subscriptions",":subscription_id","simulate","charge"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"04fac660-6724-517a-8dc9-fdcde114c24c","name":"Retrieve a subscription","request":{"name":"Retrieve a subscription","description":{"content":"Retrieves the details of a subscription.","type":"text/plain"},"url":{"path":["subscriptions",":subscription_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"290f89e7-29bd-5b53-9a12-ccc4e5214b28","name":"Returns the subscription object.","originalRequest":{"url":{"path":["subscriptions",":subscription_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"sub_296645958265997324\",\n  \"resource\": \"subscription\",\n  \"attempt_at\": \"1946-07-07T15:05:26.342Z\",\n  \"attempts\": 5,\n  \"cancel_at\": \"2006-02-10T23:04:47.852Z\",\n  \"cancel_at_period_end\": true,\n  \"cancellation_reason\": \"cancellation_requested\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"status\": \"active\",\n  \"current_period_end\": \"2014-03-21T16:46:26.793Z\",\n  \"current_period_start\": \"1990-06-03T19:25:38.155Z\",\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"customer_email\": \"john.smith@example.com\",\n  \"ended_at\": \"2023-04-27T17:42:09.730Z\",\n  \"latest_charge\": \"chrg_296645958265997312\",\n  \"metadata\": {\n    \"key_0\": false\n  },\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"payment_method_type\": \"card\",\n  \"reference\": \"order_12345\",\n  \"settings\": {\n    \"id\": \"subpkg_296645958265997332\",\n    \"resource\": \"subscription_package\",\n    \"overwritten\": true,\n    \"reference\": \"premium_monthly_plan\",\n    \"amount\": {\n      \"type\": \"fixed\",\n      \"amount\": 10000,\n      \"dynamic_amount_url\": \"string\"\n    },\n    \"currency\": \"usd\",\n    \"retries\": {\n      \"attempts\": 7371,\n      \"interval\": \"month\",\n      \"interval_count\": 8062\n    },\n    \"schedule\": {\n      \"interval\": \"month\",\n      \"interval_count\": 503\n    },\n    \"trial\": {\n      \"interval\": \"day\",\n      \"interval_count\": 4324\n    },\n    \"cancel\": {\n      \"interval\": \"month\",\n      \"interval_count\": 2553\n    },\n    \"pause\": \"null\",\n    \"failure\": \"null\",\n    \"dispute\": {\n      \"created\": {\n        \"current_subscription\": \"pause_end_of_term\",\n        \"other_subscriptions\": \"cancel_immediately\"\n      },\n      \"lost\": {\n        \"current_subscription\": \"pause_immediately\",\n        \"other_subscriptions\": \"do_nothing\"\n      }\n    },\n    \"fraud_warning\": {\n      \"current_subscription\": \"cancel_end_of_term\",\n      \"other_subscriptions\": \"pause_immediately\"\n    },\n    \"initial_term_extension\": {\n      \"interval\": \"day\",\n      \"interval_count\": 5142\n    }\n  },\n  \"subscription_session\": \"subs_296645958265997350\",\n  \"trial_period_end\": \"2024-06-13T19:55:36.755Z\",\n  \"trial_period_start\": \"1974-06-21T14:04:57.176Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4a400bde-fd75-5c61-85f4-5c53af114310","name":"Invalid request parameters.","originalRequest":{"url":{"path":["subscriptions",":subscription_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"73fe27c3-9345-5f76-b8c5-f2985ac01f23","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["subscriptions",":subscription_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ecf73e9e-f11d-55db-bbd0-a3b286e2ee0d","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["subscriptions",":subscription_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d515599e-fdf7-51cc-9d1e-9646c9d73236","name":"Subscription not found.","originalRequest":{"url":{"path":["subscriptions",":subscription_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7594d9c3-f3cd-5a2b-b35f-e9896da5fc01","name":"Internal server error.","originalRequest":{"url":{"path":["subscriptions",":subscription_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"143bcfd8-fc2b-5fa0-a5ca-657ef0ba717c","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["subscriptions",":subscription_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"80077ac0-b678-5df2-873a-244bb468af3f","name":"Update a subscription","request":{"name":"Update a subscription","description":{"content":"Updates the payment method of a subscription.","type":"text/plain"},"url":{"path":["subscriptions",":subscription_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":null,"body":{"mode":"raw","raw":"{\n  \"payment_method\": \"pm_card_296645958265997316\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"0b9c2e93-1072-5fa4-8d72-27f7cd3a448a","name":"Returns the updated subscription object.","originalRequest":{"url":{"path":["subscriptions",":subscription_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"payment_method\": \"pm_card_296645958265997316\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"sub_296645958265997324\",\n  \"resource\": \"subscription\",\n  \"attempt_at\": \"1946-07-07T15:05:26.342Z\",\n  \"attempts\": 5,\n  \"cancel_at\": \"2006-02-10T23:04:47.852Z\",\n  \"cancel_at_period_end\": true,\n  \"cancellation_reason\": \"cancellation_requested\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"status\": \"active\",\n  \"current_period_end\": \"2014-03-21T16:46:26.793Z\",\n  \"current_period_start\": \"1990-06-03T19:25:38.155Z\",\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"customer_email\": \"john.smith@example.com\",\n  \"ended_at\": \"2023-04-27T17:42:09.730Z\",\n  \"latest_charge\": \"chrg_296645958265997312\",\n  \"metadata\": {\n    \"key_0\": false\n  },\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"payment_method_type\": \"card\",\n  \"reference\": \"order_12345\",\n  \"settings\": {\n    \"id\": \"subpkg_296645958265997332\",\n    \"resource\": \"subscription_package\",\n    \"overwritten\": true,\n    \"reference\": \"premium_monthly_plan\",\n    \"amount\": {\n      \"type\": \"fixed\",\n      \"amount\": 10000,\n      \"dynamic_amount_url\": \"string\"\n    },\n    \"currency\": \"usd\",\n    \"retries\": {\n      \"attempts\": 7371,\n      \"interval\": \"month\",\n      \"interval_count\": 8062\n    },\n    \"schedule\": {\n      \"interval\": \"month\",\n      \"interval_count\": 503\n    },\n    \"trial\": {\n      \"interval\": \"day\",\n      \"interval_count\": 4324\n    },\n    \"cancel\": {\n      \"interval\": \"month\",\n      \"interval_count\": 2553\n    },\n    \"pause\": \"null\",\n    \"failure\": \"null\",\n    \"dispute\": {\n      \"created\": {\n        \"current_subscription\": \"pause_end_of_term\",\n        \"other_subscriptions\": \"cancel_immediately\"\n      },\n      \"lost\": {\n        \"current_subscription\": \"pause_immediately\",\n        \"other_subscriptions\": \"do_nothing\"\n      }\n    },\n    \"fraud_warning\": {\n      \"current_subscription\": \"cancel_end_of_term\",\n      \"other_subscriptions\": \"pause_immediately\"\n    },\n    \"initial_term_extension\": {\n      \"interval\": \"day\",\n      \"interval_count\": 5142\n    }\n  },\n  \"subscription_session\": \"subs_296645958265997350\",\n  \"trial_period_end\": \"2024-06-13T19:55:36.755Z\",\n  \"trial_period_start\": \"1974-06-21T14:04:57.176Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"100e74f8-1e11-5594-9b84-8cc0be2e49ae","name":"Invalid request parameters.","originalRequest":{"url":{"path":["subscriptions",":subscription_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"payment_method\": \"pm_card_296645958265997316\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"42645537-0851-5b09-baa0-ecb4260f796f","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["subscriptions",":subscription_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"payment_method\": \"pm_card_296645958265997316\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b5335c4c-bd39-51f3-bb91-ea9bdacabd21","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["subscriptions",":subscription_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"payment_method\": \"pm_card_296645958265997316\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"54f86e87-b749-5819-bed9-424e95433a1a","name":"Subscription or payment method not found, or the payment method is not set up for off-session payments.","originalRequest":{"url":{"path":["subscriptions",":subscription_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"payment_method\": \"pm_card_296645958265997316\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e595ba23-42c7-5b7c-95f7-d28c4e857d77","name":"Internal server error.","originalRequest":{"url":{"path":["subscriptions",":subscription_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"payment_method\": \"pm_card_296645958265997316\"\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a2922de2-d384-5349-8f3e-6aef60cb8a78","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["subscriptions",":subscription_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sub_296645958265997324","key":"subscription_id","description":"(Required) Unique identifier for the Subscription resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"payment_method\": \"pm_card_296645958265997316\"\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"28c0bab5-8e14-54c2-97f2-f359bcc9e7f5","name":"Settlements","description":{"content":"View settlement details and breakdowns showing how funds are allocated and transferred to your account.","type":"text/plain"},"item":[{"id":"e014fd0a-1acd-5659-9fda-1f3f8ce06c38","name":"Retrieve a settlement","request":{"name":"Retrieve a settlement","description":{"content":"Retrieves the details of a settlement.","type":"text/plain"},"url":{"path":["settlements",":settlement_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"stlmnt_296645958265997323","key":"settlement_id","description":"(Required) Unique identifier for the Settlement resource."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"e8985e50-9de7-58a4-b906-8bdb155728b2","name":"Returns the settlement object.","originalRequest":{"url":{"path":["settlements",":settlement_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"stlmnt_296645958265997323","key":"settlement_id","description":"(Required) Unique identifier for the Settlement resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"stlmnt_296645958265997323\",\n  \"resource\": \"settlement\",\n  \"amount\": 170438,\n  \"amount_human_readable\": \"1704.38\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"currency\": \"usd\",\n  \"method\": \"wire\",\n  \"period_end\": \"2024-01-14T23:59:59Z\",\n  \"period_start\": \"2024-01-01T00:00:00Z\",\n  \"test_mode\": true,\n  \"type\": \"bank_account\",\n  \"payment_date\": \"2024-01-16T10:00:00Z\",\n  \"settlement_account\": \"sa_296645958265997349\",\n  \"settlement_account_details\": {\n    \"processor\": \"worldpay\",\n    \"currency\": \"usd\",\n    \"name\": \"Main USD account\",\n    \"entity\": \"ent_296645958265997352\",\n    \"entity_details\": {\n      \"legal_name\": \"Acme Inc.\",\n      \"country\": \"US\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7fbfdee4-bbfe-563f-9196-8ed6f3ceabe5","name":"Invalid request parameters.","originalRequest":{"url":{"path":["settlements",":settlement_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"stlmnt_296645958265997323","key":"settlement_id","description":"(Required) Unique identifier for the Settlement resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"552672b9-7a61-5a0b-bb1b-d4132f2c4445","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["settlements",":settlement_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"stlmnt_296645958265997323","key":"settlement_id","description":"(Required) Unique identifier for the Settlement resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"282a77e1-25b8-5178-861a-7c51f135e418","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["settlements",":settlement_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"stlmnt_296645958265997323","key":"settlement_id","description":"(Required) Unique identifier for the Settlement resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7b3895b5-224b-5517-829f-d6e08160230e","name":"Settlement not found.","originalRequest":{"url":{"path":["settlements",":settlement_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"stlmnt_296645958265997323","key":"settlement_id","description":"(Required) Unique identifier for the Settlement resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"86410280-43ee-5766-8a2c-9d48462b4caf","name":"Internal server error.","originalRequest":{"url":{"path":["settlements",":settlement_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"stlmnt_296645958265997323","key":"settlement_id","description":"(Required) Unique identifier for the Settlement resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5c7321e9-e190-5171-a8b7-38f968e57183","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["settlements",":settlement_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"stlmnt_296645958265997323","key":"settlement_id","description":"(Required) Unique identifier for the Settlement resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"ea6df24d-dfa7-5074-8e7e-6b30e95c6a9e","name":"Retrieve a settlement breakdown","request":{"name":"Retrieve a settlement breakdown","description":{"content":"Retrieves the breakdown of a settlement.","type":"text/plain"},"url":{"path":["settlements",":settlement_id","breakdown"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"stlmnt_296645958265997323","key":"settlement_id","description":"(Required) Unique identifier for the Settlement resource."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"616d869c-874e-5a30-844e-bffce7f572f9","name":"Returns the settlement breakdown object.","originalRequest":{"url":{"path":["settlements",":settlement_id","breakdown"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"stlmnt_296645958265997323","key":"settlement_id","description":"(Required) Unique identifier for the Settlement resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"stbrk_stlmnt_296645958265997356\",\n  \"resource\": \"settlement_breakdown\",\n  \"amount\": 169439,\n  \"chargeback_amount\": 0,\n  \"chargeback_fees\": 0,\n  \"currency\": \"usd\",\n  \"general_adjustments\": 0,\n  \"interchange_fees\": -1180,\n  \"network_fess\": -138,\n  \"payout_amount\": 0,\n  \"processed_amount\": 181420,\n  \"processing_fees\": -592,\n  \"refund_amount\": 0,\n  \"rolling_reserve\": -9071,\n  \"rolling_reserve_released\": 0,\n  \"service_fees\": -1000,\n  \"test_mode\": false,\n  \"vat\": 0\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d8581d60-a81e-5c6b-a07b-14953b73cce3","name":"Invalid request parameters.","originalRequest":{"url":{"path":["settlements",":settlement_id","breakdown"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"stlmnt_296645958265997323","key":"settlement_id","description":"(Required) Unique identifier for the Settlement resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b9984459-edd3-5a37-9bdb-180aa986a61c","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["settlements",":settlement_id","breakdown"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"stlmnt_296645958265997323","key":"settlement_id","description":"(Required) Unique identifier for the Settlement resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"65a0a3e4-a0cd-57e1-b233-45017f93e96e","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["settlements",":settlement_id","breakdown"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"stlmnt_296645958265997323","key":"settlement_id","description":"(Required) Unique identifier for the Settlement resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a0ac4d9a-a89a-5a0d-82ee-c5f17320d78d","name":"Settlement not found.","originalRequest":{"url":{"path":["settlements",":settlement_id","breakdown"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"stlmnt_296645958265997323","key":"settlement_id","description":"(Required) Unique identifier for the Settlement resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fd51ce65-2d71-5b34-9b70-577591cf0c97","name":"Internal server error.","originalRequest":{"url":{"path":["settlements",":settlement_id","breakdown"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"stlmnt_296645958265997323","key":"settlement_id","description":"(Required) Unique identifier for the Settlement resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c857594a-d2b1-5693-9eee-c7bfcb76c5f7","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["settlements",":settlement_id","breakdown"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"stlmnt_296645958265997323","key":"settlement_id","description":"(Required) Unique identifier for the Settlement resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"624c5813-1eae-5764-9562-f8e95e272e9b","name":"List settlements","request":{"name":"List settlements","description":{"content":"Retrieves a list of the settlements Pay.com has paid, sorted by creation time, oldest first. An account with no paid settlements gets an empty list.\n\nOnly one list query per merchant can run at a time; a concurrent query returns 429.","type":"text/plain"},"url":{"path":["settlements"],"host":["{{pay_base_url}}"],"query":[{"disabled":false,"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z","description":"Return objects created on or after this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.greater_than`."},{"disabled":false,"key":"created.greater_than","value":"2024-10-10T00:00:00Z","description":"Return objects created after this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.greater_than_or_equals`."},{"disabled":false,"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z","description":"Return objects created on or before this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.less_than`."},{"disabled":false,"key":"created.less_than","value":"2024-10-10T00:00:00Z","description":"Return objects created before this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.less_than_or_equals`."},{"disabled":false,"key":"limit","value":"10","description":"Maximum number of objects to return. Defaults to 10."},{"disabled":false,"key":"ending_before","value":"string","description":"A cursor for pagination. Returns objects created before the object with this ID. Must be the ID of an object of the type being listed (for example a `chrg_` ID when listing charges); other IDs return 400. Lists are sorted by creation time, oldest first. Mutually exclusive with `starting_after`."},{"disabled":false,"key":"starting_after","value":"string","description":"A cursor for pagination. Returns objects created after the object with this ID. Must be the ID of an object of the type being listed (for example a `chrg_` ID when listing charges); other IDs return 400. Lists are sorted by creation time, oldest first. Mutually exclusive with `ending_before`."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"78414066-a074-5c03-bd07-6fbd1757e913","name":"Returns a list of settlement objects.","originalRequest":{"url":{"path":["settlements"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"resource\": \"settlements\",\n  \"data\": [\n    {\n      \"id\": \"stlmnt_296645958265997323\",\n      \"resource\": \"settlement\",\n      \"amount\": 170438,\n      \"amount_human_readable\": \"1704.38\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"currency\": \"usd\",\n      \"method\": \"wire\",\n      \"period_end\": \"2024-01-14T23:59:59Z\",\n      \"period_start\": \"2024-01-01T00:00:00Z\",\n      \"test_mode\": true,\n      \"type\": \"bank_account\",\n      \"payment_date\": \"2024-01-16T10:00:00Z\",\n      \"settlement_account\": \"sa_296645958265997349\",\n      \"settlement_account_details\": {\n        \"processor\": \"worldpay\",\n        \"currency\": \"usd\",\n        \"name\": \"Main USD account\",\n        \"entity\": \"ent_296645958265997352\",\n        \"entity_details\": {\n          \"legal_name\": \"Acme Inc.\",\n          \"country\": \"US\"\n        }\n      }\n    },\n    {\n      \"id\": \"stlmnt_296645958265997323\",\n      \"resource\": \"settlement\",\n      \"amount\": 170438,\n      \"amount_human_readable\": \"1704.38\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"currency\": \"usd\",\n      \"method\": \"wire\",\n      \"period_end\": \"2024-01-14T23:59:59Z\",\n      \"period_start\": \"2024-01-01T00:00:00Z\",\n      \"test_mode\": true,\n      \"type\": \"bank_account\",\n      \"payment_date\": \"2024-01-16T10:00:00Z\",\n      \"settlement_account\": \"sa_296645958265997349\",\n      \"settlement_account_details\": {\n        \"processor\": \"worldpay\",\n        \"currency\": \"usd\",\n        \"name\": \"Main USD account\",\n        \"entity\": \"ent_296645958265997352\",\n        \"entity_details\": {\n          \"legal_name\": \"Acme Inc.\",\n          \"country\": \"US\"\n        }\n      }\n    }\n  ],\n  \"has_more\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"149f4f48-5a6f-553b-8efc-a3ae96d64582","name":"Invalid request parameters.","originalRequest":{"url":{"path":["settlements"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bda4a4c2-6689-566b-96e3-57a0aa890052","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["settlements"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5d40e2d3-21b0-5cfc-a20f-b9308e6bcb1e","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["settlements"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"148a5483-9f3f-5db6-bb54-8d069f88f1b8","name":"Another list query is already running for your account. Retry after the number of seconds in the `Retry-After` header.","originalRequest":{"url":{"path":["settlements"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"disabled":false,"description":"Number of seconds to wait before retrying.","key":"Retry-After","value":"6186"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Only one bulk query per merchant can run at a time. Retry after the current query completes.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ff83b2f2-70f9-5562-94fa-6cbf53fc1900","name":"Internal server error.","originalRequest":{"url":{"path":["settlements"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"188bd701-a99b-5350-b868-dce14ac89700","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["settlements"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"1d241147-90f8-5a9a-8b6a-be00546c124f","name":"Customers","description":{"content":"Manage customer records, including their payment methods and transaction history.","type":"text/plain"},"item":[{"id":"9d673a8d-3b1d-5f8a-95f2-ed092c0eaff6","name":"Create a customer","request":{"name":"Create a customer","description":{"content":"Creates a customer with a reference.","type":"text/plain"},"url":{"path":["customers"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"reference_id\": \"cust_ext_abc123\",\n  \"name\": \"John Smith\",\n  \"email\": \"john.smith@example.com\",\n  \"phone\": \"+14155551234\",\n  \"address\": {\n    \"line1\": \"123 Main Street\",\n    \"line2\": \"Suite 400\",\n    \"city\": \"San Francisco\",\n    \"state\": \"CA\",\n    \"postal_code\": \"94102\",\n    \"country\": \"US\"\n  },\n  \"dob\": \"1985-07-15\",\n  \"metadata\": {\n    \"customer_tier\": \"premium\"\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"128ffed2-160f-558e-adc1-1d5c961ab531","name":"Returns the created customer object.","originalRequest":{"url":{"path":["customers"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"reference_id\": \"cust_ext_abc123\",\n  \"name\": \"John Smith\",\n  \"email\": \"john.smith@example.com\",\n  \"phone\": \"+14155551234\",\n  \"address\": {\n    \"line1\": \"123 Main Street\",\n    \"line2\": \"Suite 400\",\n    \"city\": \"San Francisco\",\n    \"state\": \"CA\",\n    \"postal_code\": \"94102\",\n    \"country\": \"US\"\n  },\n  \"dob\": \"1985-07-15\",\n  \"metadata\": {\n    \"customer_tier\": \"premium\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"cust_296645958265997317\",\n  \"resource\": \"customer\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"default_source\": \"pm_card_296645958265997316\",\n  \"email\": \"john.smith@example.com\",\n  \"metadata\": {},\n  \"name\": \"John Smith\",\n  \"phone\": \"+14155551234\",\n  \"reference_id\": \"cust_ext_abc123\",\n  \"address\": {\n    \"city\": \"San Francisco\",\n    \"country\": \"US\",\n    \"line1\": \"123 Main Street\",\n    \"line2\": \"Suite 400\",\n    \"postal_code\": \"94102\",\n    \"state\": \"CA\"\n  },\n  \"shipping\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"phone\": \"+14155551234\"\n  },\n  \"test_mode\": false,\n  \"dob\": \"1985-07-15\",\n  \"national_identification_number\": \"123-45-6789\",\n  \"underlying_identifiers\": {\n    \"stripe\": {\n      \"acct_abc123xyz789\": \"cus_abc123xyz789\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bc55e280-5733-5e5b-971f-1726a6c90171","name":"Invalid request parameters. Also returned when a customer with the same `reference_id` already exists.","originalRequest":{"url":{"path":["customers"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"reference_id\": \"cust_ext_abc123\",\n  \"name\": \"John Smith\",\n  \"email\": \"john.smith@example.com\",\n  \"phone\": \"+14155551234\",\n  \"address\": {\n    \"line1\": \"123 Main Street\",\n    \"line2\": \"Suite 400\",\n    \"city\": \"San Francisco\",\n    \"state\": \"CA\",\n    \"postal_code\": \"94102\",\n    \"country\": \"US\"\n  },\n  \"dob\": \"1985-07-15\",\n  \"metadata\": {\n    \"customer_tier\": \"premium\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b938f422-2935-5d53-bdab-c9b6ba2ab386","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["customers"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"reference_id\": \"cust_ext_abc123\",\n  \"name\": \"John Smith\",\n  \"email\": \"john.smith@example.com\",\n  \"phone\": \"+14155551234\",\n  \"address\": {\n    \"line1\": \"123 Main Street\",\n    \"line2\": \"Suite 400\",\n    \"city\": \"San Francisco\",\n    \"state\": \"CA\",\n    \"postal_code\": \"94102\",\n    \"country\": \"US\"\n  },\n  \"dob\": \"1985-07-15\",\n  \"metadata\": {\n    \"customer_tier\": \"premium\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"45a9fc40-50e9-518b-b6ee-f8a813d5c176","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["customers"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"reference_id\": \"cust_ext_abc123\",\n  \"name\": \"John Smith\",\n  \"email\": \"john.smith@example.com\",\n  \"phone\": \"+14155551234\",\n  \"address\": {\n    \"line1\": \"123 Main Street\",\n    \"line2\": \"Suite 400\",\n    \"city\": \"San Francisco\",\n    \"state\": \"CA\",\n    \"postal_code\": \"94102\",\n    \"country\": \"US\"\n  },\n  \"dob\": \"1985-07-15\",\n  \"metadata\": {\n    \"customer_tier\": \"premium\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"61ee7f68-2032-5bec-8b72-c0f069cfa202","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["customers"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"reference_id\": \"cust_ext_abc123\",\n  \"name\": \"John Smith\",\n  \"email\": \"john.smith@example.com\",\n  \"phone\": \"+14155551234\",\n  \"address\": {\n    \"line1\": \"123 Main Street\",\n    \"line2\": \"Suite 400\",\n    \"city\": \"San Francisco\",\n    \"state\": \"CA\",\n    \"postal_code\": \"94102\",\n    \"country\": \"US\"\n  },\n  \"dob\": \"1985-07-15\",\n  \"metadata\": {\n    \"customer_tier\": \"premium\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"637fac63-d24f-5f78-b3f8-4e9f3edcc773","name":"Internal server error.","originalRequest":{"url":{"path":["customers"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"reference_id\": \"cust_ext_abc123\",\n  \"name\": \"John Smith\",\n  \"email\": \"john.smith@example.com\",\n  \"phone\": \"+14155551234\",\n  \"address\": {\n    \"line1\": \"123 Main Street\",\n    \"line2\": \"Suite 400\",\n    \"city\": \"San Francisco\",\n    \"state\": \"CA\",\n    \"postal_code\": \"94102\",\n    \"country\": \"US\"\n  },\n  \"dob\": \"1985-07-15\",\n  \"metadata\": {\n    \"customer_tier\": \"premium\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a0b06026-f35c-567c-b317-d53b87deca16","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["customers"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"reference_id\": \"cust_ext_abc123\",\n  \"name\": \"John Smith\",\n  \"email\": \"john.smith@example.com\",\n  \"phone\": \"+14155551234\",\n  \"address\": {\n    \"line1\": \"123 Main Street\",\n    \"line2\": \"Suite 400\",\n    \"city\": \"San Francisco\",\n    \"state\": \"CA\",\n    \"postal_code\": \"94102\",\n    \"country\": \"US\"\n  },\n  \"dob\": \"1985-07-15\",\n  \"metadata\": {\n    \"customer_tier\": \"premium\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"276a1988-c668-532b-b952-7eb991560156","name":"Retrieve a customer","request":{"name":"Retrieve a customer","description":{"content":"Retrieves the details of a customer by reference.","type":"text/plain"},"url":{"path":["customers",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"a33a5998-b700-52b7-b2b5-982ffccee43c","name":"Returns the customer object.","originalRequest":{"url":{"path":["customers",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"cust_296645958265997317\",\n  \"resource\": \"customer\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"default_source\": \"pm_card_296645958265997316\",\n  \"email\": \"john.smith@example.com\",\n  \"metadata\": {},\n  \"name\": \"John Smith\",\n  \"phone\": \"+14155551234\",\n  \"reference_id\": \"cust_ext_abc123\",\n  \"address\": {\n    \"city\": \"San Francisco\",\n    \"country\": \"US\",\n    \"line1\": \"123 Main Street\",\n    \"line2\": \"Suite 400\",\n    \"postal_code\": \"94102\",\n    \"state\": \"CA\"\n  },\n  \"shipping\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"phone\": \"+14155551234\"\n  },\n  \"test_mode\": false,\n  \"dob\": \"1985-07-15\",\n  \"national_identification_number\": \"123-45-6789\",\n  \"underlying_identifiers\": {\n    \"stripe\": {\n      \"acct_abc123xyz789\": \"cus_abc123xyz789\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"86231e92-9741-5fb7-a907-c86fe44e0fcb","name":"Invalid request parameters.","originalRequest":{"url":{"path":["customers",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7103fde0-2ff4-5bf7-a748-1747d347dc5f","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["customers",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3934e0b7-15d0-546a-b28a-275a9a96ab3a","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["customers",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ee810677-7026-5759-994d-f8c597c3dee4","name":"Customer not found.","originalRequest":{"url":{"path":["customers",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0fe1b924-1b12-50c5-a44b-4f107f8f7985","name":"Internal server error.","originalRequest":{"url":{"path":["customers",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4ee3d041-f329-51bf-a070-e017174411c9","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["customers",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"5794e7e4-5bdb-5ed4-be6a-2bf05a8a6a2e","name":"Update a customer","request":{"name":"Update a customer","description":{"content":"Updates a customer's default payment method and, optionally, the date of birth and national identification number. `default_source` is required and must be one of this customer's payment methods. Other details (name, email, phone, address, shipping) cannot be changed with this call.","type":"text/plain"},"url":{"path":["customers",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","auth":null,"body":{"mode":"raw","raw":"{\n  \"default_source\": \"pm_card_296645958265997316\",\n  \"dob\": \"1985-07-15\",\n  \"national_identification_number\": \"123-45-6789\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"b70acb3c-1d5c-5c36-aaa8-89c703a394f6","name":"Returns the updated customer object.","originalRequest":{"url":{"path":["customers",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"default_source\": \"pm_card_296645958265997316\",\n  \"dob\": \"1985-07-15\",\n  \"national_identification_number\": \"123-45-6789\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"cust_296645958265997317\",\n  \"resource\": \"customer\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"default_source\": \"pm_card_296645958265997316\",\n  \"email\": \"john.smith@example.com\",\n  \"metadata\": {},\n  \"name\": \"John Smith\",\n  \"phone\": \"+14155551234\",\n  \"reference_id\": \"cust_ext_abc123\",\n  \"address\": {\n    \"city\": \"San Francisco\",\n    \"country\": \"US\",\n    \"line1\": \"123 Main Street\",\n    \"line2\": \"Suite 400\",\n    \"postal_code\": \"94102\",\n    \"state\": \"CA\"\n  },\n  \"shipping\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"phone\": \"+14155551234\"\n  },\n  \"test_mode\": false,\n  \"dob\": \"1985-07-15\",\n  \"national_identification_number\": \"123-45-6789\",\n  \"underlying_identifiers\": {\n    \"stripe\": {\n      \"acct_abc123xyz789\": \"cus_abc123xyz789\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8eaa58f1-0a17-5637-9e2a-fec95d280fde","name":"Invalid request parameters.","originalRequest":{"url":{"path":["customers",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"default_source\": \"pm_card_296645958265997316\",\n  \"dob\": \"1985-07-15\",\n  \"national_identification_number\": \"123-45-6789\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2893145b-1d09-5323-962f-22b3f25e0431","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["customers",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"default_source\": \"pm_card_296645958265997316\",\n  \"dob\": \"1985-07-15\",\n  \"national_identification_number\": \"123-45-6789\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"93f1e9ea-8e1f-5b35-88c3-174ba65300a8","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["customers",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"default_source\": \"pm_card_296645958265997316\",\n  \"dob\": \"1985-07-15\",\n  \"national_identification_number\": \"123-45-6789\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0d70725c-ad6d-5423-bb14-4137e6a9e523","name":"Customer not found.","originalRequest":{"url":{"path":["customers",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"default_source\": \"pm_card_296645958265997316\",\n  \"dob\": \"1985-07-15\",\n  \"national_identification_number\": \"123-45-6789\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"247962f1-b17b-5f72-b9af-1fef48b34960","name":"Internal server error.","originalRequest":{"url":{"path":["customers",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"default_source\": \"pm_card_296645958265997316\",\n  \"dob\": \"1985-07-15\",\n  \"national_identification_number\": \"123-45-6789\"\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"dbae7011-2abe-502b-9d79-03eb0603db3f","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["customers",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"default_source\": \"pm_card_296645958265997316\",\n  \"dob\": \"1985-07-15\",\n  \"national_identification_number\": \"123-45-6789\"\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"02c94a88-16d4-5272-bb35-b59b878e5abd","name":"Delete a customer","request":{"name":"Delete a customer","description":{"content":"Deletes a customer by reference.","type":"text/plain"},"url":{"path":["customers",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":null},"response":[{"id":"25a4310f-0bed-59e4-af5a-304e01f3e0a2","name":"Customer deleted successfully.","originalRequest":{"url":{"path":["customers",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"f3d012ff-5a27-5b54-8a61-95b7bbfc5b64","name":"Invalid request parameters.","originalRequest":{"url":{"path":["customers",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bdf4172d-52a3-5560-979e-32c14dd850aa","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["customers",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3e76c732-046c-5c4d-a051-ec6df2ba2bc2","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["customers",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d6d7550c-8fda-5a64-901c-acb80911b86a","name":"Customer not found.","originalRequest":{"url":{"path":["customers",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c7b3ca45-0d52-5e19-a66d-e29e90397ad8","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["customers",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"42425b0a-b86d-53bb-9276-3502e082327f","name":"Internal server error.","originalRequest":{"url":{"path":["customers",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5deaa53e-5dc2-55ac-8fdf-fb2018c59caf","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["customers",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"aeb71fbc-2255-5780-a192-9471b13dfe01","name":"Update a customer's underlying identifiers map","request":{"name":"Update a customer's underlying identifiers map","description":{"content":"Updates a customer's provider-specific underlying identifiers map by reference. This endpoint applies a partial patch rather than a full replacement. A string value upserts that key, `null` removes it, and keys not present in the request body are left untouched. Requires the underlying identifiers map feature to be enabled for the merchant.","type":"text/plain"},"url":{"path":["customers",":reference_id","underlying_identifiers_map"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","auth":null,"body":{"mode":"raw","raw":"{\n  \"stripe\": {\n    \"acc_1241513515\": \"cust_35262323623\"\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"40ed5572-a662-5be6-90fe-bdb95c57f545","name":"Returns the updated customer object.","originalRequest":{"url":{"path":["customers",":reference_id","underlying_identifiers_map"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"stripe\": {\n    \"acc_1241513515\": \"cust_35262323623\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"cust_296645958265997317\",\n  \"resource\": \"customer\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"default_source\": \"pm_card_296645958265997316\",\n  \"email\": \"john.smith@example.com\",\n  \"metadata\": {},\n  \"name\": \"John Smith\",\n  \"phone\": \"+14155551234\",\n  \"reference_id\": \"cust_ext_abc123\",\n  \"address\": {\n    \"city\": \"San Francisco\",\n    \"country\": \"US\",\n    \"line1\": \"123 Main Street\",\n    \"line2\": \"Suite 400\",\n    \"postal_code\": \"94102\",\n    \"state\": \"CA\"\n  },\n  \"shipping\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"phone\": \"+14155551234\"\n  },\n  \"test_mode\": false,\n  \"dob\": \"1985-07-15\",\n  \"national_identification_number\": \"123-45-6789\",\n  \"underlying_identifiers\": {\n    \"stripe\": {\n      \"acct_abc123xyz789\": \"cus_abc123xyz789\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"914de81f-896a-5bed-9ea3-acf0e78bad9d","name":"Invalid request parameters, or the underlying identifiers map feature is not enabled for this merchant.","originalRequest":{"url":{"path":["customers",":reference_id","underlying_identifiers_map"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"stripe\": {\n    \"acc_1241513515\": \"cust_35262323623\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"23ebd6e6-690d-5796-be7d-6b556b8958d1","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["customers",":reference_id","underlying_identifiers_map"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"stripe\": {\n    \"acc_1241513515\": \"cust_35262323623\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c9a0d728-7270-5a03-867a-a164bddffe12","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["customers",":reference_id","underlying_identifiers_map"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"stripe\": {\n    \"acc_1241513515\": \"cust_35262323623\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b13c76e9-3b44-5d3d-b0d0-1d0ce4d80cec","name":"Customer not found.","originalRequest":{"url":{"path":["customers",":reference_id","underlying_identifiers_map"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"stripe\": {\n    \"acc_1241513515\": \"cust_35262323623\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4008c357-ff3c-5603-8e12-577c42b4a085","name":"Internal server error.","originalRequest":{"url":{"path":["customers",":reference_id","underlying_identifiers_map"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"stripe\": {\n    \"acc_1241513515\": \"cust_35262323623\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"960c9998-4eb5-5ac4-a302-da533c701186","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["customers",":reference_id","underlying_identifiers_map"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"stripe\": {\n    \"acc_1241513515\": \"cust_35262323623\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"afe3c1a5-84f9-5257-82c5-3f447141e58f","name":"List customer payment methods","request":{"name":"List customer payment methods","description":{"content":"Retrieves a list of payment methods for a customer.","type":"text/plain"},"url":{"path":["customers",":reference_id","payment_methods"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"bbc351bb-ccea-5169-a03d-af46c3cd7b3a","name":"Returns a list of payment method objects.","originalRequest":{"url":{"path":["customers",":reference_id","payment_methods"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": \"pm_card_296645958265997316\",\n    \"type\": \"card\",\n    \"resource\": \"payment_method\",\n    \"billing_details\": {\n      \"address\": {\n        \"city\": \"San Francisco\",\n        \"country\": \"US\",\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"postal_code\": \"94102\",\n        \"state\": \"CA\"\n      },\n      \"name\": \"John Smith\",\n      \"email\": \"john.smith@example.com\",\n      \"phone\": \"+14155551234\",\n      \"dob\": \"1985-07-15\",\n      \"national_identification_number\": \"123-45-6789\"\n    },\n    \"status\": \"created\",\n    \"created\": \"2024-01-15T10:30:00Z\",\n    \"metadata\": {\n      \"order_id\": \"12345\",\n      \"source\": \"website\"\n    },\n    \"off_session\": true,\n    \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n    \"risk_assessment_details\": {\n      \"outcome\": \"allow\",\n      \"outcome_source\": \"score\",\n      \"rule_id\": \"rl_296645958265997337\",\n      \"rules_id\": [\n        \"rl_296645958265997337\"\n      ],\n      \"score\": \"31\",\n      \"flags\": [\n        \"no_correlation_history\",\n        \"multiple_identities_billing\",\n        \"multiple_identities_card\",\n        \"free_email_provider\",\n        \"risky_billing_time\",\n        \"velocity_multiple_addresses\",\n        \"velocity_multiple_names\"\n      ]\n    },\n    \"underlying_network_id\": \"123456789012345\",\n    \"underlying_network_details\": {\n      \"network\": \"visa\",\n      \"visa\": {\n        \"arn\": \"74234567890123456789012\",\n        \"auth_code\": \"123456\",\n        \"raw_response_code\": \"00\",\n        \"rrn\": \"123456789012\",\n        \"eci\": \"05\",\n        \"aci\": \"Y\",\n        \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n      }\n    },\n    \"customer\": \"cust_296645958265997317\",\n    \"customer_reference_id\": \"cust_ext_abc123\",\n    \"flow_directions\": {\n      \"payment\": false,\n      \"payout\": true\n    },\n    \"test_mode\": true,\n    \"card\": {\n      \"bin\": \"424242\",\n      \"brand\": \"visa\",\n      \"cardholder_currency\": \"usd\",\n      \"country\": \"US\",\n      \"exp_month\": \"12\",\n      \"exp_year\": \"2028\",\n      \"fingerprint\": \"fp_abc123xyz789\",\n      \"funding\": \"credit\",\n      \"last4\": \"4242\",\n      \"network\": \"visa\",\n      \"category\": \"consumer\",\n      \"security_checks\": {\n        \"address_line1_check\": \"unavailable\",\n        \"address_postal_code_check\": \"unavailable\",\n        \"cvc_check\": \"pass\"\n      },\n      \"wallet\": {\n        \"type\": \"googlepay\",\n        \"googlepay\": {\n          \"type\": \"cryptogram_3ds\",\n          \"physical_card_last4\": \"4242\"\n        },\n        \"applepay\": {\n          \"physical_card_last4\": \"4242\"\n        },\n        \"ctp\": {\n          \"physical_card_last4\": \"string\",\n          \"physical_card_bin\": \"string\",\n          \"physical_card_exp_month\": \"string\",\n          \"physical_card_exp_year\": \"string\"\n        }\n      },\n      \"token\": \"tok_card_296645958265997326\",\n      \"three_d_secure\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"version\": \"2.2.0\",\n        \"eci\": \"05\",\n        \"cardholder_info\": \"string\",\n        \"liability_shift\": true\n      },\n      \"three_ds\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"status_reason\": \"string\",\n        \"protocol_version\": \"2.2.0\",\n        \"eci\": \"02\",\n        \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n        \"liability_shift\": true,\n        \"cardholder_info\": \"string\",\n        \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n        \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n        \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n        \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n        \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n      },\n      \"payout\": \"not_available\",\n      \"name_verification\": \"match\",\n      \"partial_approval\": {\n        \"status\": \"accepted\",\n        \"amount_requested\": 10000,\n        \"amount_authorized\": 7500,\n        \"amount_charged\": 7500,\n        \"product_id\": \"prod_12345\"\n      },\n      \"name\": \"John Smith\",\n      \"issuer\": \"Chase Bank\"\n    },\n    \"paypal\": {\n      \"email\": \"string\",\n      \"firstName\": \"string\",\n      \"lastName\": \"string\"\n    },\n    \"cashapp\": {\n      \"cashtag\": \"$acmecustomer\",\n      \"name\": \"Jenny Rosen\"\n    },\n    \"us_bank_account\": {\n      \"country\": \"string\",\n      \"currency\": \"string\",\n      \"last4\": \"string\",\n      \"account_holder_name\": \"string\",\n      \"account_holder_type\": \"company\",\n      \"routing_number\": \"string\",\n      \"fingerprint\": \"string\",\n      \"bank_name\": \"string\",\n      \"account_type\": \"savings\",\n      \"source\": \"string\"\n    },\n    \"in_bank_account\": {\n      \"country\": \"string\",\n      \"currency\": \"string\",\n      \"last4\": \"string\",\n      \"account_holder_name\": \"string\",\n      \"account_holder_type\": \"individual\",\n      \"routing_number\": \"string\",\n      \"fingerprint\": \"string\",\n      \"bank_name\": \"string\",\n      \"account_type\": \"checking\",\n      \"source\": \"string\"\n    },\n    \"eu_bank_account\": {\n      \"country\": \"string\",\n      \"currency\": \"string\",\n      \"last4\": \"string\",\n      \"account_holder_name\": \"string\",\n      \"account_holder_type\": \"company\",\n      \"routing_number\": \"string\",\n      \"fingerprint\": \"string\",\n      \"bank_name\": \"string\",\n      \"account_type\": \"checking\",\n      \"source\": \"string\"\n    },\n    \"uk_bank_account\": {\n      \"country\": \"string\",\n      \"currency\": \"string\",\n      \"last4\": \"string\",\n      \"account_holder_name\": \"string\",\n      \"account_holder_type\": \"individual\",\n      \"routing_number\": \"string\",\n      \"fingerprint\": \"string\",\n      \"bank_name\": \"string\",\n      \"account_type\": \"checking\",\n      \"source\": \"string\"\n    },\n    \"crypto\": {},\n    \"ecopayz\": {},\n    \"fonix\": {}\n  },\n  {\n    \"id\": \"pm_card_296645958265997316\",\n    \"type\": \"card\",\n    \"resource\": \"payment_method\",\n    \"billing_details\": {\n      \"address\": {\n        \"city\": \"San Francisco\",\n        \"country\": \"US\",\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"postal_code\": \"94102\",\n        \"state\": \"CA\"\n      },\n      \"name\": \"John Smith\",\n      \"email\": \"john.smith@example.com\",\n      \"phone\": \"+14155551234\",\n      \"dob\": \"1985-07-15\",\n      \"national_identification_number\": \"123-45-6789\"\n    },\n    \"status\": \"created\",\n    \"created\": \"2024-01-15T10:30:00Z\",\n    \"metadata\": {\n      \"order_id\": \"12345\",\n      \"source\": \"website\"\n    },\n    \"off_session\": true,\n    \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n    \"risk_assessment_details\": {\n      \"outcome\": \"allow\",\n      \"outcome_source\": \"score\",\n      \"rule_id\": \"rl_296645958265997337\",\n      \"rules_id\": [\n        \"rl_296645958265997337\"\n      ],\n      \"score\": \"31\",\n      \"flags\": [\n        \"no_correlation_history\",\n        \"multiple_identities_billing\",\n        \"multiple_identities_card\",\n        \"free_email_provider\",\n        \"risky_billing_time\",\n        \"velocity_multiple_addresses\",\n        \"velocity_multiple_names\"\n      ]\n    },\n    \"underlying_network_id\": \"123456789012345\",\n    \"underlying_network_details\": {\n      \"network\": \"visa\",\n      \"visa\": {\n        \"arn\": \"74234567890123456789012\",\n        \"auth_code\": \"123456\",\n        \"raw_response_code\": \"00\",\n        \"rrn\": \"123456789012\",\n        \"eci\": \"05\",\n        \"aci\": \"Y\",\n        \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n      }\n    },\n    \"customer\": \"cust_296645958265997317\",\n    \"customer_reference_id\": \"cust_ext_abc123\",\n    \"flow_directions\": {\n      \"payment\": true,\n      \"payout\": true\n    },\n    \"test_mode\": true,\n    \"card\": {\n      \"bin\": \"424242\",\n      \"brand\": \"visa\",\n      \"cardholder_currency\": \"usd\",\n      \"country\": \"US\",\n      \"exp_month\": \"12\",\n      \"exp_year\": \"2028\",\n      \"fingerprint\": \"fp_abc123xyz789\",\n      \"funding\": \"credit\",\n      \"last4\": \"4242\",\n      \"network\": \"visa\",\n      \"category\": \"business\",\n      \"security_checks\": {\n        \"address_line1_check\": \"unavailable\",\n        \"address_postal_code_check\": \"unavailable\",\n        \"cvc_check\": \"pass\"\n      },\n      \"wallet\": {\n        \"type\": \"googlepay\",\n        \"googlepay\": {\n          \"type\": \"cryptogram_3ds\",\n          \"physical_card_last4\": \"4242\"\n        },\n        \"applepay\": {\n          \"physical_card_last4\": \"4242\"\n        },\n        \"ctp\": {\n          \"physical_card_last4\": \"string\",\n          \"physical_card_bin\": \"string\",\n          \"physical_card_exp_month\": \"string\",\n          \"physical_card_exp_year\": \"string\"\n        }\n      },\n      \"token\": \"tok_card_296645958265997326\",\n      \"three_d_secure\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"version\": \"2.2.0\",\n        \"eci\": \"05\",\n        \"cardholder_info\": \"string\",\n        \"liability_shift\": true\n      },\n      \"three_ds\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"status_reason\": \"string\",\n        \"protocol_version\": \"2.2.0\",\n        \"eci\": \"02\",\n        \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n        \"liability_shift\": true,\n        \"cardholder_info\": \"string\",\n        \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n        \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n        \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n        \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n        \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n      },\n      \"payout\": \"not_available\",\n      \"name_verification\": \"match\",\n      \"partial_approval\": {\n        \"status\": \"accepted\",\n        \"amount_requested\": 10000,\n        \"amount_authorized\": 7500,\n        \"amount_charged\": 7500,\n        \"product_id\": \"prod_12345\"\n      },\n      \"name\": \"John Smith\",\n      \"issuer\": \"Chase Bank\"\n    },\n    \"paypal\": {\n      \"email\": \"string\",\n      \"firstName\": \"string\",\n      \"lastName\": \"string\"\n    },\n    \"cashapp\": {\n      \"cashtag\": \"$acmecustomer\",\n      \"name\": \"Jenny Rosen\"\n    },\n    \"us_bank_account\": {\n      \"country\": \"string\",\n      \"currency\": \"string\",\n      \"last4\": \"string\",\n      \"account_holder_name\": \"string\",\n      \"account_holder_type\": \"individual\",\n      \"routing_number\": \"string\",\n      \"fingerprint\": \"string\",\n      \"bank_name\": \"string\",\n      \"account_type\": \"savings\",\n      \"source\": \"string\"\n    },\n    \"in_bank_account\": {\n      \"country\": \"string\",\n      \"currency\": \"string\",\n      \"last4\": \"string\",\n      \"account_holder_name\": \"string\",\n      \"account_holder_type\": \"company\",\n      \"routing_number\": \"string\",\n      \"fingerprint\": \"string\",\n      \"bank_name\": \"string\",\n      \"account_type\": \"checking\",\n      \"source\": \"string\"\n    },\n    \"eu_bank_account\": {\n      \"country\": \"string\",\n      \"currency\": \"string\",\n      \"last4\": \"string\",\n      \"account_holder_name\": \"string\",\n      \"account_holder_type\": \"company\",\n      \"routing_number\": \"string\",\n      \"fingerprint\": \"string\",\n      \"bank_name\": \"string\",\n      \"account_type\": \"checking\",\n      \"source\": \"string\"\n    },\n    \"uk_bank_account\": {\n      \"country\": \"string\",\n      \"currency\": \"string\",\n      \"last4\": \"string\",\n      \"account_holder_name\": \"string\",\n      \"account_holder_type\": \"individual\",\n      \"routing_number\": \"string\",\n      \"fingerprint\": \"string\",\n      \"bank_name\": \"string\",\n      \"account_type\": \"savings\",\n      \"source\": \"string\"\n    },\n    \"crypto\": {},\n    \"ecopayz\": {},\n    \"fonix\": {}\n  }\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"a6de227e-5efe-5cc1-af70-7b695d96e3a6","name":"Invalid request parameters.","originalRequest":{"url":{"path":["customers",":reference_id","payment_methods"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d1c23f77-20f0-5ca5-8657-8d9b185aab3f","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["customers",":reference_id","payment_methods"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a1e4cc93-2950-57aa-be21-fa22a02c621a","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["customers",":reference_id","payment_methods"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f94639a0-1b04-5c95-a3cc-cffceb0b4d59","name":"Customer not found.","originalRequest":{"url":{"path":["customers",":reference_id","payment_methods"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"072e547f-b33e-58f3-8576-c7fc47b51d28","name":"Internal server error.","originalRequest":{"url":{"path":["customers",":reference_id","payment_methods"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"05098dc2-e8d6-54d0-a0a7-13b9cb710e6a","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["customers",":reference_id","payment_methods"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_ext_abc123","key":"reference_id","description":"(Required) Your unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"e4209a50-d5bb-5526-93f0-63a8c8670149","name":"Disputes","description":{"content":"Handle chargebacks and disputes, submit evidence, and track dispute resolution status.","type":"text/plain"},"item":[{"id":"5a927d15-583c-5d03-9289-bddcdc1ae130","name":"List disputes","request":{"name":"List disputes","description":{"content":"Returns a list of disputes, sorted by creation time, oldest first.\n\nOnly one list query per merchant can run at a time; a concurrent query returns 429.","type":"text/plain"},"url":{"path":["disputes"],"host":["{{pay_base_url}}"],"query":[{"disabled":false,"key":"created.greater_than","value":"2024-10-10T00:00:00Z","description":"Return objects created after this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.greater_than_or_equals`."},{"disabled":false,"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z","description":"Return objects created on or after this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.greater_than`."},{"disabled":false,"key":"created.less_than","value":"2024-10-10T00:00:00Z","description":"Return objects created before this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.less_than_or_equals`."},{"disabled":false,"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z","description":"Return objects created on or before this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.less_than`."},{"disabled":false,"key":"limit","value":"10","description":"Maximum number of objects to return. Defaults to 10."},{"disabled":false,"key":"starting_after","value":"string","description":"A cursor for pagination. Returns objects created after the object with this ID. Must be the ID of an object of the type being listed (for example a `chrg_` ID when listing charges); other IDs return 400. Lists are sorted by creation time, oldest first. Mutually exclusive with `ending_before`."},{"disabled":false,"key":"ending_before","value":"string","description":"A cursor for pagination. Returns objects created before the object with this ID. Must be the ID of an object of the type being listed (for example a `chrg_` ID when listing charges); other IDs return 400. Lists are sorted by creation time, oldest first. Mutually exclusive with `starting_after`."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"cfafa71a-49d4-5de2-b5f0-a9067d12207f","name":"Returns a list of dispute objects.","originalRequest":{"url":{"path":["disputes"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"starting_after","value":"string"},{"key":"ending_before","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"data\": [\n    {\n      \"id\": \"dspt_296645958265997320\",\n      \"resource\": \"dispute\",\n      \"amount\": 10000,\n      \"amount_human_readable\": \"100.00\",\n      \"currency\": \"usd\",\n      \"reason\": \"fraud\",\n      \"reason_code\": \"10.4\",\n      \"status\": \"open\",\n      \"charge\": \"chrg_296645958265997312\",\n      \"charge_reference\": \"order_12345\",\n      \"charge_details\": {\n        \"id\": \"chrg_296645958265997312\",\n        \"resource\": \"charge\",\n        \"amount\": 10000,\n        \"amount_human_readable\": \"100.00\",\n        \"amount_refunded\": 0,\n        \"billing_details\": {\n          \"address\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"name\": \"John Smith\",\n          \"email\": \"john.smith@example.com\",\n          \"phone\": \"+14155551234\",\n          \"dob\": \"1985-07-15\",\n          \"national_identification_number\": \"123-45-6789\"\n        },\n        \"calculated_statement_descriptor\": \"ACME * ACME STORE\",\n        \"created\": \"2024-01-15T10:30:00Z\",\n        \"currency\": \"usd\",\n        \"customer\": \"cust_296645958265997317\",\n        \"customer_reference_id\": \"cust_ext_abc123\",\n        \"cashflow_transaction\": \"cflw_tx_296645958265997312\",\n        \"description\": \"Payment for Order #12345\",\n        \"disputed\": false,\n        \"failure_code\": \"string\",\n        \"failure_message\": \"string\",\n        \"metadata\": {},\n        \"paid\": true,\n        \"payment_session\": \"ps_296645958265997318\",\n        \"hold\": \"string\",\n        \"payment_method\": \"pm_card_296645958265997316\",\n        \"fraud\": false,\n        \"retry_attempts\": [\n          {\n            \"id\": \"rtratt_296645958265997312_1_1\",\n            \"created\": \"2024-01-15T10:30:00Z\",\n            \"type\": \"fallback\",\n            \"failure_code\": \"card_declined\",\n            \"failure_message\": \"The card was declined.\",\n            \"underlying_network_details\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"underlying_network_id\": \"74234567890123456789012\",\n            \"underlying_processing_details\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"payment_method_options\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          {\n            \"id\": \"rtratt_296645958265997312_1_1\",\n            \"created\": \"2024-01-15T10:30:00Z\",\n            \"type\": \"fallback\",\n            \"failure_code\": \"card_declined\",\n            \"failure_message\": \"The card was declined.\",\n            \"underlying_network_details\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"underlying_network_id\": \"74234567890123456789012\",\n            \"underlying_processing_details\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"payment_method_options\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          }\n        ],\n        \"payment_method_details\": {\n          \"type\": \"card\",\n          \"card\": {\n            \"bin\": \"424242\",\n            \"brand\": \"visa\",\n            \"cardholder_currency\": \"usd\",\n            \"country\": \"US\",\n            \"exp_month\": \"12\",\n            \"exp_year\": \"2028\",\n            \"fingerprint\": \"fp_abc123xyz789\",\n            \"funding\": \"debit\",\n            \"last4\": \"4242\",\n            \"network\": \"visa\",\n            \"category\": \"consumer\",\n            \"security_checks\": {\n              \"address_line1_check\": \"unavailable\",\n              \"address_postal_code_check\": \"unavailable\",\n              \"cvc_check\": \"pass\"\n            },\n            \"wallet\": null,\n            \"token\": \"tok_card_296645958265997326\",\n            \"three_d_secure\": {\n              \"authentication_flow\": \"challenge\",\n              \"result\": \"success\",\n              \"result_reason\": \"authenticated\",\n              \"version\": \"2.2.0\",\n              \"eci\": \"05\",\n              \"cardholder_info\": null,\n              \"liability_shift\": true\n            },\n            \"three_ds\": {\n              \"authentication_flow\": \"challenge\",\n              \"result\": \"success\",\n              \"result_reason\": \"authenticated\",\n              \"status_reason\": null,\n              \"protocol_version\": \"2.2.0\",\n              \"eci\": \"02\",\n              \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n              \"liability_shift\": true,\n              \"cardholder_info\": null,\n              \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n              \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n              \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n              \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n              \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n            },\n            \"payout\": \"not_available\",\n            \"name_verification\": \"match\",\n            \"partial_approval\": {\n              \"status\": \"accepted\",\n              \"amount_requested\": 10000,\n              \"amount_authorized\": 7500,\n              \"amount_charged\": 7500,\n              \"product_id\": \"prod_12345\"\n            },\n            \"name\": \"John Smith\",\n            \"issuer\": \"Chase Bank\"\n          },\n          \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n          \"setup_future_usage\": \"on_session\"\n        },\n        \"payment_method_options\": {\n          \"card\": {\n            \"security_checks\": {\n              \"address_line1_check\": true,\n              \"address_postal_code_check\": true,\n              \"cvv_check\": true\n            }\n          }\n        },\n        \"refunded\": true,\n        \"refunds\": {\n          \"data\": [\n            {\n              \"id\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"resource\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"amount\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"amount_human_readable\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"charge\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"created\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"currency\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"customer\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"customer_reference_id\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"metadata\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"reference\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"status\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"failure_code\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"failure_message\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"cashflow_transaction\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"test_mode\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"underlying_network_id\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"underlying_network_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"underlying_processing_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"risk_assessment_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"receipt\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"tax_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            {\n              \"id\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"resource\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"amount\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"amount_human_readable\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"charge\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"created\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"currency\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"customer\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"customer_reference_id\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"metadata\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"reference\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"status\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"failure_code\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"failure_message\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"cashflow_transaction\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"test_mode\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"underlying_network_id\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"underlying_network_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"underlying_processing_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"risk_assessment_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"receipt\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"tax_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            }\n          ],\n          \"url\": \"/v1/charges/chrg_296645958265997312/refunds\"\n        },\n        \"reference\": \"order_12345\",\n        \"shipping\": {\n          \"address\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"name\": \"John Smith\",\n          \"phone\": \"+14155551234\"\n        },\n        \"statement_descriptor_suffix\": \"ACME STORE\",\n        \"status\": \"succeeded_partially\",\n        \"underlying_network_details\": {\n          \"network\": \"visa\",\n          \"visa\": {\n            \"arn\": \"74234567890123456789012\",\n            \"auth_code\": \"123456\",\n            \"raw_response_code\": \"00\",\n            \"rrn\": \"123456789012\",\n            \"eci\": \"05\",\n            \"aci\": \"Y\",\n            \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n          }\n        },\n        \"underlying_network_id\": \"123456789012345\",\n        \"risk_assessment_details\": {\n          \"outcome\": \"allow\",\n          \"outcome_source\": \"score\",\n          \"rule_id\": \"rl_296645958265997337\",\n          \"rules_id\": [\n            \"rl_296645958265997337\"\n          ],\n          \"score\": \"31\",\n          \"flags\": [\n            \"no_correlation_history\",\n            \"multiple_identities_billing\",\n            \"multiple_identities_card\",\n            \"free_email_provider\",\n            \"risky_billing_time\",\n            \"velocity_multiple_addresses\",\n            \"velocity_multiple_names\"\n          ]\n        },\n        \"test_mode\": false,\n        \"receipt\": null,\n        \"underlying_processing_details\": {\n          \"processor\": \"stripe\",\n          \"transaction_id\": \"pi_abc123xyz789\",\n          \"settlement_account\": \"sa_296645958265997349\",\n          \"settlement_account_details\": {\n            \"processor\": \"pay_com\",\n            \"currency\": \"usd\",\n            \"name\": \"Main Settlement Account\",\n            \"entity\": \"ent_296645958265997359\",\n            \"entity_details\": {\n              \"legal_name\": \"ACME Corp\",\n              \"country\": \"US\"\n            }\n          }\n        },\n        \"tax_details\": {\n          \"amount_total\": 825,\n          \"tax_behavior\": \"exclusive\",\n          \"tax_quote\": \"txq_296645958265997339\",\n          \"effective_tax_rate\": \"8.25\",\n          \"tax_transaction\": null\n        }\n      },\n      \"payment_session\": \"ps_296645958265997318\",\n      \"payment_attempt\": \"psatt_296645958265997343_1\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"evidence_required_by\": \"2024-01-25T10:30:00Z\",\n      \"evidences\": {\n        \"url\": \"/v1/disputes/dspt_296645958265997320/evidences\",\n        \"data\": [\n          {\n            \"id\": \"evd_296645958265997321\",\n            \"resource\": \"evidence\",\n            \"type\": \"additional_evidence\",\n            \"files\": [\n              \"doc_296645958265997322\",\n              \"doc_296645958265997322\"\n            ],\n            \"text\": \"The customer signed for the delivery on January 20, 2024.\",\n            \"test_mode\": false\n          },\n          {\n            \"id\": \"evd_296645958265997321\",\n            \"resource\": \"evidence\",\n            \"type\": \"additional_evidence\",\n            \"files\": [\n              \"doc_296645958265997322\",\n              \"doc_296645958265997322\"\n            ],\n            \"text\": \"The customer signed for the delivery on January 20, 2024.\",\n            \"test_mode\": false\n          }\n        ]\n      },\n      \"test_mode\": true,\n      \"metadata\": {},\n      \"chargeback_type\": \"second_chargeback\",\n      \"arn\": \"74234567890123456789012\",\n      \"processor_dispute_id\": \"8204936157\",\n      \"settlement_account\": \"sa_296645958265997349\",\n      \"settlement_account_details\": {\n        \"processor\": \"worldpay\",\n        \"currency\": \"usd\",\n        \"name\": \"Main USD account\",\n        \"entity\": \"ent_296645958265997352\",\n        \"entity_details\": {\n          \"legal_name\": \"Acme Inc.\",\n          \"country\": \"US\"\n        }\n      }\n    },\n    {\n      \"id\": \"dspt_296645958265997320\",\n      \"resource\": \"dispute\",\n      \"amount\": 10000,\n      \"amount_human_readable\": \"100.00\",\n      \"currency\": \"usd\",\n      \"reason\": \"fraud\",\n      \"reason_code\": \"10.4\",\n      \"status\": \"open\",\n      \"charge\": \"chrg_296645958265997312\",\n      \"charge_reference\": \"order_12345\",\n      \"charge_details\": {\n        \"id\": \"chrg_296645958265997312\",\n        \"resource\": \"charge\",\n        \"amount\": 10000,\n        \"amount_human_readable\": \"100.00\",\n        \"amount_refunded\": 0,\n        \"billing_details\": {\n          \"address\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"name\": \"John Smith\",\n          \"email\": \"john.smith@example.com\",\n          \"phone\": \"+14155551234\",\n          \"dob\": \"1985-07-15\",\n          \"national_identification_number\": \"123-45-6789\"\n        },\n        \"calculated_statement_descriptor\": \"ACME * ACME STORE\",\n        \"created\": \"2024-01-15T10:30:00Z\",\n        \"currency\": \"usd\",\n        \"customer\": \"cust_296645958265997317\",\n        \"customer_reference_id\": \"cust_ext_abc123\",\n        \"cashflow_transaction\": \"cflw_tx_296645958265997312\",\n        \"description\": \"Payment for Order #12345\",\n        \"disputed\": true,\n        \"failure_code\": \"string\",\n        \"failure_message\": \"string\",\n        \"metadata\": {},\n        \"paid\": true,\n        \"payment_session\": \"ps_296645958265997318\",\n        \"hold\": \"string\",\n        \"payment_method\": \"pm_card_296645958265997316\",\n        \"fraud\": false,\n        \"retry_attempts\": [\n          {\n            \"id\": \"rtratt_296645958265997312_1_1\",\n            \"created\": \"2024-01-15T10:30:00Z\",\n            \"type\": \"fallback\",\n            \"failure_code\": \"card_declined\",\n            \"failure_message\": \"The card was declined.\",\n            \"underlying_network_details\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"underlying_network_id\": \"74234567890123456789012\",\n            \"underlying_processing_details\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"payment_method_options\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          {\n            \"id\": \"rtratt_296645958265997312_1_1\",\n            \"created\": \"2024-01-15T10:30:00Z\",\n            \"type\": \"fallback\",\n            \"failure_code\": \"card_declined\",\n            \"failure_message\": \"The card was declined.\",\n            \"underlying_network_details\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"underlying_network_id\": \"74234567890123456789012\",\n            \"underlying_processing_details\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"payment_method_options\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          }\n        ],\n        \"payment_method_details\": {\n          \"type\": \"card\",\n          \"card\": {\n            \"bin\": \"424242\",\n            \"brand\": \"visa\",\n            \"cardholder_currency\": \"usd\",\n            \"country\": \"US\",\n            \"exp_month\": \"12\",\n            \"exp_year\": \"2028\",\n            \"fingerprint\": \"fp_abc123xyz789\",\n            \"funding\": \"debit\",\n            \"last4\": \"4242\",\n            \"network\": \"visa\",\n            \"category\": \"consumer\",\n            \"security_checks\": {\n              \"address_line1_check\": \"unavailable\",\n              \"address_postal_code_check\": \"unavailable\",\n              \"cvc_check\": \"pass\"\n            },\n            \"wallet\": null,\n            \"token\": \"tok_card_296645958265997326\",\n            \"three_d_secure\": {\n              \"authentication_flow\": \"challenge\",\n              \"result\": \"success\",\n              \"result_reason\": \"authenticated\",\n              \"version\": \"2.2.0\",\n              \"eci\": \"05\",\n              \"cardholder_info\": null,\n              \"liability_shift\": true\n            },\n            \"three_ds\": {\n              \"authentication_flow\": \"challenge\",\n              \"result\": \"success\",\n              \"result_reason\": \"authenticated\",\n              \"status_reason\": null,\n              \"protocol_version\": \"2.2.0\",\n              \"eci\": \"02\",\n              \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n              \"liability_shift\": true,\n              \"cardholder_info\": null,\n              \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n              \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n              \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n              \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n              \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n            },\n            \"payout\": \"not_available\",\n            \"name_verification\": \"match\",\n            \"partial_approval\": {\n              \"status\": \"accepted\",\n              \"amount_requested\": 10000,\n              \"amount_authorized\": 7500,\n              \"amount_charged\": 7500,\n              \"product_id\": \"prod_12345\"\n            },\n            \"name\": \"John Smith\",\n            \"issuer\": \"Chase Bank\"\n          },\n          \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n          \"setup_future_usage\": \"on_session\"\n        },\n        \"payment_method_options\": {\n          \"card\": {\n            \"security_checks\": {\n              \"address_line1_check\": true,\n              \"address_postal_code_check\": true,\n              \"cvv_check\": true\n            }\n          }\n        },\n        \"refunded\": true,\n        \"refunds\": {\n          \"data\": [\n            {\n              \"id\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"resource\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"amount\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"amount_human_readable\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"charge\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"created\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"currency\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"customer\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"customer_reference_id\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"metadata\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"reference\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"status\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"failure_code\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"failure_message\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"cashflow_transaction\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"test_mode\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"underlying_network_id\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"underlying_network_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"underlying_processing_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"risk_assessment_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"receipt\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"tax_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            {\n              \"id\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"resource\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"amount\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"amount_human_readable\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"charge\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"created\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"currency\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"customer\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"customer_reference_id\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"metadata\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"reference\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"status\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"failure_code\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"failure_message\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"cashflow_transaction\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"test_mode\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"underlying_network_id\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"underlying_network_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"underlying_processing_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"risk_assessment_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"receipt\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"tax_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            }\n          ],\n          \"url\": \"/v1/charges/chrg_296645958265997312/refunds\"\n        },\n        \"reference\": \"order_12345\",\n        \"shipping\": {\n          \"address\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"name\": \"John Smith\",\n          \"phone\": \"+14155551234\"\n        },\n        \"statement_descriptor_suffix\": \"ACME STORE\",\n        \"status\": \"blocked\",\n        \"underlying_network_details\": {\n          \"network\": \"visa\",\n          \"visa\": {\n            \"arn\": \"74234567890123456789012\",\n            \"auth_code\": \"123456\",\n            \"raw_response_code\": \"00\",\n            \"rrn\": \"123456789012\",\n            \"eci\": \"05\",\n            \"aci\": \"Y\",\n            \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n          }\n        },\n        \"underlying_network_id\": \"123456789012345\",\n        \"risk_assessment_details\": {\n          \"outcome\": \"allow\",\n          \"outcome_source\": \"score\",\n          \"rule_id\": \"rl_296645958265997337\",\n          \"rules_id\": [\n            \"rl_296645958265997337\"\n          ],\n          \"score\": \"31\",\n          \"flags\": [\n            \"no_correlation_history\",\n            \"multiple_identities_billing\",\n            \"multiple_identities_card\",\n            \"free_email_provider\",\n            \"risky_billing_time\",\n            \"velocity_multiple_addresses\",\n            \"velocity_multiple_names\"\n          ]\n        },\n        \"test_mode\": true,\n        \"receipt\": null,\n        \"underlying_processing_details\": {\n          \"processor\": \"stripe\",\n          \"transaction_id\": \"pi_abc123xyz789\",\n          \"settlement_account\": \"sa_296645958265997349\",\n          \"settlement_account_details\": {\n            \"processor\": \"pay_com\",\n            \"currency\": \"usd\",\n            \"name\": \"Main Settlement Account\",\n            \"entity\": \"ent_296645958265997359\",\n            \"entity_details\": {\n              \"legal_name\": \"ACME Corp\",\n              \"country\": \"US\"\n            }\n          }\n        },\n        \"tax_details\": {\n          \"amount_total\": 825,\n          \"tax_behavior\": \"exclusive\",\n          \"tax_quote\": \"txq_296645958265997339\",\n          \"effective_tax_rate\": \"8.25\",\n          \"tax_transaction\": null\n        }\n      },\n      \"payment_session\": \"ps_296645958265997318\",\n      \"payment_attempt\": \"psatt_296645958265997343_1\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"evidence_required_by\": \"2024-01-25T10:30:00Z\",\n      \"evidences\": {\n        \"url\": \"/v1/disputes/dspt_296645958265997320/evidences\",\n        \"data\": [\n          {\n            \"id\": \"evd_296645958265997321\",\n            \"resource\": \"evidence\",\n            \"type\": \"additional_evidence\",\n            \"files\": [\n              \"doc_296645958265997322\",\n              \"doc_296645958265997322\"\n            ],\n            \"text\": \"The customer signed for the delivery on January 20, 2024.\",\n            \"test_mode\": false\n          },\n          {\n            \"id\": \"evd_296645958265997321\",\n            \"resource\": \"evidence\",\n            \"type\": \"additional_evidence\",\n            \"files\": [\n              \"doc_296645958265997322\",\n              \"doc_296645958265997322\"\n            ],\n            \"text\": \"The customer signed for the delivery on January 20, 2024.\",\n            \"test_mode\": false\n          }\n        ]\n      },\n      \"test_mode\": false,\n      \"metadata\": {},\n      \"chargeback_type\": \"second_representment\",\n      \"arn\": \"74234567890123456789012\",\n      \"processor_dispute_id\": \"8204936157\",\n      \"settlement_account\": \"sa_296645958265997349\",\n      \"settlement_account_details\": {\n        \"processor\": \"worldpay\",\n        \"currency\": \"usd\",\n        \"name\": \"Main USD account\",\n        \"entity\": \"ent_296645958265997352\",\n        \"entity_details\": {\n          \"legal_name\": \"Acme Inc.\",\n          \"country\": \"US\"\n        }\n      }\n    }\n  ],\n  \"resource\": \"disputes\",\n  \"has_more\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6c32aead-fea7-545e-a4ed-81b138fc3acb","name":"Invalid request parameters.","originalRequest":{"url":{"path":["disputes"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"starting_after","value":"string"},{"key":"ending_before","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9927abbb-1d78-5bdf-b0dc-a4f30f2ae05a","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["disputes"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"starting_after","value":"string"},{"key":"ending_before","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"54b0b61d-6a1b-5b2e-bb4d-67f270ace491","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["disputes"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"starting_after","value":"string"},{"key":"ending_before","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e9c0bc2a-51e0-5ec4-ab7d-5d494d70c597","name":"Another list query is already running for the merchant. Retry after the number of seconds in the `Retry-After` header.","originalRequest":{"url":{"path":["disputes"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"starting_after","value":"string"},{"key":"ending_before","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"disabled":false,"description":"Number of seconds to wait before retrying.","key":"Retry-After","value":"1"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Only one bulk query per merchant can run at a time. Retry after the current query completes.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"46468d14-4943-5ab2-9b7a-5d863e828d54","name":"Internal server error.","originalRequest":{"url":{"path":["disputes"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"starting_after","value":"string"},{"key":"ending_before","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b9052352-7248-5fd3-bc29-6cacd13bea56","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["disputes"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"starting_after","value":"string"},{"key":"ending_before","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"d6fb9f1b-a4d1-5b44-9562-941a977aad1b","name":"Retrieve a dispute","request":{"name":"Retrieve a dispute","description":{"content":"Retrieves the details of a dispute.","type":"text/plain"},"url":{"path":["disputes",":dispute_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"22d32169-8fa8-5fc0-a73b-be88cf01d2f8","name":"Returns the dispute object.","originalRequest":{"url":{"path":["disputes",":dispute_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"dspt_296645958265997320\",\n  \"resource\": \"dispute\",\n  \"amount\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"currency\": \"usd\",\n  \"reason\": \"fraud\",\n  \"reason_code\": \"10.4\",\n  \"status\": \"open\",\n  \"charge\": \"chrg_296645958265997312\",\n  \"charge_reference\": \"order_12345\",\n  \"charge_details\": {\n    \"id\": \"chrg_296645958265997312\",\n    \"resource\": \"charge\",\n    \"amount\": 10000,\n    \"amount_human_readable\": \"100.00\",\n    \"amount_refunded\": 0,\n    \"billing_details\": {\n      \"address\": {\n        \"city\": \"San Francisco\",\n        \"country\": \"US\",\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"postal_code\": \"94102\",\n        \"state\": \"CA\"\n      },\n      \"name\": \"John Smith\",\n      \"email\": \"john.smith@example.com\",\n      \"phone\": \"+14155551234\",\n      \"dob\": \"1985-07-15\",\n      \"national_identification_number\": \"123-45-6789\"\n    },\n    \"calculated_statement_descriptor\": \"ACME * ACME STORE\",\n    \"created\": \"2024-01-15T10:30:00Z\",\n    \"currency\": \"usd\",\n    \"customer\": \"cust_296645958265997317\",\n    \"customer_reference_id\": \"cust_ext_abc123\",\n    \"cashflow_transaction\": \"cflw_tx_296645958265997312\",\n    \"description\": \"Payment for Order #12345\",\n    \"disputed\": true,\n    \"failure_code\": \"string\",\n    \"failure_message\": \"string\",\n    \"metadata\": {},\n    \"paid\": true,\n    \"payment_session\": \"ps_296645958265997318\",\n    \"hold\": \"string\",\n    \"payment_method\": \"pm_card_296645958265997316\",\n    \"fraud\": true,\n    \"retry_attempts\": [\n      {\n        \"id\": \"rtratt_296645958265997312_1_1\",\n        \"created\": \"2024-01-15T10:30:00Z\",\n        \"type\": \"fallback\",\n        \"failure_code\": \"card_declined\",\n        \"failure_message\": \"The card was declined.\",\n        \"underlying_network_details\": {\n          \"network\": \"visa\",\n          \"visa\": {\n            \"arn\": \"74234567890123456789012\",\n            \"auth_code\": \"123456\",\n            \"raw_response_code\": \"00\",\n            \"rrn\": \"123456789012\",\n            \"eci\": \"05\",\n            \"aci\": \"Y\",\n            \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n          }\n        },\n        \"underlying_network_id\": \"74234567890123456789012\",\n        \"underlying_processing_details\": {\n          \"processor\": \"stripe\",\n          \"transaction_id\": \"pi_abc123xyz789\",\n          \"settlement_account\": \"sa_296645958265997349\",\n          \"settlement_account_details\": {\n            \"processor\": \"pay_com\",\n            \"currency\": \"usd\",\n            \"name\": \"Main Settlement Account\",\n            \"entity\": \"ent_296645958265997359\",\n            \"entity_details\": {\n              \"legal_name\": \"ACME Corp\",\n              \"country\": \"US\"\n            }\n          }\n        },\n        \"payment_method_options\": {\n          \"card\": {\n            \"security_checks\": {\n              \"address_line1_check\": true,\n              \"address_postal_code_check\": true,\n              \"cvv_check\": true\n            }\n          }\n        }\n      },\n      {\n        \"id\": \"rtratt_296645958265997312_1_1\",\n        \"created\": \"2024-01-15T10:30:00Z\",\n        \"type\": \"fallback\",\n        \"failure_code\": \"card_declined\",\n        \"failure_message\": \"The card was declined.\",\n        \"underlying_network_details\": {\n          \"network\": \"visa\",\n          \"visa\": {\n            \"arn\": \"74234567890123456789012\",\n            \"auth_code\": \"123456\",\n            \"raw_response_code\": \"00\",\n            \"rrn\": \"123456789012\",\n            \"eci\": \"05\",\n            \"aci\": \"Y\",\n            \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n          }\n        },\n        \"underlying_network_id\": \"74234567890123456789012\",\n        \"underlying_processing_details\": {\n          \"processor\": \"stripe\",\n          \"transaction_id\": \"pi_abc123xyz789\",\n          \"settlement_account\": \"sa_296645958265997349\",\n          \"settlement_account_details\": {\n            \"processor\": \"pay_com\",\n            \"currency\": \"usd\",\n            \"name\": \"Main Settlement Account\",\n            \"entity\": \"ent_296645958265997359\",\n            \"entity_details\": {\n              \"legal_name\": \"ACME Corp\",\n              \"country\": \"US\"\n            }\n          }\n        },\n        \"payment_method_options\": {\n          \"card\": {\n            \"security_checks\": {\n              \"address_line1_check\": true,\n              \"address_postal_code_check\": true,\n              \"cvv_check\": true\n            }\n          }\n        }\n      }\n    ],\n    \"payment_method_details\": {\n      \"type\": \"card\",\n      \"card\": {\n        \"bin\": \"424242\",\n        \"brand\": \"visa\",\n        \"cardholder_currency\": \"usd\",\n        \"country\": \"US\",\n        \"exp_month\": \"12\",\n        \"exp_year\": \"2028\",\n        \"fingerprint\": \"fp_abc123xyz789\",\n        \"funding\": \"debit\",\n        \"last4\": \"4242\",\n        \"network\": \"visa\",\n        \"category\": \"consumer\",\n        \"security_checks\": {\n          \"address_line1_check\": \"unavailable\",\n          \"address_postal_code_check\": \"unavailable\",\n          \"cvc_check\": \"pass\"\n        },\n        \"wallet\": {\n          \"type\": \"googlepay\",\n          \"googlepay\": {\n            \"type\": \"cryptogram_3ds\",\n            \"physical_card_last4\": \"4242\"\n          },\n          \"applepay\": {\n            \"physical_card_last4\": \"4242\"\n          },\n          \"ctp\": {\n            \"physical_card_last4\": \"string\",\n            \"physical_card_bin\": \"string\",\n            \"physical_card_exp_month\": \"string\",\n            \"physical_card_exp_year\": \"string\"\n          }\n        },\n        \"token\": \"tok_card_296645958265997326\",\n        \"three_d_secure\": {\n          \"authentication_flow\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"result\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"result_reason\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"version\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"eci\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"cardholder_info\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"liability_shift\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          }\n        },\n        \"three_ds\": {\n          \"authentication_flow\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"result\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"result_reason\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"status_reason\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"protocol_version\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"eci\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"cryptogram\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"liability_shift\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"cardholder_info\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"acs_transaction_id\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"three_ds_server_transaction_id\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"ds_transaction_id\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"ares\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"rreq\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          }\n        },\n        \"payout\": \"not_available\",\n        \"name_verification\": \"match\",\n        \"partial_approval\": {\n          \"status\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"amount_requested\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"amount_authorized\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"amount_charged\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"product_id\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          }\n        },\n        \"name\": \"John Smith\",\n        \"issuer\": \"Chase Bank\"\n      },\n      \"cashapp\": {\n        \"cashtag\": \"$acmecustomer\",\n        \"name\": \"Jenny Rosen\"\n      },\n      \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n      \"setup_future_usage\": \"on_session\"\n    },\n    \"payment_method_options\": {\n      \"card\": {\n        \"security_checks\": {\n          \"address_line1_check\": true,\n          \"address_postal_code_check\": true,\n          \"cvv_check\": true\n        }\n      }\n    },\n    \"refunded\": false,\n    \"refunds\": {\n      \"data\": [\n        {\n          \"id\": \"rfnd_296645958265997314\",\n          \"resource\": \"refund\",\n          \"amount\": 10000,\n          \"amount_human_readable\": \"100.00\",\n          \"charge\": \"chrg_296645958265997312\",\n          \"created\": \"2024-01-15T10:30:00Z\",\n          \"currency\": \"usd\",\n          \"customer\": \"cust_296645958265997317\",\n          \"customer_reference_id\": \"cust_ext_abc123\",\n          \"metadata\": {},\n          \"reference\": \"refund_order_12345\",\n          \"status\": \"succeeded\",\n          \"failure_code\": \"string\",\n          \"failure_message\": \"string\",\n          \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n          \"test_mode\": false,\n          \"underlying_network_id\": \"123456789012345\",\n          \"underlying_network_details\": {\n            \"network\": \"visa\",\n            \"visa\": {\n              \"arn\": \"74234567890123456789012\",\n              \"auth_code\": \"123456\",\n              \"raw_response_code\": \"00\",\n              \"rrn\": \"123456789012\",\n              \"eci\": \"05\",\n              \"aci\": \"Y\",\n              \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n            }\n          },\n          \"underlying_processing_details\": {\n            \"processor\": \"stripe\",\n            \"transaction_id\": \"pi_abc123xyz789\",\n            \"settlement_account\": \"sa_296645958265997349\",\n            \"settlement_account_details\": {\n              \"processor\": \"pay_com\",\n              \"currency\": \"usd\",\n              \"name\": \"Main Settlement Account\",\n              \"entity\": \"ent_296645958265997359\",\n              \"entity_details\": {\n                \"legal_name\": \"ACME Corp\",\n                \"country\": \"US\"\n              }\n            }\n          },\n          \"risk_assessment_details\": {\n            \"outcome\": \"allow\",\n            \"outcome_source\": \"score\",\n            \"score\": \"31\",\n            \"flags\": [\n              \"no_correlation_history\",\n              \"multiple_identities_billing\",\n              \"multiple_identities_card\",\n              \"free_email_provider\",\n              \"risky_billing_time\",\n              \"velocity_multiple_addresses\",\n              \"velocity_multiple_names\"\n            ],\n            \"bypassed\": [],\n            \"simulated\": []\n          },\n          \"receipt\": null,\n          \"tax_details\": {\n            \"amount_total\": 825,\n            \"tax_behavior\": \"exclusive\",\n            \"tax_quote\": \"txq_296645958265997339\",\n            \"effective_tax_rate\": \"8.25\",\n            \"tax_transaction\": null\n          }\n        },\n        {\n          \"id\": \"rfnd_296645958265997314\",\n          \"resource\": \"refund\",\n          \"amount\": 10000,\n          \"amount_human_readable\": \"100.00\",\n          \"charge\": \"chrg_296645958265997312\",\n          \"created\": \"2024-01-15T10:30:00Z\",\n          \"currency\": \"usd\",\n          \"customer\": \"cust_296645958265997317\",\n          \"customer_reference_id\": \"cust_ext_abc123\",\n          \"metadata\": {},\n          \"reference\": \"refund_order_12345\",\n          \"status\": \"succeeded\",\n          \"failure_code\": \"string\",\n          \"failure_message\": \"string\",\n          \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n          \"test_mode\": false,\n          \"underlying_network_id\": \"123456789012345\",\n          \"underlying_network_details\": {\n            \"network\": \"visa\",\n            \"visa\": {\n              \"arn\": \"74234567890123456789012\",\n              \"auth_code\": \"123456\",\n              \"raw_response_code\": \"00\",\n              \"rrn\": \"123456789012\",\n              \"eci\": \"05\",\n              \"aci\": \"Y\",\n              \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n            }\n          },\n          \"underlying_processing_details\": {\n            \"processor\": \"stripe\",\n            \"transaction_id\": \"pi_abc123xyz789\",\n            \"settlement_account\": \"sa_296645958265997349\",\n            \"settlement_account_details\": {\n              \"processor\": \"pay_com\",\n              \"currency\": \"usd\",\n              \"name\": \"Main Settlement Account\",\n              \"entity\": \"ent_296645958265997359\",\n              \"entity_details\": {\n                \"legal_name\": \"ACME Corp\",\n                \"country\": \"US\"\n              }\n            }\n          },\n          \"risk_assessment_details\": {\n            \"outcome\": \"allow\",\n            \"outcome_source\": \"score\",\n            \"score\": \"31\",\n            \"flags\": [\n              \"no_correlation_history\",\n              \"multiple_identities_billing\",\n              \"multiple_identities_card\",\n              \"free_email_provider\",\n              \"risky_billing_time\",\n              \"velocity_multiple_addresses\",\n              \"velocity_multiple_names\"\n            ],\n            \"bypassed\": [],\n            \"simulated\": []\n          },\n          \"receipt\": null,\n          \"tax_details\": {\n            \"amount_total\": 825,\n            \"tax_behavior\": \"exclusive\",\n            \"tax_quote\": \"txq_296645958265997339\",\n            \"effective_tax_rate\": \"8.25\",\n            \"tax_transaction\": null\n          }\n        }\n      ],\n      \"url\": \"/v1/charges/chrg_296645958265997312/refunds\"\n    },\n    \"reference\": \"order_12345\",\n    \"shipping\": {\n      \"address\": {\n        \"city\": \"San Francisco\",\n        \"country\": \"US\",\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"postal_code\": \"94102\",\n        \"state\": \"CA\"\n      },\n      \"name\": \"John Smith\",\n      \"phone\": \"+14155551234\"\n    },\n    \"statement_descriptor_suffix\": \"ACME STORE\",\n    \"status\": \"failed\",\n    \"underlying_network_details\": {\n      \"network\": \"visa\",\n      \"visa\": {\n        \"arn\": \"74234567890123456789012\",\n        \"auth_code\": \"123456\",\n        \"raw_response_code\": \"00\",\n        \"rrn\": \"123456789012\",\n        \"eci\": \"05\",\n        \"aci\": \"Y\",\n        \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n      }\n    },\n    \"underlying_network_id\": \"123456789012345\",\n    \"risk_assessment_details\": {\n      \"outcome\": \"allow\",\n      \"outcome_source\": \"score\",\n      \"rule_id\": \"rl_296645958265997337\",\n      \"rules_id\": [\n        \"rl_296645958265997337\"\n      ],\n      \"score\": \"31\",\n      \"flags\": [\n        \"no_correlation_history\",\n        \"multiple_identities_billing\",\n        \"multiple_identities_card\",\n        \"free_email_provider\",\n        \"risky_billing_time\",\n        \"velocity_multiple_addresses\",\n        \"velocity_multiple_names\"\n      ]\n    },\n    \"test_mode\": false,\n    \"receipt\": null,\n    \"underlying_processing_details\": {\n      \"processor\": \"stripe\",\n      \"transaction_id\": \"pi_abc123xyz789\",\n      \"settlement_account\": \"sa_296645958265997349\",\n      \"settlement_account_details\": {\n        \"processor\": \"pay_com\",\n        \"currency\": \"usd\",\n        \"name\": \"Main Settlement Account\",\n        \"entity\": \"ent_296645958265997359\",\n        \"entity_details\": {\n          \"legal_name\": \"ACME Corp\",\n          \"country\": \"US\"\n        }\n      }\n    },\n    \"tax_details\": {\n      \"amount_total\": 825,\n      \"tax_behavior\": \"exclusive\",\n      \"tax_quote\": \"txq_296645958265997339\",\n      \"effective_tax_rate\": \"8.25\",\n      \"tax_transaction\": null\n    }\n  },\n  \"payment_session\": \"ps_296645958265997318\",\n  \"payment_attempt\": \"psatt_296645958265997343_1\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"evidence_required_by\": \"2024-01-25T10:30:00Z\",\n  \"evidences\": {\n    \"url\": \"/v1/disputes/dspt_296645958265997320/evidences\",\n    \"data\": [\n      {\n        \"id\": \"evd_296645958265997321\",\n        \"resource\": \"evidence\",\n        \"type\": \"additional_evidence\",\n        \"files\": [\n          \"doc_296645958265997322\",\n          \"doc_296645958265997322\"\n        ],\n        \"text\": \"The customer signed for the delivery on January 20, 2024.\",\n        \"test_mode\": false\n      },\n      {\n        \"id\": \"evd_296645958265997321\",\n        \"resource\": \"evidence\",\n        \"type\": \"additional_evidence\",\n        \"files\": [\n          \"doc_296645958265997322\",\n          \"doc_296645958265997322\"\n        ],\n        \"text\": \"The customer signed for the delivery on January 20, 2024.\",\n        \"test_mode\": true\n      }\n    ]\n  },\n  \"test_mode\": false,\n  \"metadata\": {},\n  \"chargeback_type\": \"null\",\n  \"arn\": \"74234567890123456789012\",\n  \"processor_dispute_id\": \"8204936157\",\n  \"settlement_account\": \"sa_296645958265997349\",\n  \"settlement_account_details\": {\n    \"processor\": \"worldpay\",\n    \"currency\": \"usd\",\n    \"name\": \"Main USD account\",\n    \"entity\": \"ent_296645958265997352\",\n    \"entity_details\": {\n      \"legal_name\": \"Acme Inc.\",\n      \"country\": \"US\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5fa261ea-f5af-5bb9-99cb-b21ae2dc35da","name":"Invalid request parameters.","originalRequest":{"url":{"path":["disputes",":dispute_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"aac3a9d0-2bf8-5a6f-ba64-53077ef0d52c","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["disputes",":dispute_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b1282a69-8005-5c98-9fb5-ee134d084931","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["disputes",":dispute_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"725dd7c2-020e-50fe-9ffb-8b0989cf9a3f","name":"Dispute not found.","originalRequest":{"url":{"path":["disputes",":dispute_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4bd9b942-370c-5ea1-b3d1-d17ef2c2a615","name":"Internal server error.","originalRequest":{"url":{"path":["disputes",":dispute_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0be47930-7cf1-5c88-a088-349034ae8490","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["disputes",":dispute_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"326005d6-a77f-5ca3-9c7c-6b90b9b99c55","name":"List dispute evidences","request":{"name":"List dispute evidences","description":{"content":"Retrieves all evidence submitted for a specific dispute.","type":"text/plain"},"url":{"path":["disputes",":dispute_id","evidences"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"4c649361-fc8a-5039-8116-103c9a30dfc1","name":"Returns a list of evidence objects.","originalRequest":{"url":{"path":["disputes",":dispute_id","evidences"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": \"evd_296645958265997321\",\n    \"resource\": \"evidence\",\n    \"type\": \"additional_evidence\",\n    \"files\": [\n      \"doc_296645958265997322\",\n      \"doc_296645958265997322\"\n    ],\n    \"text\": \"The customer signed for the delivery on January 20, 2024.\",\n    \"test_mode\": false\n  },\n  {\n    \"id\": \"evd_296645958265997321\",\n    \"resource\": \"evidence\",\n    \"type\": \"additional_evidence\",\n    \"files\": [\n      \"doc_296645958265997322\",\n      \"doc_296645958265997322\"\n    ],\n    \"text\": \"The customer signed for the delivery on January 20, 2024.\",\n    \"test_mode\": false\n  }\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"7c41c0b1-643d-5ed1-91a6-766a15357fb1","name":"Invalid request parameters.","originalRequest":{"url":{"path":["disputes",":dispute_id","evidences"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7fdfed09-b1bd-5586-8ef8-912523ab110b","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["disputes",":dispute_id","evidences"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ef840769-aa49-5d53-bc98-7beddd9bee07","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["disputes",":dispute_id","evidences"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7e4fcadc-9e81-5be7-8167-3c3619127f20","name":"Dispute not found.","originalRequest":{"url":{"path":["disputes",":dispute_id","evidences"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"562e2617-3bd8-567e-a111-cdbb0c2987cb","name":"Internal server error.","originalRequest":{"url":{"path":["disputes",":dispute_id","evidences"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4de6ac25-b5f1-5355-a863-c490d7e49d4c","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["disputes",":dispute_id","evidences"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"1b988f33-c55c-5d16-a5f8-4fe218b71117","name":"Submit dispute evidence","request":{"name":"Submit dispute evidence","description":{"content":"Submits evidence for a dispute: one or more uploaded documents and a text explanation.\n\nThe dispute must be in status `open` or `pre_arbitration`; otherwise the request returns 400. Each document must be a dispute evidence document (see [Create a document](https://docs.pay.com/api-reference/endpoints/documents/create-document)) in status `active`, within the processor's limits (by default 10 MB and 50 pages per document; some processors allow less), otherwise the request returns 400.\n\nEvidence is processed asynchronously. The response is the dispute as it was before processing: `evidences.data` does not yet include the new evidence. Within seconds the evidence appears on the dispute and its status moves to `evidence_under_review`.","type":"text/plain"},"url":{"path":["disputes",":dispute_id","evidences"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"type\": \"invoice_or_receipt\",\n  \"documents\": [\n    \"doc_296645958265997322\"\n  ],\n  \"text\": \"Original receipt showing customer signature.\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"b920ed94-db95-5823-9941-06d5ac0f259b","name":"Returns the dispute object, as it was before the evidence is processed.","originalRequest":{"url":{"path":["disputes",":dispute_id","evidences"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"invoice_or_receipt\",\n  \"documents\": [\n    \"doc_296645958265997322\"\n  ],\n  \"text\": \"Original receipt showing customer signature.\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"dspt_296645958265997320\",\n  \"resource\": \"dispute\",\n  \"amount\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"currency\": \"usd\",\n  \"reason\": \"fraud\",\n  \"reason_code\": \"10.4\",\n  \"status\": \"open\",\n  \"charge\": \"chrg_296645958265997312\",\n  \"charge_reference\": \"order_12345\",\n  \"charge_details\": {\n    \"id\": \"chrg_296645958265997312\",\n    \"resource\": \"charge\",\n    \"amount\": 10000,\n    \"amount_human_readable\": \"100.00\",\n    \"amount_refunded\": 0,\n    \"billing_details\": {\n      \"address\": {\n        \"city\": \"San Francisco\",\n        \"country\": \"US\",\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"postal_code\": \"94102\",\n        \"state\": \"CA\"\n      },\n      \"name\": \"John Smith\",\n      \"email\": \"john.smith@example.com\",\n      \"phone\": \"+14155551234\",\n      \"dob\": \"1985-07-15\",\n      \"national_identification_number\": \"123-45-6789\"\n    },\n    \"calculated_statement_descriptor\": \"ACME * ACME STORE\",\n    \"created\": \"2024-01-15T10:30:00Z\",\n    \"currency\": \"usd\",\n    \"customer\": \"cust_296645958265997317\",\n    \"customer_reference_id\": \"cust_ext_abc123\",\n    \"cashflow_transaction\": \"cflw_tx_296645958265997312\",\n    \"description\": \"Payment for Order #12345\",\n    \"disputed\": true,\n    \"failure_code\": \"string\",\n    \"failure_message\": \"string\",\n    \"metadata\": {},\n    \"paid\": true,\n    \"payment_session\": \"ps_296645958265997318\",\n    \"hold\": \"string\",\n    \"payment_method\": \"pm_card_296645958265997316\",\n    \"fraud\": true,\n    \"retry_attempts\": [\n      {\n        \"id\": \"rtratt_296645958265997312_1_1\",\n        \"created\": \"2024-01-15T10:30:00Z\",\n        \"type\": \"fallback\",\n        \"failure_code\": \"card_declined\",\n        \"failure_message\": \"The card was declined.\",\n        \"underlying_network_details\": {\n          \"network\": \"visa\",\n          \"visa\": {\n            \"arn\": \"74234567890123456789012\",\n            \"auth_code\": \"123456\",\n            \"raw_response_code\": \"00\",\n            \"rrn\": \"123456789012\",\n            \"eci\": \"05\",\n            \"aci\": \"Y\",\n            \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n          }\n        },\n        \"underlying_network_id\": \"74234567890123456789012\",\n        \"underlying_processing_details\": {\n          \"processor\": \"stripe\",\n          \"transaction_id\": \"pi_abc123xyz789\",\n          \"settlement_account\": \"sa_296645958265997349\",\n          \"settlement_account_details\": {\n            \"processor\": \"pay_com\",\n            \"currency\": \"usd\",\n            \"name\": \"Main Settlement Account\",\n            \"entity\": \"ent_296645958265997359\",\n            \"entity_details\": {\n              \"legal_name\": \"ACME Corp\",\n              \"country\": \"US\"\n            }\n          }\n        },\n        \"payment_method_options\": {\n          \"card\": {\n            \"security_checks\": {\n              \"address_line1_check\": true,\n              \"address_postal_code_check\": true,\n              \"cvv_check\": true\n            }\n          }\n        }\n      },\n      {\n        \"id\": \"rtratt_296645958265997312_1_1\",\n        \"created\": \"2024-01-15T10:30:00Z\",\n        \"type\": \"fallback\",\n        \"failure_code\": \"card_declined\",\n        \"failure_message\": \"The card was declined.\",\n        \"underlying_network_details\": {\n          \"network\": \"visa\",\n          \"visa\": {\n            \"arn\": \"74234567890123456789012\",\n            \"auth_code\": \"123456\",\n            \"raw_response_code\": \"00\",\n            \"rrn\": \"123456789012\",\n            \"eci\": \"05\",\n            \"aci\": \"Y\",\n            \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n          }\n        },\n        \"underlying_network_id\": \"74234567890123456789012\",\n        \"underlying_processing_details\": {\n          \"processor\": \"stripe\",\n          \"transaction_id\": \"pi_abc123xyz789\",\n          \"settlement_account\": \"sa_296645958265997349\",\n          \"settlement_account_details\": {\n            \"processor\": \"pay_com\",\n            \"currency\": \"usd\",\n            \"name\": \"Main Settlement Account\",\n            \"entity\": \"ent_296645958265997359\",\n            \"entity_details\": {\n              \"legal_name\": \"ACME Corp\",\n              \"country\": \"US\"\n            }\n          }\n        },\n        \"payment_method_options\": {\n          \"card\": {\n            \"security_checks\": {\n              \"address_line1_check\": true,\n              \"address_postal_code_check\": true,\n              \"cvv_check\": true\n            }\n          }\n        }\n      }\n    ],\n    \"payment_method_details\": {\n      \"type\": \"card\",\n      \"card\": {\n        \"bin\": \"424242\",\n        \"brand\": \"visa\",\n        \"cardholder_currency\": \"usd\",\n        \"country\": \"US\",\n        \"exp_month\": \"12\",\n        \"exp_year\": \"2028\",\n        \"fingerprint\": \"fp_abc123xyz789\",\n        \"funding\": \"debit\",\n        \"last4\": \"4242\",\n        \"network\": \"visa\",\n        \"category\": \"consumer\",\n        \"security_checks\": {\n          \"address_line1_check\": \"unavailable\",\n          \"address_postal_code_check\": \"unavailable\",\n          \"cvc_check\": \"pass\"\n        },\n        \"wallet\": {\n          \"type\": \"googlepay\",\n          \"googlepay\": {\n            \"type\": \"cryptogram_3ds\",\n            \"physical_card_last4\": \"4242\"\n          },\n          \"applepay\": {\n            \"physical_card_last4\": \"4242\"\n          },\n          \"ctp\": {\n            \"physical_card_last4\": \"string\",\n            \"physical_card_bin\": \"string\",\n            \"physical_card_exp_month\": \"string\",\n            \"physical_card_exp_year\": \"string\"\n          }\n        },\n        \"token\": \"tok_card_296645958265997326\",\n        \"three_d_secure\": {\n          \"authentication_flow\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"result\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"result_reason\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"version\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"eci\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"cardholder_info\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"liability_shift\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          }\n        },\n        \"three_ds\": {\n          \"authentication_flow\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"result\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"result_reason\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"status_reason\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"protocol_version\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"eci\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"cryptogram\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"liability_shift\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"cardholder_info\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"acs_transaction_id\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"three_ds_server_transaction_id\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"ds_transaction_id\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"ares\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"rreq\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          }\n        },\n        \"payout\": \"not_available\",\n        \"name_verification\": \"match\",\n        \"partial_approval\": {\n          \"status\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"amount_requested\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"amount_authorized\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"amount_charged\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"product_id\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          }\n        },\n        \"name\": \"John Smith\",\n        \"issuer\": \"Chase Bank\"\n      },\n      \"cashapp\": {\n        \"cashtag\": \"$acmecustomer\",\n        \"name\": \"Jenny Rosen\"\n      },\n      \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n      \"setup_future_usage\": \"on_session\"\n    },\n    \"payment_method_options\": {\n      \"card\": {\n        \"security_checks\": {\n          \"address_line1_check\": true,\n          \"address_postal_code_check\": true,\n          \"cvv_check\": true\n        }\n      }\n    },\n    \"refunded\": false,\n    \"refunds\": {\n      \"data\": [\n        {\n          \"id\": \"rfnd_296645958265997314\",\n          \"resource\": \"refund\",\n          \"amount\": 10000,\n          \"amount_human_readable\": \"100.00\",\n          \"charge\": \"chrg_296645958265997312\",\n          \"created\": \"2024-01-15T10:30:00Z\",\n          \"currency\": \"usd\",\n          \"customer\": \"cust_296645958265997317\",\n          \"customer_reference_id\": \"cust_ext_abc123\",\n          \"metadata\": {},\n          \"reference\": \"refund_order_12345\",\n          \"status\": \"succeeded\",\n          \"failure_code\": \"string\",\n          \"failure_message\": \"string\",\n          \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n          \"test_mode\": false,\n          \"underlying_network_id\": \"123456789012345\",\n          \"underlying_network_details\": {\n            \"network\": \"visa\",\n            \"visa\": {\n              \"arn\": \"74234567890123456789012\",\n              \"auth_code\": \"123456\",\n              \"raw_response_code\": \"00\",\n              \"rrn\": \"123456789012\",\n              \"eci\": \"05\",\n              \"aci\": \"Y\",\n              \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n            }\n          },\n          \"underlying_processing_details\": {\n            \"processor\": \"stripe\",\n            \"transaction_id\": \"pi_abc123xyz789\",\n            \"settlement_account\": \"sa_296645958265997349\",\n            \"settlement_account_details\": {\n              \"processor\": \"pay_com\",\n              \"currency\": \"usd\",\n              \"name\": \"Main Settlement Account\",\n              \"entity\": \"ent_296645958265997359\",\n              \"entity_details\": {\n                \"legal_name\": \"ACME Corp\",\n                \"country\": \"US\"\n              }\n            }\n          },\n          \"risk_assessment_details\": {\n            \"outcome\": \"allow\",\n            \"outcome_source\": \"score\",\n            \"score\": \"31\",\n            \"flags\": [\n              \"no_correlation_history\",\n              \"multiple_identities_billing\",\n              \"multiple_identities_card\",\n              \"free_email_provider\",\n              \"risky_billing_time\",\n              \"velocity_multiple_addresses\",\n              \"velocity_multiple_names\"\n            ],\n            \"bypassed\": [],\n            \"simulated\": []\n          },\n          \"receipt\": null,\n          \"tax_details\": {\n            \"amount_total\": 825,\n            \"tax_behavior\": \"exclusive\",\n            \"tax_quote\": \"txq_296645958265997339\",\n            \"effective_tax_rate\": \"8.25\",\n            \"tax_transaction\": null\n          }\n        },\n        {\n          \"id\": \"rfnd_296645958265997314\",\n          \"resource\": \"refund\",\n          \"amount\": 10000,\n          \"amount_human_readable\": \"100.00\",\n          \"charge\": \"chrg_296645958265997312\",\n          \"created\": \"2024-01-15T10:30:00Z\",\n          \"currency\": \"usd\",\n          \"customer\": \"cust_296645958265997317\",\n          \"customer_reference_id\": \"cust_ext_abc123\",\n          \"metadata\": {},\n          \"reference\": \"refund_order_12345\",\n          \"status\": \"succeeded\",\n          \"failure_code\": \"string\",\n          \"failure_message\": \"string\",\n          \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n          \"test_mode\": false,\n          \"underlying_network_id\": \"123456789012345\",\n          \"underlying_network_details\": {\n            \"network\": \"visa\",\n            \"visa\": {\n              \"arn\": \"74234567890123456789012\",\n              \"auth_code\": \"123456\",\n              \"raw_response_code\": \"00\",\n              \"rrn\": \"123456789012\",\n              \"eci\": \"05\",\n              \"aci\": \"Y\",\n              \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n            }\n          },\n          \"underlying_processing_details\": {\n            \"processor\": \"stripe\",\n            \"transaction_id\": \"pi_abc123xyz789\",\n            \"settlement_account\": \"sa_296645958265997349\",\n            \"settlement_account_details\": {\n              \"processor\": \"pay_com\",\n              \"currency\": \"usd\",\n              \"name\": \"Main Settlement Account\",\n              \"entity\": \"ent_296645958265997359\",\n              \"entity_details\": {\n                \"legal_name\": \"ACME Corp\",\n                \"country\": \"US\"\n              }\n            }\n          },\n          \"risk_assessment_details\": {\n            \"outcome\": \"allow\",\n            \"outcome_source\": \"score\",\n            \"score\": \"31\",\n            \"flags\": [\n              \"no_correlation_history\",\n              \"multiple_identities_billing\",\n              \"multiple_identities_card\",\n              \"free_email_provider\",\n              \"risky_billing_time\",\n              \"velocity_multiple_addresses\",\n              \"velocity_multiple_names\"\n            ],\n            \"bypassed\": [],\n            \"simulated\": []\n          },\n          \"receipt\": null,\n          \"tax_details\": {\n            \"amount_total\": 825,\n            \"tax_behavior\": \"exclusive\",\n            \"tax_quote\": \"txq_296645958265997339\",\n            \"effective_tax_rate\": \"8.25\",\n            \"tax_transaction\": null\n          }\n        }\n      ],\n      \"url\": \"/v1/charges/chrg_296645958265997312/refunds\"\n    },\n    \"reference\": \"order_12345\",\n    \"shipping\": {\n      \"address\": {\n        \"city\": \"San Francisco\",\n        \"country\": \"US\",\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"postal_code\": \"94102\",\n        \"state\": \"CA\"\n      },\n      \"name\": \"John Smith\",\n      \"phone\": \"+14155551234\"\n    },\n    \"statement_descriptor_suffix\": \"ACME STORE\",\n    \"status\": \"failed\",\n    \"underlying_network_details\": {\n      \"network\": \"visa\",\n      \"visa\": {\n        \"arn\": \"74234567890123456789012\",\n        \"auth_code\": \"123456\",\n        \"raw_response_code\": \"00\",\n        \"rrn\": \"123456789012\",\n        \"eci\": \"05\",\n        \"aci\": \"Y\",\n        \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n      }\n    },\n    \"underlying_network_id\": \"123456789012345\",\n    \"risk_assessment_details\": {\n      \"outcome\": \"allow\",\n      \"outcome_source\": \"score\",\n      \"rule_id\": \"rl_296645958265997337\",\n      \"rules_id\": [\n        \"rl_296645958265997337\"\n      ],\n      \"score\": \"31\",\n      \"flags\": [\n        \"no_correlation_history\",\n        \"multiple_identities_billing\",\n        \"multiple_identities_card\",\n        \"free_email_provider\",\n        \"risky_billing_time\",\n        \"velocity_multiple_addresses\",\n        \"velocity_multiple_names\"\n      ]\n    },\n    \"test_mode\": false,\n    \"receipt\": null,\n    \"underlying_processing_details\": {\n      \"processor\": \"stripe\",\n      \"transaction_id\": \"pi_abc123xyz789\",\n      \"settlement_account\": \"sa_296645958265997349\",\n      \"settlement_account_details\": {\n        \"processor\": \"pay_com\",\n        \"currency\": \"usd\",\n        \"name\": \"Main Settlement Account\",\n        \"entity\": \"ent_296645958265997359\",\n        \"entity_details\": {\n          \"legal_name\": \"ACME Corp\",\n          \"country\": \"US\"\n        }\n      }\n    },\n    \"tax_details\": {\n      \"amount_total\": 825,\n      \"tax_behavior\": \"exclusive\",\n      \"tax_quote\": \"txq_296645958265997339\",\n      \"effective_tax_rate\": \"8.25\",\n      \"tax_transaction\": null\n    }\n  },\n  \"payment_session\": \"ps_296645958265997318\",\n  \"payment_attempt\": \"psatt_296645958265997343_1\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"evidence_required_by\": \"2024-01-25T10:30:00Z\",\n  \"evidences\": {\n    \"url\": \"/v1/disputes/dspt_296645958265997320/evidences\",\n    \"data\": [\n      {\n        \"id\": \"evd_296645958265997321\",\n        \"resource\": \"evidence\",\n        \"type\": \"additional_evidence\",\n        \"files\": [\n          \"doc_296645958265997322\",\n          \"doc_296645958265997322\"\n        ],\n        \"text\": \"The customer signed for the delivery on January 20, 2024.\",\n        \"test_mode\": false\n      },\n      {\n        \"id\": \"evd_296645958265997321\",\n        \"resource\": \"evidence\",\n        \"type\": \"additional_evidence\",\n        \"files\": [\n          \"doc_296645958265997322\",\n          \"doc_296645958265997322\"\n        ],\n        \"text\": \"The customer signed for the delivery on January 20, 2024.\",\n        \"test_mode\": true\n      }\n    ]\n  },\n  \"test_mode\": false,\n  \"metadata\": {},\n  \"chargeback_type\": \"null\",\n  \"arn\": \"74234567890123456789012\",\n  \"processor_dispute_id\": \"8204936157\",\n  \"settlement_account\": \"sa_296645958265997349\",\n  \"settlement_account_details\": {\n    \"processor\": \"worldpay\",\n    \"currency\": \"usd\",\n    \"name\": \"Main USD account\",\n    \"entity\": \"ent_296645958265997352\",\n    \"entity_details\": {\n      \"legal_name\": \"Acme Inc.\",\n      \"country\": \"US\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5409e9d1-a773-5637-b861-2753dfde6278","name":"Invalid request parameters, the dispute is not in status `open` or `pre_arbitration`, or a document is not an accepted evidence document within the processor's limits.","originalRequest":{"url":{"path":["disputes",":dispute_id","evidences"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"invoice_or_receipt\",\n  \"documents\": [\n    \"doc_296645958265997322\"\n  ],\n  \"text\": \"Original receipt showing customer signature.\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7f9bbaef-a004-5bc0-b44c-539da9bf6b5d","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["disputes",":dispute_id","evidences"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"invoice_or_receipt\",\n  \"documents\": [\n    \"doc_296645958265997322\"\n  ],\n  \"text\": \"Original receipt showing customer signature.\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"473c2c5f-8367-5f67-99dd-eedd474797ae","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["disputes",":dispute_id","evidences"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"invoice_or_receipt\",\n  \"documents\": [\n    \"doc_296645958265997322\"\n  ],\n  \"text\": \"Original receipt showing customer signature.\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"91c95d4a-1405-5464-a895-545c09dcdcbe","name":"Dispute or document not found.","originalRequest":{"url":{"path":["disputes",":dispute_id","evidences"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"invoice_or_receipt\",\n  \"documents\": [\n    \"doc_296645958265997322\"\n  ],\n  \"text\": \"Original receipt showing customer signature.\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c1c0be9d-e308-59a4-a8c6-47ccbeb37066","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["disputes",":dispute_id","evidences"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"invoice_or_receipt\",\n  \"documents\": [\n    \"doc_296645958265997322\"\n  ],\n  \"text\": \"Original receipt showing customer signature.\"\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c4aac2cf-ce9e-5c39-8061-76a00bba5edd","name":"Internal server error.","originalRequest":{"url":{"path":["disputes",":dispute_id","evidences"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"invoice_or_receipt\",\n  \"documents\": [\n    \"doc_296645958265997322\"\n  ],\n  \"text\": \"Original receipt showing customer signature.\"\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e08bb00c-ffa3-546a-92a2-ae2c171a91e6","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["disputes",":dispute_id","evidences"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"invoice_or_receipt\",\n  \"documents\": [\n    \"doc_296645958265997322\"\n  ],\n  \"text\": \"Original receipt showing customer signature.\"\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"1d19ec23-6244-56e3-89ce-ab6fe63de6f9","name":"Retrieve a dispute evidence","request":{"name":"Retrieve a dispute evidence","description":{"content":"Retrieves a specific piece of evidence by its ID.","type":"text/plain"},"url":{"path":["disputes",":dispute_id","evidences",":evidence_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."},{"disabled":false,"type":"any","value":"evd_296645958265997321","key":"evidence_id","description":"(Required) Unique identifier for the evidence."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"cf467cc7-8a66-5473-a85a-2732e43fc7fd","name":"Returns the evidence object.","originalRequest":{"url":{"path":["disputes",":dispute_id","evidences",":evidence_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."},{"disabled":false,"type":"any","value":"evd_296645958265997321","key":"evidence_id","description":"(Required) Unique identifier for the evidence."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"evd_296645958265997321\",\n  \"resource\": \"evidence\",\n  \"type\": \"additional_evidence\",\n  \"files\": [\n    \"doc_296645958265997322\",\n    \"doc_296645958265997322\"\n  ],\n  \"text\": \"The customer signed for the delivery on January 20, 2024.\",\n  \"test_mode\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"dcdaf194-918d-5b19-a813-079a27706e28","name":"Invalid request parameters.","originalRequest":{"url":{"path":["disputes",":dispute_id","evidences",":evidence_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."},{"disabled":false,"type":"any","value":"evd_296645958265997321","key":"evidence_id","description":"(Required) Unique identifier for the evidence."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"05085cbc-9cf4-594f-9513-f5e4c45ee6d7","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["disputes",":dispute_id","evidences",":evidence_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."},{"disabled":false,"type":"any","value":"evd_296645958265997321","key":"evidence_id","description":"(Required) Unique identifier for the evidence."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9b981de9-4ba8-55b5-803f-288d91752d30","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["disputes",":dispute_id","evidences",":evidence_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."},{"disabled":false,"type":"any","value":"evd_296645958265997321","key":"evidence_id","description":"(Required) Unique identifier for the evidence."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a3eac878-b95d-50ee-a4ce-40bfb0f91c22","name":"Evidence not found.","originalRequest":{"url":{"path":["disputes",":dispute_id","evidences",":evidence_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."},{"disabled":false,"type":"any","value":"evd_296645958265997321","key":"evidence_id","description":"(Required) Unique identifier for the evidence."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"198fb0cb-55b6-53c3-813d-be3080631f7d","name":"Internal server error.","originalRequest":{"url":{"path":["disputes",":dispute_id","evidences",":evidence_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."},{"disabled":false,"type":"any","value":"evd_296645958265997321","key":"evidence_id","description":"(Required) Unique identifier for the evidence."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fd3d2282-f676-5dfe-8bde-c6fbc27a1575","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["disputes",":dispute_id","evidences",":evidence_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."},{"disabled":false,"type":"any","value":"evd_296645958265997321","key":"evidence_id","description":"(Required) Unique identifier for the evidence."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"448fdee7-6a2a-5133-b9d3-43673fd44326","name":"Update a dispute evidence","request":{"name":"Update a dispute evidence","description":{"content":"Updates an existing piece of evidence for a dispute. At least one of `document` or `text` is required.\n\nThe dispute must be in status `open` or `pre_arbitration`; otherwise the request returns 400. After evidence is submitted the dispute moves to `evidence_under_review` within seconds, so evidence can usually no longer be updated.","type":"text/plain"},"url":{"path":["disputes",":dispute_id","evidences",":evidence_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."},{"disabled":false,"type":"any","value":"evd_296645958265997321","key":"evidence_id","description":"(Required) Unique identifier for the evidence."}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":null,"body":{"mode":"raw","raw":"{\n  \"text\": \"Updated receipt with clearer signature.\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"46f760cb-5f5a-5254-90ea-48ab086247bc","name":"Returns the updated evidence object.","originalRequest":{"url":{"path":["disputes",":dispute_id","evidences",":evidence_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."},{"disabled":false,"type":"any","value":"evd_296645958265997321","key":"evidence_id","description":"(Required) Unique identifier for the evidence."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"text\": \"Updated receipt with clearer signature.\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"evd_296645958265997321\",\n  \"resource\": \"evidence\",\n  \"type\": \"additional_evidence\",\n  \"files\": [\n    \"doc_296645958265997322\",\n    \"doc_296645958265997322\"\n  ],\n  \"text\": \"The customer signed for the delivery on January 20, 2024.\",\n  \"test_mode\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"79b797ac-726f-5626-accd-5cac3ae79047","name":"Invalid request parameters, the dispute is not in status `open` or `pre_arbitration`, or the document is not an accepted evidence document.","originalRequest":{"url":{"path":["disputes",":dispute_id","evidences",":evidence_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."},{"disabled":false,"type":"any","value":"evd_296645958265997321","key":"evidence_id","description":"(Required) Unique identifier for the evidence."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"text\": \"Updated receipt with clearer signature.\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ba70c689-764b-54c9-928d-5e648446850a","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["disputes",":dispute_id","evidences",":evidence_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."},{"disabled":false,"type":"any","value":"evd_296645958265997321","key":"evidence_id","description":"(Required) Unique identifier for the evidence."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"text\": \"Updated receipt with clearer signature.\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ed3177ac-c571-53ef-b124-b9bc652c7247","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["disputes",":dispute_id","evidences",":evidence_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."},{"disabled":false,"type":"any","value":"evd_296645958265997321","key":"evidence_id","description":"(Required) Unique identifier for the evidence."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"text\": \"Updated receipt with clearer signature.\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f0912515-6a77-5d2f-adcd-c0dfb1737e15","name":"Dispute, evidence or document not found.","originalRequest":{"url":{"path":["disputes",":dispute_id","evidences",":evidence_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."},{"disabled":false,"type":"any","value":"evd_296645958265997321","key":"evidence_id","description":"(Required) Unique identifier for the evidence."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"text\": \"Updated receipt with clearer signature.\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"13bed400-32fa-5201-a895-810dfdeb2e34","name":"Internal server error.","originalRequest":{"url":{"path":["disputes",":dispute_id","evidences",":evidence_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."},{"disabled":false,"type":"any","value":"evd_296645958265997321","key":"evidence_id","description":"(Required) Unique identifier for the evidence."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"text\": \"Updated receipt with clearer signature.\"\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bdb4214d-736a-5b8f-8f9e-ba8c4135c087","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["disputes",":dispute_id","evidences",":evidence_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."},{"disabled":false,"type":"any","value":"evd_296645958265997321","key":"evidence_id","description":"(Required) Unique identifier for the evidence."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"text\": \"Updated receipt with clearer signature.\"\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"ea6a68d7-3cb5-5d10-bf61-e033546845b0","name":"Simulate a dispute","request":{"name":"Simulate a dispute","description":{"content":"Simulates a dispute with status `open` on a charge. To simulate another status, use `POST /charges/{transaction_id}/simulate/dispute/{dispute_status}`.\n\nThis endpoint is only available in the sandbox. The charge must be a card, Google Pay, Apple Pay, KakaoPay or Naver Pay charge.\n\nIf the charge has no dispute yet, a dispute is created with reason `consumer_disputes`, together with a chargeback on the charge (and a representment when the status is `won` or `arbitration_won`). If the charge already has a dispute, only that dispute's status changes; no new dispute is created.\n\nThe response has no body. To find the dispute, list disputes or listen for the dispute webhook.","type":"text/plain"},"url":{"path":["charges",":transaction_id","simulate","dispute"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the charge."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null},"response":[{"id":"ec5c2ce0-850d-5358-af1d-507ac95fd6dc","name":"Dispute simulated successfully.","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","dispute"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the charge."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"}],"method":"POST","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"c008684e-b657-59ff-9849-0926d35710c2","name":"Invalid request parameters.","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","dispute"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the charge."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"dcb677a1-6b75-5690-a566-585a8e710c56","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","dispute"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the charge."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d0d31cad-0911-5dbd-86d5-88c134198663","name":"The endpoint is only available in the sandbox.\n\nA 403 can also mean the key may not make this request; `code` says why.","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","dispute"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the charge."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"228e4085-0dab-55ec-ab03-34a6646192aa","name":"Charge not found.","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","dispute"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the charge."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b7a78bae-23ae-5df1-bdd2-c324a502e0a8","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","dispute"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the charge."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"19d407ec-3a98-594f-b0af-7033a4772b21","name":"Unprocessable content. The transaction is not a charge, or its payment method does not support simulated disputes.","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","dispute"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the charge."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"Payment method is not set up for \\\"off_session\\\" mode\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5d913ea2-05ae-552f-a45f-09d661fe68f4","name":"Internal server error.","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","dispute"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the charge."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"eeea3609-0558-5565-96d9-daed0bc83963","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","dispute"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the charge."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"fa82be83-15fa-59b0-8255-c5e1fdb03fba","name":"Simulate a dispute with a status","request":{"name":"Simulate a dispute with a status","description":{"content":"Simulates a dispute in the given status on a charge.\n\nThis endpoint is only available in the sandbox. The charge must be a card, Google Pay, Apple Pay, KakaoPay or Naver Pay charge.\n\nIf the charge has no dispute yet, a dispute is created with reason `consumer_disputes`, together with a chargeback on the charge (and a representment when the status is `won` or `arbitration_won`). If the charge already has a dispute, only that dispute's status changes; no new dispute is created.\n\nThe response has no body. To find the dispute, list disputes or listen for the dispute webhook.","type":"text/plain"},"url":{"path":["charges",":transaction_id","simulate","dispute",":dispute_status"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the charge."},{"disabled":false,"type":"any","value":"won","key":"dispute_status","description":"(Required) The dispute status to simulate. One of the dispute `status` values."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null},"response":[{"id":"3ebb78a0-f4a7-575f-8bbb-74406c389b68","name":"Dispute simulated successfully.","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","dispute",":dispute_status"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the charge."},{"disabled":false,"type":"any","value":"won","key":"dispute_status","description":"(Required) The dispute status to simulate. One of the dispute `status` values."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"}],"method":"POST","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"8d8eb68a-e203-5095-be6a-0927c694f7fa","name":"Invalid request parameters.","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","dispute",":dispute_status"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the charge."},{"disabled":false,"type":"any","value":"won","key":"dispute_status","description":"(Required) The dispute status to simulate. One of the dispute `status` values."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"00bf5746-380e-5109-9de5-e96a6b82eb05","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","dispute",":dispute_status"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the charge."},{"disabled":false,"type":"any","value":"won","key":"dispute_status","description":"(Required) The dispute status to simulate. One of the dispute `status` values."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e01c2bda-6315-5386-b043-9b79efbf03ff","name":"The endpoint is only available in the sandbox.\n\nA 403 can also mean the key may not make this request; `code` says why.","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","dispute",":dispute_status"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the charge."},{"disabled":false,"type":"any","value":"won","key":"dispute_status","description":"(Required) The dispute status to simulate. One of the dispute `status` values."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"384408a1-e246-584b-87fc-8ace1b935953","name":"Charge not found.","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","dispute",":dispute_status"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the charge."},{"disabled":false,"type":"any","value":"won","key":"dispute_status","description":"(Required) The dispute status to simulate. One of the dispute `status` values."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ba663327-6fd5-5c29-9124-e40c71be823e","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","dispute",":dispute_status"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the charge."},{"disabled":false,"type":"any","value":"won","key":"dispute_status","description":"(Required) The dispute status to simulate. One of the dispute `status` values."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d9d9f19c-f7d8-52f9-9ab4-f9115d8ceed3","name":"Unprocessable content. The transaction is not a charge, or its payment method does not support simulated disputes.","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","dispute",":dispute_status"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the charge."},{"disabled":false,"type":"any","value":"won","key":"dispute_status","description":"(Required) The dispute status to simulate. One of the dispute `status` values."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"Payment method is not set up for \\\"off_session\\\" mode\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"04a48c01-f378-57d4-970e-c8ccab960308","name":"Internal server error.","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","dispute",":dispute_status"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the charge."},{"disabled":false,"type":"any","value":"won","key":"dispute_status","description":"(Required) The dispute status to simulate. One of the dispute `status` values."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2388e5fb-fef9-5325-8e4a-7b1f24c350f0","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","dispute",":dispute_status"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the charge."},{"disabled":false,"type":"any","value":"won","key":"dispute_status","description":"(Required) The dispute status to simulate. One of the dispute `status` values."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"482c91be-86a7-5257-b2e8-c6bb8f7f60ec","name":"Bulk defend disputes","request":{"name":"Bulk defend disputes","description":{"content":"Submits the same evidence (documents and an optional text) for several disputes in one request.\n\nThe request is validated as a whole before anything starts: every dispute must exist and be in status `open` or `pre_arbitration`, and every document must be a dispute evidence document in status `active` within the strictest limits of the disputes' processors. If any check fails, the request returns an error and no evidence is submitted for any dispute.\n\nWhen the request is accepted, the evidence is submitted in the background and the endpoint returns 204 with no body. Each dispute moves to `evidence_under_review` once its evidence is processed; retrieve the disputes to follow their status.","type":"text/plain"},"url":{"path":["disputes","bulk_defend"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"disputes\": [\n    \"dspt_296645958265997320\",\n    \"dspt_296645958265997401\"\n  ],\n  \"documents\": [\n    \"doc_296645958265997322\"\n  ],\n  \"text\": \"Proof of delivery for all orders.\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"d6a3f6fa-72d8-574d-9c33-c1fcee13e472","name":"Evidence submission started for all disputes.","originalRequest":{"url":{"path":["disputes","bulk_defend"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"disputes\": [\n    \"dspt_296645958265997320\",\n    \"dspt_296645958265997401\"\n  ],\n  \"documents\": [\n    \"doc_296645958265997322\"\n  ],\n  \"text\": \"Proof of delivery for all orders.\"\n}","options":{"raw":{"language":"json"}}}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"ebf117aa-de47-502a-80b7-5c9077e823b7","name":"Invalid request parameters, a dispute is not in status `open` or `pre_arbitration`, or a document is not an accepted evidence document within the processors' limits. No evidence is submitted.","originalRequest":{"url":{"path":["disputes","bulk_defend"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"disputes\": [\n    \"dspt_296645958265997320\",\n    \"dspt_296645958265997401\"\n  ],\n  \"documents\": [\n    \"doc_296645958265997322\"\n  ],\n  \"text\": \"Proof of delivery for all orders.\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ebd530ca-b24b-51cd-8f0b-469635e1c6de","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["disputes","bulk_defend"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"disputes\": [\n    \"dspt_296645958265997320\",\n    \"dspt_296645958265997401\"\n  ],\n  \"documents\": [\n    \"doc_296645958265997322\"\n  ],\n  \"text\": \"Proof of delivery for all orders.\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b23c02f0-9dfb-5c44-ae5d-3adbd7a211bc","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["disputes","bulk_defend"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"disputes\": [\n    \"dspt_296645958265997320\",\n    \"dspt_296645958265997401\"\n  ],\n  \"documents\": [\n    \"doc_296645958265997322\"\n  ],\n  \"text\": \"Proof of delivery for all orders.\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e83f1420-9a57-5efc-afb0-d478a88a0de3","name":"A dispute or document was not found. No evidence is submitted.","originalRequest":{"url":{"path":["disputes","bulk_defend"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"disputes\": [\n    \"dspt_296645958265997320\",\n    \"dspt_296645958265997401\"\n  ],\n  \"documents\": [\n    \"doc_296645958265997322\"\n  ],\n  \"text\": \"Proof of delivery for all orders.\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bd7bee33-f8d1-5789-bdf8-635e26a21eb0","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["disputes","bulk_defend"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"disputes\": [\n    \"dspt_296645958265997320\",\n    \"dspt_296645958265997401\"\n  ],\n  \"documents\": [\n    \"doc_296645958265997322\"\n  ],\n  \"text\": \"Proof of delivery for all orders.\"\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ecd1ce2b-2a08-59ca-a3f8-fe98762ef5f5","name":"Internal server error.","originalRequest":{"url":{"path":["disputes","bulk_defend"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"disputes\": [\n    \"dspt_296645958265997320\",\n    \"dspt_296645958265997401\"\n  ],\n  \"documents\": [\n    \"doc_296645958265997322\"\n  ],\n  \"text\": \"Proof of delivery for all orders.\"\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5406b002-ca21-5a66-af65-28d676b553af","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["disputes","bulk_defend"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"disputes\": [\n    \"dspt_296645958265997320\",\n    \"dspt_296645958265997401\"\n  ],\n  \"documents\": [\n    \"doc_296645958265997322\"\n  ],\n  \"text\": \"Proof of delivery for all orders.\"\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"bf3283aa-6606-5463-b8f3-26dbeb13615a","name":"Accept a dispute","request":{"name":"Accept a dispute","description":{"content":"Accepts a dispute, acknowledging that the chargeback is valid. This closes the dispute in the customer's favor. The call is synchronous: the returned dispute already has status `chargeback_accepted`.\n\nThe dispute must be in status `open` or `pre_arbitration`; otherwise the request returns 400.","type":"text/plain"},"url":{"path":["disputes",":dispute_id","accept"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null},"response":[{"id":"309937d4-c726-5f4f-8359-76e96227eae0","name":"Returns the dispute object.","originalRequest":{"url":{"path":["disputes",":dispute_id","accept"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"dspt_296645958265997320\",\n  \"resource\": \"dispute\",\n  \"status\": \"chargeback_accepted\",\n  \"created\": \"2024-01-15T10:30:00Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"00950aa7-b052-5717-bdad-08b19f0fd518","name":"Invalid request parameters, or the dispute is not in status `open` or `pre_arbitration`.","originalRequest":{"url":{"path":["disputes",":dispute_id","accept"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b8123056-12ff-5324-8f99-759f2410c49b","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["disputes",":dispute_id","accept"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"757bc2f9-6141-52fc-95d2-c1eee856db46","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["disputes",":dispute_id","accept"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c0b27924-d3cf-524d-a24f-3088bddbe53e","name":"Dispute not found.","originalRequest":{"url":{"path":["disputes",":dispute_id","accept"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"93bb0814-e460-54ec-9eb7-04d9cbb5e9a3","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["disputes",":dispute_id","accept"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8adb1d18-ad49-5b39-a05d-f2ee6a4c0a46","name":"Internal server error.","originalRequest":{"url":{"path":["disputes",":dispute_id","accept"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ab49bbe7-584c-57e0-a964-704d265c567a","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["disputes",":dispute_id","accept"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"dspt_296645958265997320","key":"dispute_id","description":"(Required) Unique identifier for the dispute."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"b059e1e0-8800-554f-9f8a-d60f7a59d1f4","name":"PaymentLinks","description":{"content":"Create shareable payment links that allow customers to complete payments without integration.","type":"text/plain"},"item":[{"id":"665b7d49-5faf-5505-ab24-12a0cf324fcf","name":"Create a payment link","request":{"name":"Create a payment link","description":{"content":"Creates a payment link: a hosted payment page you can share with customers.\n\n`currency` is required, and `amount` is required unless `type` is `dynamic`.","type":"text/plain"},"url":{"path":["payment_links"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"name\": \"ACME Store Order\",\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"description\": \"Payment for Order #12345.\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"type\": \"fixed\",\n  \"payment_method_types\": [\n    \"card\"\n  ],\n  \"max_attempts\": 3,\n  \"duration\": 1440,\n  \"after_completion\": {\n    \"type\": \"hosted_confirmation\",\n    \"hosted_confirmation\": {\n      \"custom_message\": \"Thank you for your payment.\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"9fa6923e-c463-5d66-b0b3-66a079d1fad9","name":"Returns the created payment link object.","originalRequest":{"url":{"path":["payment_links"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"plink_296645958265997341\",\n  \"resource\": \"payment_link\",\n  \"amount\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"currency\": \"usd\",\n  \"payment_method_options\": {\n    \"card\": {\n      \"security_checks\": {\n        \"address_line1_check\": true,\n        \"address_postal_code_check\": true,\n        \"cvv_check\": true\n      }\n    }\n  },\n  \"duration\": 1440,\n  \"max_attempts\": 5,\n  \"custom_fields\": [\n    {\n      \"id\": \"string\",\n      \"placeholder\": \"string\",\n      \"label\": \"string\",\n      \"type\": \"date\",\n      \"input_type\": \"string\",\n      \"options\": [\n        {\n          \"label\": \"Small\",\n          \"value\": \"small\"\n        },\n        {\n          \"label\": \"Small\",\n          \"value\": \"small\"\n        }\n      ],\n      \"description\": \"string\",\n      \"validation\": {\n        \"required\": true,\n        \"max\": 2277,\n        \"min\": 6591,\n        \"max_length\": 9446,\n        \"min_length\": 1343,\n        \"pattern\": \"string\"\n      }\n    },\n    {\n      \"id\": \"string\",\n      \"placeholder\": \"string\",\n      \"label\": \"string\",\n      \"type\": \"input\",\n      \"input_type\": \"string\",\n      \"options\": [\n        {\n          \"label\": \"Small\",\n          \"value\": \"small\"\n        },\n        {\n          \"label\": \"Small\",\n          \"value\": \"small\"\n        }\n      ],\n      \"description\": \"string\",\n      \"validation\": {\n        \"required\": true,\n        \"max\": 6265,\n        \"min\": 2788,\n        \"max_length\": 1614,\n        \"min_length\": 9937,\n        \"pattern\": \"string\"\n      }\n    }\n  ],\n  \"custom_text\": {\n    \"shipping_address\": {\n      \"message\": \"Enter the address for delivery.\"\n    },\n    \"submit\": {\n      \"message\": \"We email your receipt after payment.\"\n    }\n  },\n  \"after_completion\": {\n    \"type\": \"redirect\",\n    \"redirect\": {\n      \"url\": \"https://example.com/success\"\n    }\n  },\n  \"available_payment_methods\": [\n    \"card\",\n    \"applepay\",\n    \"googlepay\"\n  ],\n  \"description\": \"Payment for Order #12345.\",\n  \"url\": \"https://pay.com/buy/V1StGXR8_Z5jdHi6B-myT\",\n  \"name\": \"ACME Store Order\",\n  \"collection\": {\n    \"billing_address\": {\n      \"enabled\": true\n    },\n    \"shipping_address\": {\n      \"enabled\": true,\n      \"allowed_countries\": [\n        \"US\"\n      ]\n    },\n    \"phone_number\": {\n      \"enabled\": true\n    },\n    \"tax_id\": {\n      \"enabled\": true\n    }\n  },\n  \"active\": true,\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"created\": \"2024-01-15T10:30:00Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"908d2871-3c7f-5a94-8c91-732863a0f75b","name":"Invalid request parameters.","originalRequest":{"url":{"path":["payment_links"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"516a7ad8-d5ed-5f2e-8077-a83d67a24142","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["payment_links"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b99261e1-6d43-51b3-b81d-701b1084425a","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["payment_links"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"031f821c-652d-518e-95b0-37e9c262d6f1","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["payment_links"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4126f85c-dd27-5816-900c-4af7888b67f1","name":"Internal server error.","originalRequest":{"url":{"path":["payment_links"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"94447ebe-5c30-5e42-9395-77b394f83f67","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["payment_links"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"d2eeded8-17b3-5965-ab50-fbc1c5447093","name":"Retrieve a payment link","request":{"name":"Retrieve a payment link","description":{"content":"Retrieves the details of a payment link. Deactivated payment links are returned with `active` set to `false`.","type":"text/plain"},"url":{"path":["payment_links",":link_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"plink_296645958265997341","key":"link_id","description":"(Required) The identifier of the payment link."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"9a769fe7-21b8-5fdb-bdb7-a570ecf5311c","name":"Returns the payment link object.","originalRequest":{"url":{"path":["payment_links",":link_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"plink_296645958265997341","key":"link_id","description":"(Required) The identifier of the payment link."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"plink_296645958265997341\",\n  \"resource\": \"payment_link\",\n  \"amount\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"currency\": \"usd\",\n  \"payment_method_options\": {\n    \"card\": {\n      \"security_checks\": {\n        \"address_line1_check\": true,\n        \"address_postal_code_check\": true,\n        \"cvv_check\": true\n      }\n    }\n  },\n  \"duration\": 1440,\n  \"max_attempts\": 5,\n  \"custom_fields\": [\n    {\n      \"id\": \"string\",\n      \"placeholder\": \"string\",\n      \"label\": \"string\",\n      \"type\": \"date\",\n      \"input_type\": \"string\",\n      \"options\": [\n        {\n          \"label\": \"Small\",\n          \"value\": \"small\"\n        },\n        {\n          \"label\": \"Small\",\n          \"value\": \"small\"\n        }\n      ],\n      \"description\": \"string\",\n      \"validation\": {\n        \"required\": true,\n        \"max\": 2277,\n        \"min\": 6591,\n        \"max_length\": 9446,\n        \"min_length\": 1343,\n        \"pattern\": \"string\"\n      }\n    },\n    {\n      \"id\": \"string\",\n      \"placeholder\": \"string\",\n      \"label\": \"string\",\n      \"type\": \"input\",\n      \"input_type\": \"string\",\n      \"options\": [\n        {\n          \"label\": \"Small\",\n          \"value\": \"small\"\n        },\n        {\n          \"label\": \"Small\",\n          \"value\": \"small\"\n        }\n      ],\n      \"description\": \"string\",\n      \"validation\": {\n        \"required\": true,\n        \"max\": 6265,\n        \"min\": 2788,\n        \"max_length\": 1614,\n        \"min_length\": 9937,\n        \"pattern\": \"string\"\n      }\n    }\n  ],\n  \"custom_text\": {\n    \"shipping_address\": {\n      \"message\": \"Enter the address for delivery.\"\n    },\n    \"submit\": {\n      \"message\": \"We email your receipt after payment.\"\n    }\n  },\n  \"after_completion\": {\n    \"type\": \"redirect\",\n    \"redirect\": {\n      \"url\": \"https://example.com/success\"\n    }\n  },\n  \"available_payment_methods\": [\n    \"card\",\n    \"applepay\",\n    \"googlepay\"\n  ],\n  \"description\": \"Payment for Order #12345.\",\n  \"url\": \"https://pay.com/buy/V1StGXR8_Z5jdHi6B-myT\",\n  \"name\": \"ACME Store Order\",\n  \"collection\": {\n    \"billing_address\": {\n      \"enabled\": true\n    },\n    \"shipping_address\": {\n      \"enabled\": true,\n      \"allowed_countries\": [\n        \"US\"\n      ]\n    },\n    \"phone_number\": {\n      \"enabled\": true\n    },\n    \"tax_id\": {\n      \"enabled\": true\n    }\n  },\n  \"active\": true,\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"created\": \"2024-01-15T10:30:00Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"18fdf471-bf7e-5f1a-8ab0-d9e446f39465","name":"Invalid request parameters.","originalRequest":{"url":{"path":["payment_links",":link_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"plink_296645958265997341","key":"link_id","description":"(Required) The identifier of the payment link."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9fabf948-0be3-5743-ab4d-c7aa43049712","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["payment_links",":link_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"plink_296645958265997341","key":"link_id","description":"(Required) The identifier of the payment link."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b2e3cbcf-c57f-5796-a0c2-8dddfc43505a","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["payment_links",":link_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"plink_296645958265997341","key":"link_id","description":"(Required) The identifier of the payment link."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a860a191-4efd-5558-9765-f416720255ff","name":"Payment link not found.","originalRequest":{"url":{"path":["payment_links",":link_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"plink_296645958265997341","key":"link_id","description":"(Required) The identifier of the payment link."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ee247521-3e92-5148-bb92-042c35011dae","name":"Internal server error.","originalRequest":{"url":{"path":["payment_links",":link_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"plink_296645958265997341","key":"link_id","description":"(Required) The identifier of the payment link."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"75e851e1-653e-569f-ae09-bdf46d589f96","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["payment_links",":link_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"plink_296645958265997341","key":"link_id","description":"(Required) The identifier of the payment link."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"bcb3783e-705c-5dc2-8ea5-cffb0abda17e","name":"Update a payment link","request":{"name":"Update a payment link","description":{"content":"Updates a payment link.\n\n- Send every field you want to keep, `amount` and `currency` included. Without `amount`, the link's amount becomes `0`, and without `currency`, its currency becomes your account's default. Omitted `max_attempts`, `duration` and `payment_method_types` are reset to their defaults.\n- An update sets `receipt` to `false`.\n- Each update gives the link a new `url`, and the previous URL stops working.\n- Set `active` to `false` to deactivate the link.","type":"text/plain"},"url":{"path":["payment_links",":link_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"plink_296645958265997341","key":"link_id","description":"(Required) The identifier of the payment link."}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","auth":null,"body":{"mode":"raw","raw":"{\n  \"name\": \"ACME Store Order\",\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"description\": \"Payment for Order #12345.\",\n  \"max_attempts\": 3,\n  \"duration\": 1440,\n  \"active\": true\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"4b4812e1-7200-5182-8299-260571f44292","name":"Returns the updated payment link object.","originalRequest":{"url":{"path":["payment_links",":link_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"plink_296645958265997341","key":"link_id","description":"(Required) The identifier of the payment link."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"plink_296645958265997341\",\n  \"resource\": \"payment_link\",\n  \"amount\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"currency\": \"usd\",\n  \"payment_method_options\": {\n    \"card\": {\n      \"security_checks\": {\n        \"address_line1_check\": true,\n        \"address_postal_code_check\": true,\n        \"cvv_check\": true\n      }\n    }\n  },\n  \"duration\": 1440,\n  \"max_attempts\": 5,\n  \"custom_fields\": [\n    {\n      \"id\": \"string\",\n      \"placeholder\": \"string\",\n      \"label\": \"string\",\n      \"type\": \"date\",\n      \"input_type\": \"string\",\n      \"options\": [\n        {\n          \"label\": \"Small\",\n          \"value\": \"small\"\n        },\n        {\n          \"label\": \"Small\",\n          \"value\": \"small\"\n        }\n      ],\n      \"description\": \"string\",\n      \"validation\": {\n        \"required\": true,\n        \"max\": 2277,\n        \"min\": 6591,\n        \"max_length\": 9446,\n        \"min_length\": 1343,\n        \"pattern\": \"string\"\n      }\n    },\n    {\n      \"id\": \"string\",\n      \"placeholder\": \"string\",\n      \"label\": \"string\",\n      \"type\": \"input\",\n      \"input_type\": \"string\",\n      \"options\": [\n        {\n          \"label\": \"Small\",\n          \"value\": \"small\"\n        },\n        {\n          \"label\": \"Small\",\n          \"value\": \"small\"\n        }\n      ],\n      \"description\": \"string\",\n      \"validation\": {\n        \"required\": true,\n        \"max\": 6265,\n        \"min\": 2788,\n        \"max_length\": 1614,\n        \"min_length\": 9937,\n        \"pattern\": \"string\"\n      }\n    }\n  ],\n  \"custom_text\": {\n    \"shipping_address\": {\n      \"message\": \"Enter the address for delivery.\"\n    },\n    \"submit\": {\n      \"message\": \"We email your receipt after payment.\"\n    }\n  },\n  \"after_completion\": {\n    \"type\": \"redirect\",\n    \"redirect\": {\n      \"url\": \"https://example.com/success\"\n    }\n  },\n  \"available_payment_methods\": [\n    \"card\",\n    \"applepay\",\n    \"googlepay\"\n  ],\n  \"description\": \"Payment for Order #12345.\",\n  \"url\": \"https://pay.com/buy/V1StGXR8_Z5jdHi6B-myT\",\n  \"name\": \"ACME Store Order\",\n  \"collection\": {\n    \"billing_address\": {\n      \"enabled\": true\n    },\n    \"shipping_address\": {\n      \"enabled\": true,\n      \"allowed_countries\": [\n        \"US\"\n      ]\n    },\n    \"phone_number\": {\n      \"enabled\": true\n    },\n    \"tax_id\": {\n      \"enabled\": true\n    }\n  },\n  \"active\": true,\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"created\": \"2024-01-15T10:30:00Z\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"da37ef42-ad7c-5097-bd8e-8a23195b8840","name":"Invalid request parameters.","originalRequest":{"url":{"path":["payment_links",":link_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"plink_296645958265997341","key":"link_id","description":"(Required) The identifier of the payment link."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"409362d1-d771-51f4-abda-b5ac6a19546a","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["payment_links",":link_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"plink_296645958265997341","key":"link_id","description":"(Required) The identifier of the payment link."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"abadcbaa-0ba4-59ef-b42e-84131f8ae4e8","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["payment_links",":link_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"plink_296645958265997341","key":"link_id","description":"(Required) The identifier of the payment link."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1e09de45-0088-5c8f-b5b0-a860dbcc3839","name":"Internal server error.","originalRequest":{"url":{"path":["payment_links",":link_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"plink_296645958265997341","key":"link_id","description":"(Required) The identifier of the payment link."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b025d538-43e7-5dcf-bd92-9b0fb8090d08","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["payment_links",":link_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"plink_296645958265997341","key":"link_id","description":"(Required) The identifier of the payment link."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"6a69bdc9-8632-5dd5-92b0-350b3272fced","name":"PaymentMethods","description":{"content":"Store, retrieve, and manage payment methods including cards, bank accounts, and digital wallets.","type":"text/plain"},"item":[{"id":"7a687a77-d0db-5504-bad7-c1df8314343c","name":"Create a payment method","request":{"name":"Create a payment method","description":{"content":"Creates a payment method for a customer from raw card details, a network token, an Apple Pay or Google Pay token, or a Pay.com card token. Cards may be verified with the issuer.","type":"text/plain"},"url":{"path":["payment_methods"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"type\": \"card\",\n  \"card\": {\n    \"number\": \"4242424242424242\",\n    \"expiry_month\": \"12\",\n    \"expiry_year\": \"2028\",\n    \"cvv\": \"123\",\n    \"name\": \"John Smith\"\n  },\n  \"billing_details\": {\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  },\n  \"setup_future_usage\": \"on_session\",\n  \"metadata\": {\n    \"customer_tier\": \"premium\"\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"e364d680-6548-56e8-8af2-6ce8f665bdb6","name":"Returns the created payment method object.","originalRequest":{"url":{"path":["payment_methods"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"pm_card_296645958265997316\",\n  \"type\": \"card\",\n  \"resource\": \"payment_method\",\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"status\": \"created\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  },\n  \"off_session\": true,\n  \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n  \"risk_assessment_details\": {\n    \"outcome\": \"allow\",\n    \"outcome_source\": \"score\",\n    \"rule_id\": \"rl_296645958265997337\",\n    \"rules_id\": [\n      \"rl_296645958265997337\"\n    ],\n    \"score\": \"31\",\n    \"flags\": [\n      \"no_correlation_history\",\n      \"multiple_identities_billing\",\n      \"multiple_identities_card\",\n      \"free_email_provider\",\n      \"risky_billing_time\",\n      \"velocity_multiple_addresses\",\n      \"velocity_multiple_names\"\n    ]\n  },\n  \"underlying_network_id\": \"123456789012345\",\n  \"underlying_network_details\": {\n    \"network\": \"visa\",\n    \"visa\": {\n      \"arn\": \"74234567890123456789012\",\n      \"auth_code\": \"123456\",\n      \"raw_response_code\": \"00\",\n      \"rrn\": \"123456789012\",\n      \"eci\": \"05\",\n      \"aci\": \"Y\",\n      \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n    }\n  },\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"flow_directions\": {\n    \"payment\": false,\n    \"payout\": true\n  },\n  \"test_mode\": true,\n  \"card\": {\n    \"bin\": \"424242\",\n    \"brand\": \"visa\",\n    \"cardholder_currency\": \"usd\",\n    \"country\": \"US\",\n    \"exp_month\": \"12\",\n    \"exp_year\": \"2028\",\n    \"fingerprint\": \"fp_abc123xyz789\",\n    \"funding\": \"unknown\",\n    \"last4\": \"4242\",\n    \"network\": \"visa\",\n    \"category\": \"consumer\",\n    \"security_checks\": {\n      \"address_line1_check\": \"unavailable\",\n      \"address_postal_code_check\": \"unavailable\",\n      \"cvc_check\": \"pass\"\n    },\n    \"wallet\": {\n      \"type\": \"googlepay\",\n      \"googlepay\": {\n        \"type\": \"cryptogram_3ds\",\n        \"physical_card_last4\": \"4242\"\n      },\n      \"applepay\": {\n        \"physical_card_last4\": \"4242\"\n      },\n      \"ctp\": {\n        \"physical_card_last4\": \"string\",\n        \"physical_card_bin\": \"string\",\n        \"physical_card_exp_month\": \"string\",\n        \"physical_card_exp_year\": \"string\"\n      }\n    },\n    \"token\": \"tok_card_296645958265997326\",\n    \"three_d_secure\": {\n      \"authentication_flow\": \"challenge\",\n      \"result\": \"success\",\n      \"result_reason\": \"authenticated\",\n      \"version\": \"2.2.0\",\n      \"eci\": \"05\",\n      \"cardholder_info\": \"string\",\n      \"liability_shift\": true\n    },\n    \"three_ds\": {\n      \"authentication_flow\": \"challenge\",\n      \"result\": \"success\",\n      \"result_reason\": \"authenticated\",\n      \"status_reason\": \"string\",\n      \"protocol_version\": \"2.2.0\",\n      \"eci\": \"02\",\n      \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n      \"liability_shift\": true,\n      \"cardholder_info\": \"string\",\n      \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n      \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n      \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n      \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n      \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n    },\n    \"payout\": \"not_available\",\n    \"name_verification\": \"match\",\n    \"partial_approval\": {\n      \"status\": \"accepted\",\n      \"amount_requested\": 10000,\n      \"amount_authorized\": 7500,\n      \"amount_charged\": 7500,\n      \"product_id\": \"prod_12345\"\n    },\n    \"name\": \"John Smith\",\n    \"issuer\": \"Chase Bank\"\n  },\n  \"paypal\": {\n    \"email\": \"string\",\n    \"firstName\": \"string\",\n    \"lastName\": \"string\"\n  },\n  \"cashapp\": {\n    \"cashtag\": \"$acmecustomer\",\n    \"name\": \"Jenny Rosen\"\n  },\n  \"us_bank_account\": {\n    \"country\": \"string\",\n    \"currency\": \"string\",\n    \"last4\": \"string\",\n    \"account_holder_name\": \"string\",\n    \"account_holder_type\": \"company\",\n    \"routing_number\": \"string\",\n    \"fingerprint\": \"string\",\n    \"bank_name\": \"string\",\n    \"account_type\": \"checking\",\n    \"source\": \"string\"\n  },\n  \"in_bank_account\": {\n    \"country\": \"string\",\n    \"currency\": \"string\",\n    \"last4\": \"string\",\n    \"account_holder_name\": \"string\",\n    \"account_holder_type\": \"individual\",\n    \"routing_number\": \"string\",\n    \"fingerprint\": \"string\",\n    \"bank_name\": \"string\",\n    \"account_type\": \"savings\",\n    \"source\": \"string\"\n  },\n  \"eu_bank_account\": {\n    \"country\": \"string\",\n    \"currency\": \"string\",\n    \"last4\": \"string\",\n    \"account_holder_name\": \"string\",\n    \"account_holder_type\": \"individual\",\n    \"routing_number\": \"string\",\n    \"fingerprint\": \"string\",\n    \"bank_name\": \"string\",\n    \"account_type\": \"checking\",\n    \"source\": \"string\"\n  },\n  \"uk_bank_account\": {\n    \"country\": \"string\",\n    \"currency\": \"string\",\n    \"last4\": \"string\",\n    \"account_holder_name\": \"string\",\n    \"account_holder_type\": \"company\",\n    \"routing_number\": \"string\",\n    \"fingerprint\": \"string\",\n    \"bank_name\": \"string\",\n    \"account_type\": \"savings\",\n    \"source\": \"string\"\n  },\n  \"crypto\": {},\n  \"ecopayz\": {},\n  \"fonix\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"747dbc6f-4bd3-5b7c-ba96-483bde3ec086","name":"Invalid request parameters, or the card was declined during verification (`payment_method_error`), including when 3RI authentication is not supported.","originalRequest":{"url":{"path":["payment_methods"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"baa5f062-f9be-5b54-ba73-2cdb3b754e8b","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["payment_methods"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1cf8e04c-fa30-5aaf-93cf-fdf376b71435","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["payment_methods"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"99e6036b-2314-520c-b62a-0ea47ae38c29","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["payment_methods"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e191a207-b144-51a9-ade9-83c2418c6bf8","name":"Unprocessable content. Returned when `token.id` is an external token that is not stored for your account (`No card was found for external payment method id`).","originalRequest":{"url":{"path":["payment_methods"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"Payment method is not set up for \\\"off_session\\\" mode\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"49caa061-ee73-56ff-9778-171fa32467e5","name":"Internal server error.","originalRequest":{"url":{"path":["payment_methods"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"08f5a8bb-e824-58c8-ab97-9b93de4df2e6","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["payment_methods"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"89ce4e3f-5fd1-57fa-95d1-ea3e3dc4dd51","name":"Confirm a payment method","request":{"name":"Confirm a payment method","description":{"content":"Confirms a payment method that has status `requires_confirmation`, after the customer completed the linked 3D Secure authentication session.","type":"text/plain"},"url":{"path":["payment_methods",":payment_method_id","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null},"response":[{"id":"a1050cc2-f6a0-52b7-9688-1bfa1180f1b7","name":"Returns the payment method object.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"pm_card_296645958265997316\",\n  \"type\": \"card\",\n  \"resource\": \"payment_method\",\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"status\": \"created\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  },\n  \"off_session\": true,\n  \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n  \"risk_assessment_details\": {\n    \"outcome\": \"allow\",\n    \"outcome_source\": \"score\",\n    \"rule_id\": \"rl_296645958265997337\",\n    \"rules_id\": [\n      \"rl_296645958265997337\"\n    ],\n    \"score\": \"31\",\n    \"flags\": [\n      \"no_correlation_history\",\n      \"multiple_identities_billing\",\n      \"multiple_identities_card\",\n      \"free_email_provider\",\n      \"risky_billing_time\",\n      \"velocity_multiple_addresses\",\n      \"velocity_multiple_names\"\n    ]\n  },\n  \"underlying_network_id\": \"123456789012345\",\n  \"underlying_network_details\": {\n    \"network\": \"visa\",\n    \"visa\": {\n      \"arn\": \"74234567890123456789012\",\n      \"auth_code\": \"123456\",\n      \"raw_response_code\": \"00\",\n      \"rrn\": \"123456789012\",\n      \"eci\": \"05\",\n      \"aci\": \"Y\",\n      \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n    }\n  },\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"flow_directions\": {\n    \"payment\": false,\n    \"payout\": true\n  },\n  \"test_mode\": true,\n  \"card\": {\n    \"bin\": \"424242\",\n    \"brand\": \"visa\",\n    \"cardholder_currency\": \"usd\",\n    \"country\": \"US\",\n    \"exp_month\": \"12\",\n    \"exp_year\": \"2028\",\n    \"fingerprint\": \"fp_abc123xyz789\",\n    \"funding\": \"unknown\",\n    \"last4\": \"4242\",\n    \"network\": \"visa\",\n    \"category\": \"consumer\",\n    \"security_checks\": {\n      \"address_line1_check\": \"unavailable\",\n      \"address_postal_code_check\": \"unavailable\",\n      \"cvc_check\": \"pass\"\n    },\n    \"wallet\": {\n      \"type\": \"googlepay\",\n      \"googlepay\": {\n        \"type\": \"cryptogram_3ds\",\n        \"physical_card_last4\": \"4242\"\n      },\n      \"applepay\": {\n        \"physical_card_last4\": \"4242\"\n      },\n      \"ctp\": {\n        \"physical_card_last4\": \"string\",\n        \"physical_card_bin\": \"string\",\n        \"physical_card_exp_month\": \"string\",\n        \"physical_card_exp_year\": \"string\"\n      }\n    },\n    \"token\": \"tok_card_296645958265997326\",\n    \"three_d_secure\": {\n      \"authentication_flow\": \"challenge\",\n      \"result\": \"success\",\n      \"result_reason\": \"authenticated\",\n      \"version\": \"2.2.0\",\n      \"eci\": \"05\",\n      \"cardholder_info\": \"string\",\n      \"liability_shift\": true\n    },\n    \"three_ds\": {\n      \"authentication_flow\": \"challenge\",\n      \"result\": \"success\",\n      \"result_reason\": \"authenticated\",\n      \"status_reason\": \"string\",\n      \"protocol_version\": \"2.2.0\",\n      \"eci\": \"02\",\n      \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n      \"liability_shift\": true,\n      \"cardholder_info\": \"string\",\n      \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n      \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n      \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n      \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n      \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n    },\n    \"payout\": \"not_available\",\n    \"name_verification\": \"match\",\n    \"partial_approval\": {\n      \"status\": \"accepted\",\n      \"amount_requested\": 10000,\n      \"amount_authorized\": 7500,\n      \"amount_charged\": 7500,\n      \"product_id\": \"prod_12345\"\n    },\n    \"name\": \"John Smith\",\n    \"issuer\": \"Chase Bank\"\n  },\n  \"paypal\": {\n    \"email\": \"string\",\n    \"firstName\": \"string\",\n    \"lastName\": \"string\"\n  },\n  \"cashapp\": {\n    \"cashtag\": \"$acmecustomer\",\n    \"name\": \"Jenny Rosen\"\n  },\n  \"us_bank_account\": {\n    \"country\": \"string\",\n    \"currency\": \"string\",\n    \"last4\": \"string\",\n    \"account_holder_name\": \"string\",\n    \"account_holder_type\": \"company\",\n    \"routing_number\": \"string\",\n    \"fingerprint\": \"string\",\n    \"bank_name\": \"string\",\n    \"account_type\": \"checking\",\n    \"source\": \"string\"\n  },\n  \"in_bank_account\": {\n    \"country\": \"string\",\n    \"currency\": \"string\",\n    \"last4\": \"string\",\n    \"account_holder_name\": \"string\",\n    \"account_holder_type\": \"individual\",\n    \"routing_number\": \"string\",\n    \"fingerprint\": \"string\",\n    \"bank_name\": \"string\",\n    \"account_type\": \"savings\",\n    \"source\": \"string\"\n  },\n  \"eu_bank_account\": {\n    \"country\": \"string\",\n    \"currency\": \"string\",\n    \"last4\": \"string\",\n    \"account_holder_name\": \"string\",\n    \"account_holder_type\": \"individual\",\n    \"routing_number\": \"string\",\n    \"fingerprint\": \"string\",\n    \"bank_name\": \"string\",\n    \"account_type\": \"checking\",\n    \"source\": \"string\"\n  },\n  \"uk_bank_account\": {\n    \"country\": \"string\",\n    \"currency\": \"string\",\n    \"last4\": \"string\",\n    \"account_holder_name\": \"string\",\n    \"account_holder_type\": \"company\",\n    \"routing_number\": \"string\",\n    \"fingerprint\": \"string\",\n    \"bank_name\": \"string\",\n    \"account_type\": \"savings\",\n    \"source\": \"string\"\n  },\n  \"crypto\": {},\n  \"ecopayz\": {},\n  \"fonix\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5c02cfba-4de1-5fc9-b5c4-9965ac41f4d3","name":"Returns the confirmed payment method object.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"pm_card_296645958265997316\",\n  \"type\": \"card\",\n  \"resource\": \"payment_method\",\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"status\": \"created\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  },\n  \"off_session\": true,\n  \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n  \"risk_assessment_details\": {\n    \"outcome\": \"allow\",\n    \"outcome_source\": \"score\",\n    \"rule_id\": \"rl_296645958265997337\",\n    \"rules_id\": [\n      \"rl_296645958265997337\"\n    ],\n    \"score\": \"31\",\n    \"flags\": [\n      \"no_correlation_history\",\n      \"multiple_identities_billing\",\n      \"multiple_identities_card\",\n      \"free_email_provider\",\n      \"risky_billing_time\",\n      \"velocity_multiple_addresses\",\n      \"velocity_multiple_names\"\n    ]\n  },\n  \"underlying_network_id\": \"123456789012345\",\n  \"underlying_network_details\": {\n    \"network\": \"visa\",\n    \"visa\": {\n      \"arn\": \"74234567890123456789012\",\n      \"auth_code\": \"123456\",\n      \"raw_response_code\": \"00\",\n      \"rrn\": \"123456789012\",\n      \"eci\": \"05\",\n      \"aci\": \"Y\",\n      \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n    }\n  },\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"flow_directions\": {\n    \"payment\": false,\n    \"payout\": true\n  },\n  \"test_mode\": true,\n  \"card\": {\n    \"bin\": \"424242\",\n    \"brand\": \"visa\",\n    \"cardholder_currency\": \"usd\",\n    \"country\": \"US\",\n    \"exp_month\": \"12\",\n    \"exp_year\": \"2028\",\n    \"fingerprint\": \"fp_abc123xyz789\",\n    \"funding\": \"unknown\",\n    \"last4\": \"4242\",\n    \"network\": \"visa\",\n    \"category\": \"consumer\",\n    \"security_checks\": {\n      \"address_line1_check\": \"unavailable\",\n      \"address_postal_code_check\": \"unavailable\",\n      \"cvc_check\": \"pass\"\n    },\n    \"wallet\": {\n      \"type\": \"googlepay\",\n      \"googlepay\": {\n        \"type\": \"cryptogram_3ds\",\n        \"physical_card_last4\": \"4242\"\n      },\n      \"applepay\": {\n        \"physical_card_last4\": \"4242\"\n      },\n      \"ctp\": {\n        \"physical_card_last4\": \"string\",\n        \"physical_card_bin\": \"string\",\n        \"physical_card_exp_month\": \"string\",\n        \"physical_card_exp_year\": \"string\"\n      }\n    },\n    \"token\": \"tok_card_296645958265997326\",\n    \"three_d_secure\": {\n      \"authentication_flow\": \"challenge\",\n      \"result\": \"success\",\n      \"result_reason\": \"authenticated\",\n      \"version\": \"2.2.0\",\n      \"eci\": \"05\",\n      \"cardholder_info\": \"string\",\n      \"liability_shift\": true\n    },\n    \"three_ds\": {\n      \"authentication_flow\": \"challenge\",\n      \"result\": \"success\",\n      \"result_reason\": \"authenticated\",\n      \"status_reason\": \"string\",\n      \"protocol_version\": \"2.2.0\",\n      \"eci\": \"02\",\n      \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n      \"liability_shift\": true,\n      \"cardholder_info\": \"string\",\n      \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n      \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n      \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n      \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n      \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n    },\n    \"payout\": \"not_available\",\n    \"name_verification\": \"match\",\n    \"partial_approval\": {\n      \"status\": \"accepted\",\n      \"amount_requested\": 10000,\n      \"amount_authorized\": 7500,\n      \"amount_charged\": 7500,\n      \"product_id\": \"prod_12345\"\n    },\n    \"name\": \"John Smith\",\n    \"issuer\": \"Chase Bank\"\n  },\n  \"paypal\": {\n    \"email\": \"string\",\n    \"firstName\": \"string\",\n    \"lastName\": \"string\"\n  },\n  \"cashapp\": {\n    \"cashtag\": \"$acmecustomer\",\n    \"name\": \"Jenny Rosen\"\n  },\n  \"us_bank_account\": {\n    \"country\": \"string\",\n    \"currency\": \"string\",\n    \"last4\": \"string\",\n    \"account_holder_name\": \"string\",\n    \"account_holder_type\": \"company\",\n    \"routing_number\": \"string\",\n    \"fingerprint\": \"string\",\n    \"bank_name\": \"string\",\n    \"account_type\": \"checking\",\n    \"source\": \"string\"\n  },\n  \"in_bank_account\": {\n    \"country\": \"string\",\n    \"currency\": \"string\",\n    \"last4\": \"string\",\n    \"account_holder_name\": \"string\",\n    \"account_holder_type\": \"individual\",\n    \"routing_number\": \"string\",\n    \"fingerprint\": \"string\",\n    \"bank_name\": \"string\",\n    \"account_type\": \"savings\",\n    \"source\": \"string\"\n  },\n  \"eu_bank_account\": {\n    \"country\": \"string\",\n    \"currency\": \"string\",\n    \"last4\": \"string\",\n    \"account_holder_name\": \"string\",\n    \"account_holder_type\": \"individual\",\n    \"routing_number\": \"string\",\n    \"fingerprint\": \"string\",\n    \"bank_name\": \"string\",\n    \"account_type\": \"checking\",\n    \"source\": \"string\"\n  },\n  \"uk_bank_account\": {\n    \"country\": \"string\",\n    \"currency\": \"string\",\n    \"last4\": \"string\",\n    \"account_holder_name\": \"string\",\n    \"account_holder_type\": \"company\",\n    \"routing_number\": \"string\",\n    \"fingerprint\": \"string\",\n    \"bank_name\": \"string\",\n    \"account_type\": \"savings\",\n    \"source\": \"string\"\n  },\n  \"crypto\": {},\n  \"ecopayz\": {},\n  \"fonix\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"03eeb68d-b0d7-5909-8d98-bfc13b6ee6d8","name":"Invalid request parameters. Also returned with `payment_method_error` (`decline_code` `authentication_failure` and the `authentication_session` ID) when the linked 3D Secure authentication failed.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0000908a-23df-556f-acf1-8c14440f17d0","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["payment_methods",":payment_method_id","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"08efcb0a-1b8f-5c6e-b0ea-ba2cba1627ba","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"289027f8-0e13-5ee4-b568-67bfef7f9bb7","name":"Payment method not found.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1bef0ebc-3827-567c-b64a-592468d44812","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a4c04da8-4c02-552d-90c8-e7e5e311e6f2","name":"Internal server error.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"38101d62-d57b-5abb-86ce-1e82dac7e766","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"71a30dd4-5327-50cf-831c-3b14ed820d2a","name":"Verify a payment method","request":{"name":"Verify a payment method","description":{"content":"Runs a zero-amount verification of a stored card payment method with the issuer, to check that it is still valid. Card, customer and billing details are taken from the stored payment method. The customer's default payment method is not changed, and a declined verification leaves the stored payment method as it was.","type":"text/plain"},"url":{"path":["payment_methods",":payment_method_id","verify"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"cvv\": \"123\",\n  \"off_session\": false,\n  \"payment_method_options\": {\n    \"card\": {\n      \"security_checks\": {\n        \"cvv_check\": true,\n        \"address_line1_check\": true,\n        \"address_postal_code_check\": true\n      }\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"86322bab-cd9d-5e80-badd-8b4ff5100f99","name":"Returns the payment method object after the issuer approves the zero-amount verification.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id","verify"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"pm_card_296645958265997316\",\n  \"type\": \"card\",\n  \"resource\": \"payment_method\",\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"status\": \"created\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  },\n  \"off_session\": true,\n  \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n  \"risk_assessment_details\": {\n    \"outcome\": \"allow\",\n    \"outcome_source\": \"score\",\n    \"rule_id\": \"rl_296645958265997337\",\n    \"rules_id\": [\n      \"rl_296645958265997337\"\n    ],\n    \"score\": \"31\",\n    \"flags\": [\n      \"no_correlation_history\",\n      \"multiple_identities_billing\",\n      \"multiple_identities_card\",\n      \"free_email_provider\",\n      \"risky_billing_time\",\n      \"velocity_multiple_addresses\",\n      \"velocity_multiple_names\"\n    ]\n  },\n  \"underlying_network_id\": \"123456789012345\",\n  \"underlying_network_details\": {\n    \"network\": \"visa\",\n    \"visa\": {\n      \"arn\": \"74234567890123456789012\",\n      \"auth_code\": \"123456\",\n      \"raw_response_code\": \"00\",\n      \"rrn\": \"123456789012\",\n      \"eci\": \"05\",\n      \"aci\": \"Y\",\n      \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n    }\n  },\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"flow_directions\": {\n    \"payment\": false,\n    \"payout\": true\n  },\n  \"test_mode\": true,\n  \"card\": {\n    \"bin\": \"424242\",\n    \"brand\": \"visa\",\n    \"cardholder_currency\": \"usd\",\n    \"country\": \"US\",\n    \"exp_month\": \"12\",\n    \"exp_year\": \"2028\",\n    \"fingerprint\": \"fp_abc123xyz789\",\n    \"funding\": \"unknown\",\n    \"last4\": \"4242\",\n    \"network\": \"visa\",\n    \"category\": \"consumer\",\n    \"security_checks\": {\n      \"address_line1_check\": \"unavailable\",\n      \"address_postal_code_check\": \"unavailable\",\n      \"cvc_check\": \"pass\"\n    },\n    \"wallet\": {\n      \"type\": \"googlepay\",\n      \"googlepay\": {\n        \"type\": \"cryptogram_3ds\",\n        \"physical_card_last4\": \"4242\"\n      },\n      \"applepay\": {\n        \"physical_card_last4\": \"4242\"\n      },\n      \"ctp\": {\n        \"physical_card_last4\": \"string\",\n        \"physical_card_bin\": \"string\",\n        \"physical_card_exp_month\": \"string\",\n        \"physical_card_exp_year\": \"string\"\n      }\n    },\n    \"token\": \"tok_card_296645958265997326\",\n    \"three_d_secure\": {\n      \"authentication_flow\": \"challenge\",\n      \"result\": \"success\",\n      \"result_reason\": \"authenticated\",\n      \"version\": \"2.2.0\",\n      \"eci\": \"05\",\n      \"cardholder_info\": \"string\",\n      \"liability_shift\": true\n    },\n    \"three_ds\": {\n      \"authentication_flow\": \"challenge\",\n      \"result\": \"success\",\n      \"result_reason\": \"authenticated\",\n      \"status_reason\": \"string\",\n      \"protocol_version\": \"2.2.0\",\n      \"eci\": \"02\",\n      \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n      \"liability_shift\": true,\n      \"cardholder_info\": \"string\",\n      \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n      \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n      \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n      \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n      \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n    },\n    \"payout\": \"not_available\",\n    \"name_verification\": \"match\",\n    \"partial_approval\": {\n      \"status\": \"accepted\",\n      \"amount_requested\": 10000,\n      \"amount_authorized\": 7500,\n      \"amount_charged\": 7500,\n      \"product_id\": \"prod_12345\"\n    },\n    \"name\": \"John Smith\",\n    \"issuer\": \"Chase Bank\"\n  },\n  \"paypal\": {\n    \"email\": \"string\",\n    \"firstName\": \"string\",\n    \"lastName\": \"string\"\n  },\n  \"cashapp\": {\n    \"cashtag\": \"$acmecustomer\",\n    \"name\": \"Jenny Rosen\"\n  },\n  \"us_bank_account\": {\n    \"country\": \"string\",\n    \"currency\": \"string\",\n    \"last4\": \"string\",\n    \"account_holder_name\": \"string\",\n    \"account_holder_type\": \"company\",\n    \"routing_number\": \"string\",\n    \"fingerprint\": \"string\",\n    \"bank_name\": \"string\",\n    \"account_type\": \"checking\",\n    \"source\": \"string\"\n  },\n  \"in_bank_account\": {\n    \"country\": \"string\",\n    \"currency\": \"string\",\n    \"last4\": \"string\",\n    \"account_holder_name\": \"string\",\n    \"account_holder_type\": \"individual\",\n    \"routing_number\": \"string\",\n    \"fingerprint\": \"string\",\n    \"bank_name\": \"string\",\n    \"account_type\": \"savings\",\n    \"source\": \"string\"\n  },\n  \"eu_bank_account\": {\n    \"country\": \"string\",\n    \"currency\": \"string\",\n    \"last4\": \"string\",\n    \"account_holder_name\": \"string\",\n    \"account_holder_type\": \"individual\",\n    \"routing_number\": \"string\",\n    \"fingerprint\": \"string\",\n    \"bank_name\": \"string\",\n    \"account_type\": \"checking\",\n    \"source\": \"string\"\n  },\n  \"uk_bank_account\": {\n    \"country\": \"string\",\n    \"currency\": \"string\",\n    \"last4\": \"string\",\n    \"account_holder_name\": \"string\",\n    \"account_holder_type\": \"company\",\n    \"routing_number\": \"string\",\n    \"fingerprint\": \"string\",\n    \"bank_name\": \"string\",\n    \"account_type\": \"savings\",\n    \"source\": \"string\"\n  },\n  \"crypto\": {},\n  \"ecopayz\": {},\n  \"fonix\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0189e19d-fe8e-5e10-8d5a-40a616de74ba","name":"Invalid request parameters (including `off_session: true` for a payment method without a network transaction ID), or the issuer declined the verification (`payment_method_error` with a `decline_code`, such as `authentication_required` when 3D Secure would be needed).","originalRequest":{"url":{"path":["payment_methods",":payment_method_id","verify"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fbc586a3-5d94-5f29-bc19-a266f4f50aec","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["payment_methods",":payment_method_id","verify"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f368d3d9-11be-5dbc-9ed0-ad38709aa8e8","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id","verify"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3d2a0fa8-5555-5b94-beec-c8c1588d0a2f","name":"Payment method not found or deleted.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id","verify"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2698f2e5-cb08-57cc-b115-21a82a006b94","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id","verify"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"db312047-abf4-5a8b-a1de-4aadb4c5aa8b","name":"The merchant's current state, or the processor, does not allow verifications.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id","verify"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"Payment method is not set up for \\\"off_session\\\" mode\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"58f1116f-3c73-5802-8814-8851a85ca184","name":"Internal server error.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id","verify"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"06e34726-4917-5a02-9b4c-f94d73274619","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id","verify"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"80d06bdc-493e-580f-a466-13e5d9c42e4c","name":"Retrieve a payment method","request":{"name":"Retrieve a payment method","description":{"content":"Retrieves the details of a payment method.","type":"text/plain"},"url":{"path":["payment_methods",":payment_method_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"9640b1d4-a073-597e-921a-fb49d2dd8305","name":"Returns the payment method object.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"pm_card_296645958265997316\",\n  \"type\": \"card\",\n  \"resource\": \"payment_method\",\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"status\": \"created\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  },\n  \"off_session\": true,\n  \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n  \"risk_assessment_details\": {\n    \"outcome\": \"allow\",\n    \"outcome_source\": \"score\",\n    \"rule_id\": \"rl_296645958265997337\",\n    \"rules_id\": [\n      \"rl_296645958265997337\"\n    ],\n    \"score\": \"31\",\n    \"flags\": [\n      \"no_correlation_history\",\n      \"multiple_identities_billing\",\n      \"multiple_identities_card\",\n      \"free_email_provider\",\n      \"risky_billing_time\",\n      \"velocity_multiple_addresses\",\n      \"velocity_multiple_names\"\n    ]\n  },\n  \"underlying_network_id\": \"123456789012345\",\n  \"underlying_network_details\": {\n    \"network\": \"visa\",\n    \"visa\": {\n      \"arn\": \"74234567890123456789012\",\n      \"auth_code\": \"123456\",\n      \"raw_response_code\": \"00\",\n      \"rrn\": \"123456789012\",\n      \"eci\": \"05\",\n      \"aci\": \"Y\",\n      \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n    }\n  },\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"flow_directions\": {\n    \"payment\": false,\n    \"payout\": true\n  },\n  \"test_mode\": true,\n  \"card\": {\n    \"bin\": \"424242\",\n    \"brand\": \"visa\",\n    \"cardholder_currency\": \"usd\",\n    \"country\": \"US\",\n    \"exp_month\": \"12\",\n    \"exp_year\": \"2028\",\n    \"fingerprint\": \"fp_abc123xyz789\",\n    \"funding\": \"unknown\",\n    \"last4\": \"4242\",\n    \"network\": \"visa\",\n    \"category\": \"consumer\",\n    \"security_checks\": {\n      \"address_line1_check\": \"unavailable\",\n      \"address_postal_code_check\": \"unavailable\",\n      \"cvc_check\": \"pass\"\n    },\n    \"wallet\": {\n      \"type\": \"googlepay\",\n      \"googlepay\": {\n        \"type\": \"cryptogram_3ds\",\n        \"physical_card_last4\": \"4242\"\n      },\n      \"applepay\": {\n        \"physical_card_last4\": \"4242\"\n      },\n      \"ctp\": {\n        \"physical_card_last4\": \"string\",\n        \"physical_card_bin\": \"string\",\n        \"physical_card_exp_month\": \"string\",\n        \"physical_card_exp_year\": \"string\"\n      }\n    },\n    \"token\": \"tok_card_296645958265997326\",\n    \"three_d_secure\": {\n      \"authentication_flow\": \"challenge\",\n      \"result\": \"success\",\n      \"result_reason\": \"authenticated\",\n      \"version\": \"2.2.0\",\n      \"eci\": \"05\",\n      \"cardholder_info\": \"string\",\n      \"liability_shift\": true\n    },\n    \"three_ds\": {\n      \"authentication_flow\": \"challenge\",\n      \"result\": \"success\",\n      \"result_reason\": \"authenticated\",\n      \"status_reason\": \"string\",\n      \"protocol_version\": \"2.2.0\",\n      \"eci\": \"02\",\n      \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n      \"liability_shift\": true,\n      \"cardholder_info\": \"string\",\n      \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n      \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n      \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n      \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n      \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n    },\n    \"payout\": \"not_available\",\n    \"name_verification\": \"match\",\n    \"partial_approval\": {\n      \"status\": \"accepted\",\n      \"amount_requested\": 10000,\n      \"amount_authorized\": 7500,\n      \"amount_charged\": 7500,\n      \"product_id\": \"prod_12345\"\n    },\n    \"name\": \"John Smith\",\n    \"issuer\": \"Chase Bank\"\n  },\n  \"paypal\": {\n    \"email\": \"string\",\n    \"firstName\": \"string\",\n    \"lastName\": \"string\"\n  },\n  \"cashapp\": {\n    \"cashtag\": \"$acmecustomer\",\n    \"name\": \"Jenny Rosen\"\n  },\n  \"us_bank_account\": {\n    \"country\": \"string\",\n    \"currency\": \"string\",\n    \"last4\": \"string\",\n    \"account_holder_name\": \"string\",\n    \"account_holder_type\": \"company\",\n    \"routing_number\": \"string\",\n    \"fingerprint\": \"string\",\n    \"bank_name\": \"string\",\n    \"account_type\": \"checking\",\n    \"source\": \"string\"\n  },\n  \"in_bank_account\": {\n    \"country\": \"string\",\n    \"currency\": \"string\",\n    \"last4\": \"string\",\n    \"account_holder_name\": \"string\",\n    \"account_holder_type\": \"individual\",\n    \"routing_number\": \"string\",\n    \"fingerprint\": \"string\",\n    \"bank_name\": \"string\",\n    \"account_type\": \"savings\",\n    \"source\": \"string\"\n  },\n  \"eu_bank_account\": {\n    \"country\": \"string\",\n    \"currency\": \"string\",\n    \"last4\": \"string\",\n    \"account_holder_name\": \"string\",\n    \"account_holder_type\": \"individual\",\n    \"routing_number\": \"string\",\n    \"fingerprint\": \"string\",\n    \"bank_name\": \"string\",\n    \"account_type\": \"checking\",\n    \"source\": \"string\"\n  },\n  \"uk_bank_account\": {\n    \"country\": \"string\",\n    \"currency\": \"string\",\n    \"last4\": \"string\",\n    \"account_holder_name\": \"string\",\n    \"account_holder_type\": \"company\",\n    \"routing_number\": \"string\",\n    \"fingerprint\": \"string\",\n    \"bank_name\": \"string\",\n    \"account_type\": \"savings\",\n    \"source\": \"string\"\n  },\n  \"crypto\": {},\n  \"ecopayz\": {},\n  \"fonix\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"af778614-68de-5da2-a9f3-d9b7f353e668","name":"Invalid request parameters.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ce213a5c-2911-52f0-a849-3162a9161239","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["payment_methods",":payment_method_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9415e27b-0c38-5fa9-bf4b-bdce4c650062","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f0037390-307c-5094-9feb-84bc479abbf9","name":"Payment method not found.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8969507b-b568-5b94-b8ae-1a092622393a","name":"Internal server error.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"24086cfb-a877-509f-a657-753809f08a94","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"49c3656a-0d08-5c0f-9d67-590ceed0d081","name":"Delete a payment method","request":{"name":"Delete a payment method","description":{"content":"Deletes a payment method.","type":"text/plain"},"url":{"path":["payment_methods",":payment_method_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":null},"response":[{"id":"82ce13cb-d5be-5703-9412-dd3787a58fcc","name":"Payment method deleted successfully.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"70480191-0862-5bd9-93c8-10884cf575bf","name":"Invalid request parameters.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2dcd4adc-312e-5b8d-8e18-0ef4bc03b338","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["payment_methods",":payment_method_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6aef6cc1-0b69-5540-ac67-84cbf4bc6830","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c5bb26ed-578c-5403-8499-dcca0896b0fd","name":"Payment method not found, or it belongs to another merchant.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"79b55d2b-89c0-5103-8310-4f6bd48c5cb5","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"082763a6-506f-5416-805a-724ab0d3ad4e","name":"Internal server error.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"059df83f-7a96-5d83-af00-580eda606eef","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"5219d61e-d7d1-5023-814d-95eb0bfd3ab5","name":"Update a payment method","request":{"name":"Update a payment method","description":{"content":"Updates the metadata of a payment method. The `metadata` you send replaces the stored metadata as a whole; keys you leave out are deleted.","type":"text/plain"},"url":{"path":["payment_methods",":payment_method_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":null,"body":{"mode":"raw","raw":"{\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  },\n  \"billing_details\": {\n    \"address\": {\n      \"line1\": \"1 Market St\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94105\",\n      \"country\": \"US\"\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"0fd86fd4-79b8-580a-8457-b03f31c7e5e7","name":"Returns the updated payment method object.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"pm_card_296645958265997316\",\n  \"type\": \"card\",\n  \"resource\": \"payment_method\",\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"status\": \"created\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  },\n  \"off_session\": true,\n  \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n  \"risk_assessment_details\": {\n    \"outcome\": \"allow\",\n    \"outcome_source\": \"score\",\n    \"rule_id\": \"rl_296645958265997337\",\n    \"rules_id\": [\n      \"rl_296645958265997337\"\n    ],\n    \"score\": \"31\",\n    \"flags\": [\n      \"no_correlation_history\",\n      \"multiple_identities_billing\",\n      \"multiple_identities_card\",\n      \"free_email_provider\",\n      \"risky_billing_time\",\n      \"velocity_multiple_addresses\",\n      \"velocity_multiple_names\"\n    ]\n  },\n  \"underlying_network_id\": \"123456789012345\",\n  \"underlying_network_details\": {\n    \"network\": \"visa\",\n    \"visa\": {\n      \"arn\": \"74234567890123456789012\",\n      \"auth_code\": \"123456\",\n      \"raw_response_code\": \"00\",\n      \"rrn\": \"123456789012\",\n      \"eci\": \"05\",\n      \"aci\": \"Y\",\n      \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n    }\n  },\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"flow_directions\": {\n    \"payment\": false,\n    \"payout\": true\n  },\n  \"test_mode\": true,\n  \"card\": {\n    \"bin\": \"424242\",\n    \"brand\": \"visa\",\n    \"cardholder_currency\": \"usd\",\n    \"country\": \"US\",\n    \"exp_month\": \"12\",\n    \"exp_year\": \"2028\",\n    \"fingerprint\": \"fp_abc123xyz789\",\n    \"funding\": \"unknown\",\n    \"last4\": \"4242\",\n    \"network\": \"visa\",\n    \"category\": \"consumer\",\n    \"security_checks\": {\n      \"address_line1_check\": \"unavailable\",\n      \"address_postal_code_check\": \"unavailable\",\n      \"cvc_check\": \"pass\"\n    },\n    \"wallet\": {\n      \"type\": \"googlepay\",\n      \"googlepay\": {\n        \"type\": \"cryptogram_3ds\",\n        \"physical_card_last4\": \"4242\"\n      },\n      \"applepay\": {\n        \"physical_card_last4\": \"4242\"\n      },\n      \"ctp\": {\n        \"physical_card_last4\": \"string\",\n        \"physical_card_bin\": \"string\",\n        \"physical_card_exp_month\": \"string\",\n        \"physical_card_exp_year\": \"string\"\n      }\n    },\n    \"token\": \"tok_card_296645958265997326\",\n    \"three_d_secure\": {\n      \"authentication_flow\": \"challenge\",\n      \"result\": \"success\",\n      \"result_reason\": \"authenticated\",\n      \"version\": \"2.2.0\",\n      \"eci\": \"05\",\n      \"cardholder_info\": \"string\",\n      \"liability_shift\": true\n    },\n    \"three_ds\": {\n      \"authentication_flow\": \"challenge\",\n      \"result\": \"success\",\n      \"result_reason\": \"authenticated\",\n      \"status_reason\": \"string\",\n      \"protocol_version\": \"2.2.0\",\n      \"eci\": \"02\",\n      \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n      \"liability_shift\": true,\n      \"cardholder_info\": \"string\",\n      \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n      \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n      \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n      \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n      \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n    },\n    \"payout\": \"not_available\",\n    \"name_verification\": \"match\",\n    \"partial_approval\": {\n      \"status\": \"accepted\",\n      \"amount_requested\": 10000,\n      \"amount_authorized\": 7500,\n      \"amount_charged\": 7500,\n      \"product_id\": \"prod_12345\"\n    },\n    \"name\": \"John Smith\",\n    \"issuer\": \"Chase Bank\"\n  },\n  \"paypal\": {\n    \"email\": \"string\",\n    \"firstName\": \"string\",\n    \"lastName\": \"string\"\n  },\n  \"cashapp\": {\n    \"cashtag\": \"$acmecustomer\",\n    \"name\": \"Jenny Rosen\"\n  },\n  \"us_bank_account\": {\n    \"country\": \"string\",\n    \"currency\": \"string\",\n    \"last4\": \"string\",\n    \"account_holder_name\": \"string\",\n    \"account_holder_type\": \"company\",\n    \"routing_number\": \"string\",\n    \"fingerprint\": \"string\",\n    \"bank_name\": \"string\",\n    \"account_type\": \"checking\",\n    \"source\": \"string\"\n  },\n  \"in_bank_account\": {\n    \"country\": \"string\",\n    \"currency\": \"string\",\n    \"last4\": \"string\",\n    \"account_holder_name\": \"string\",\n    \"account_holder_type\": \"individual\",\n    \"routing_number\": \"string\",\n    \"fingerprint\": \"string\",\n    \"bank_name\": \"string\",\n    \"account_type\": \"savings\",\n    \"source\": \"string\"\n  },\n  \"eu_bank_account\": {\n    \"country\": \"string\",\n    \"currency\": \"string\",\n    \"last4\": \"string\",\n    \"account_holder_name\": \"string\",\n    \"account_holder_type\": \"individual\",\n    \"routing_number\": \"string\",\n    \"fingerprint\": \"string\",\n    \"bank_name\": \"string\",\n    \"account_type\": \"checking\",\n    \"source\": \"string\"\n  },\n  \"uk_bank_account\": {\n    \"country\": \"string\",\n    \"currency\": \"string\",\n    \"last4\": \"string\",\n    \"account_holder_name\": \"string\",\n    \"account_holder_type\": \"company\",\n    \"routing_number\": \"string\",\n    \"fingerprint\": \"string\",\n    \"bank_name\": \"string\",\n    \"account_type\": \"savings\",\n    \"source\": \"string\"\n  },\n  \"crypto\": {},\n  \"ecopayz\": {},\n  \"fonix\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7ac0760d-d66c-5604-ac46-989fe615401d","name":"Invalid request parameters.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a556777c-33b0-53dd-88f6-e16467ff6b68","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["payment_methods",":payment_method_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9d8f38ed-8d7b-5819-a575-ab0995ab30ec","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f9366ed8-205e-555e-8253-a0dfed3421da","name":"Payment method not found.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a1b73537-0ad2-5331-a97f-e676d6d4574e","name":"Internal server error.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ccc047b9-7229-59c1-985b-b10f9f4f0936","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c4c392aa-0e24-588e-99d2-1127d6b24ba4","name":"Create a payment method from token","request":{"name":"Create a payment method from token","description":{"content":"Creates a card payment method for a customer from a Pay.com card token (`tok_card_`) or from the `reference` of a card imported with `POST /payment_methods/import`.","type":"text/plain"},"url":{"path":["payment_methods","create_from_token"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"token\": \"tok_card_296645958265997326\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"314a5c85-5337-5620-972d-bd9ce947e1be","name":"Returns the created payment method object.","originalRequest":{"url":{"path":["payment_methods","create_from_token"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"pm_card_296645958265997316\",\n  \"resource\": \"payment_method\",\n  \"type\": \"card\",\n  \"card\": {\n    \"bin\": \"424242\",\n    \"brand\": \"visa\",\n    \"cardholder_currency\": \"usd\",\n    \"country\": \"us\",\n    \"exp_month\": \"12\",\n    \"exp_year\": \"2028\",\n    \"fingerprint\": \"fp_abc123xyz789\",\n    \"funding\": \"credit\",\n    \"last4\": \"4242\",\n    \"network\": \"visa\",\n    \"token\": \"tok_card_296645958265997326\",\n    \"three_d_secure\": null,\n    \"security_checks\": null,\n    \"wallet\": {\n      \"type\": \"googlepay\"\n    }\n  },\n  \"flow_directions\": {\n    \"payment\": false,\n    \"payout\": false\n  },\n  \"test_mode\": false,\n  \"status\": null,\n  \"reference\": \"string\",\n  \"metadata\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c75ee81f-656f-546e-a027-8e1ebdafa5da","name":"Invalid request parameters. Also returned with `Invalid token provided` when `token` is a payment method ID (`pm_`) rather than a token.","originalRequest":{"url":{"path":["payment_methods","create_from_token"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0c7f2cc1-c47f-5e59-9a18-179d797208d7","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["payment_methods","create_from_token"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f131c40f-7268-56c9-8add-1bcbbcf4bf99","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["payment_methods","create_from_token"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6cc74f15-efaa-5835-9246-0c1cd7712191","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["payment_methods","create_from_token"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b5ca31fe-4e36-5880-8265-4282f8f713c1","name":"Unprocessable content. Returned when `token` is an external token that is not stored for your account (`No card was found for external payment method id`).","originalRequest":{"url":{"path":["payment_methods","create_from_token"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"Payment method is not set up for \\\"off_session\\\" mode\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"13d76582-b2e1-503f-b896-52e8b5f5f349","name":"Internal server error.","originalRequest":{"url":{"path":["payment_methods","create_from_token"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"be9e3f4d-ae90-5dea-a1db-7fc0941a8cac","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["payment_methods","create_from_token"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"f0972c15-8f2d-5990-b4a7-93cd351abbd5","name":"Copy customer payment methods between merchants","request":{"name":"Copy customer payment methods between merchants","description":{"content":"Copies all reusable payment methods of a customer from a source merchant to the current (destination) merchant, which is determined by the API key. A customer is created (or reused) under the destination merchant, and each payment method is re-created with the new merchant and customer IDs while keeping the original card token. The source merchant must belong to the same company as the destination merchant. When `continuous_sync` is `true`, the initial copy covers every payment method (including non-reusable and wallet types, unlike the default one-shot copy) and a persistent bidirectional sync is established; see `continuous_sync` for details. Use `POST /payment_methods/copy/disable` to remove a sync pair.","type":"text/plain"},"url":{"path":["payment_methods","copy"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"source_merchant_id\": \"296645958265997325\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"source_customer_reference_id\": \"cust_ext_abc123\",\n  \"continuous_sync\": true\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"4ca19081-7e3a-59fb-990a-3173b2b31a32","name":"Returns the destination customer that the payment methods were copied to.","originalRequest":{"url":{"path":["payment_methods","copy"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"consumer_id\": \"296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4f7a892d-f879-5603-b405-1d5af8c5f530","name":"Invalid request parameters, including a `continuous_sync` request for a customer that is already continuously synced to a different destination.","originalRequest":{"url":{"path":["payment_methods","copy"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8360ab31-fc84-56fc-bd7b-06aad0d5ea39","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["payment_methods","copy"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c4333ede-656e-517d-bdf3-5e340b802112","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["payment_methods","copy"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b5cdc11a-c240-50c4-8e1f-a226547ea485","name":"Source customer not found.","originalRequest":{"url":{"path":["payment_methods","copy"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4678fd16-963f-525f-ba5f-4cabff6799a5","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["payment_methods","copy"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ef3d168f-49b9-5083-9bde-13bb2adaf86d","name":"Internal server error.","originalRequest":{"url":{"path":["payment_methods","copy"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"65ca7b04-f93f-57bf-992d-aa90ec67917a","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["payment_methods","copy"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"526cf682-8d27-587e-b816-20b72a193944","name":"Disable payment method sync between merchants","request":{"name":"Disable payment method sync between merchants","description":{"content":"Removes the persistent bidirectional sync established by `POST /payment_methods/copy` with `continuous_sync` set to `true`, for the given customer pair only. This operation is idempotent: when both customers exist, disabling a pair that is not currently synced returns a successful no-op response. If either the source or the destination customer does not exist, the response is 404.","type":"text/plain"},"url":{"path":["payment_methods","copy","disable"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"source_merchant_id\": \"296645958265997325\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"source_customer_reference_id\": \"cust_ext_abc123\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"bedccf84-7912-536e-822c-c0dd2e78ea37","name":"Returns the destination customer that the sync was disabled for.","originalRequest":{"url":{"path":["payment_methods","copy","disable"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"consumer_id\": \"296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cc540455-5a71-58b2-95c8-56fff0105b00","name":"Invalid request parameters.","originalRequest":{"url":{"path":["payment_methods","copy","disable"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d1803dde-d615-517c-8b24-17d947d3c2fc","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["payment_methods","copy","disable"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8bdeb290-6e63-5840-bc72-cd0eea4e0342","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["payment_methods","copy","disable"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"049efa87-22f9-5a50-8c4b-8360ce36a296","name":"Source or destination customer not found.","originalRequest":{"url":{"path":["payment_methods","copy","disable"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b523dbce-61f1-52f6-9b99-310253e216ca","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["payment_methods","copy","disable"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"16dd9a4f-438e-5e8c-8430-6e04ca7b4a27","name":"Internal server error.","originalRequest":{"url":{"path":["payment_methods","copy","disable"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"352caa86-003d-53c2-b7b6-dddcbf6e5224","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["payment_methods","copy","disable"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"aeb63445-96fb-500c-b3d7-e5283363ca36","name":"Run the account billing updater for a payment method","request":{"name":"Run the account billing updater for a payment method","description":{"content":"Checks a card with the card network's account updater and, when the issuer reports new card details (for example a new expiry date), updates the stored payment method and sends a `payment_method.updated` webhook.\n\nIdentify the card in one of three ways:\n- `type: source` with `source`, the ID of an existing payment method (or a card token).\n- `type: card` with raw `card` details. They require an API key enabled for raw card data and are tokenized before they reach the payment API. A payment method is created for the customer.\n- `type: token` with `token.id`, a Pay.com card token or the `reference` of an imported card. A payment method is created for the customer.","type":"text/plain"},"url":{"path":["payment_methods","account_billing_updater"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"type\": \"source\",\n  \"source\": \"pm_card_296645958265997316\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"6ebbcba1-d6a9-5561-8793-2c494fd186d8","name":"Returns the payment method object, with the updated card details if the issuer reported a change.","originalRequest":{"url":{"path":["payment_methods","account_billing_updater"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"source\",\n  \"source\": \"pm_card_296645958265997316\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"pm_card_296645958265997316\",\n  \"type\": \"card\",\n  \"resource\": \"payment_method\",\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"status\": \"created\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  },\n  \"off_session\": true,\n  \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n  \"risk_assessment_details\": {\n    \"outcome\": \"allow\",\n    \"outcome_source\": \"score\",\n    \"rule_id\": \"rl_296645958265997337\",\n    \"rules_id\": [\n      \"rl_296645958265997337\"\n    ],\n    \"score\": \"31\",\n    \"flags\": [\n      \"no_correlation_history\",\n      \"multiple_identities_billing\",\n      \"multiple_identities_card\",\n      \"free_email_provider\",\n      \"risky_billing_time\",\n      \"velocity_multiple_addresses\",\n      \"velocity_multiple_names\"\n    ]\n  },\n  \"underlying_network_id\": \"123456789012345\",\n  \"underlying_network_details\": {\n    \"network\": \"visa\",\n    \"visa\": {\n      \"arn\": \"74234567890123456789012\",\n      \"auth_code\": \"123456\",\n      \"raw_response_code\": \"00\",\n      \"rrn\": \"123456789012\",\n      \"eci\": \"05\",\n      \"aci\": \"Y\",\n      \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n    }\n  },\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"flow_directions\": {\n    \"payment\": false,\n    \"payout\": true\n  },\n  \"test_mode\": true,\n  \"card\": {\n    \"bin\": \"424242\",\n    \"brand\": \"visa\",\n    \"cardholder_currency\": \"usd\",\n    \"country\": \"US\",\n    \"exp_month\": \"12\",\n    \"exp_year\": \"2028\",\n    \"fingerprint\": \"fp_abc123xyz789\",\n    \"funding\": \"unknown\",\n    \"last4\": \"4242\",\n    \"network\": \"visa\",\n    \"category\": \"consumer\",\n    \"security_checks\": {\n      \"address_line1_check\": \"unavailable\",\n      \"address_postal_code_check\": \"unavailable\",\n      \"cvc_check\": \"pass\"\n    },\n    \"wallet\": {\n      \"type\": \"googlepay\",\n      \"googlepay\": {\n        \"type\": \"cryptogram_3ds\",\n        \"physical_card_last4\": \"4242\"\n      },\n      \"applepay\": {\n        \"physical_card_last4\": \"4242\"\n      },\n      \"ctp\": {\n        \"physical_card_last4\": \"string\",\n        \"physical_card_bin\": \"string\",\n        \"physical_card_exp_month\": \"string\",\n        \"physical_card_exp_year\": \"string\"\n      }\n    },\n    \"token\": \"tok_card_296645958265997326\",\n    \"three_d_secure\": {\n      \"authentication_flow\": \"challenge\",\n      \"result\": \"success\",\n      \"result_reason\": \"authenticated\",\n      \"version\": \"2.2.0\",\n      \"eci\": \"05\",\n      \"cardholder_info\": \"string\",\n      \"liability_shift\": true\n    },\n    \"three_ds\": {\n      \"authentication_flow\": \"challenge\",\n      \"result\": \"success\",\n      \"result_reason\": \"authenticated\",\n      \"status_reason\": \"string\",\n      \"protocol_version\": \"2.2.0\",\n      \"eci\": \"02\",\n      \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n      \"liability_shift\": true,\n      \"cardholder_info\": \"string\",\n      \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n      \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n      \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n      \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n      \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n    },\n    \"payout\": \"not_available\",\n    \"name_verification\": \"match\",\n    \"partial_approval\": {\n      \"status\": \"accepted\",\n      \"amount_requested\": 10000,\n      \"amount_authorized\": 7500,\n      \"amount_charged\": 7500,\n      \"product_id\": \"prod_12345\"\n    },\n    \"name\": \"John Smith\",\n    \"issuer\": \"Chase Bank\"\n  },\n  \"paypal\": {\n    \"email\": \"string\",\n    \"firstName\": \"string\",\n    \"lastName\": \"string\"\n  },\n  \"cashapp\": {\n    \"cashtag\": \"$acmecustomer\",\n    \"name\": \"Jenny Rosen\"\n  },\n  \"us_bank_account\": {\n    \"country\": \"string\",\n    \"currency\": \"string\",\n    \"last4\": \"string\",\n    \"account_holder_name\": \"string\",\n    \"account_holder_type\": \"company\",\n    \"routing_number\": \"string\",\n    \"fingerprint\": \"string\",\n    \"bank_name\": \"string\",\n    \"account_type\": \"checking\",\n    \"source\": \"string\"\n  },\n  \"in_bank_account\": {\n    \"country\": \"string\",\n    \"currency\": \"string\",\n    \"last4\": \"string\",\n    \"account_holder_name\": \"string\",\n    \"account_holder_type\": \"individual\",\n    \"routing_number\": \"string\",\n    \"fingerprint\": \"string\",\n    \"bank_name\": \"string\",\n    \"account_type\": \"savings\",\n    \"source\": \"string\"\n  },\n  \"eu_bank_account\": {\n    \"country\": \"string\",\n    \"currency\": \"string\",\n    \"last4\": \"string\",\n    \"account_holder_name\": \"string\",\n    \"account_holder_type\": \"individual\",\n    \"routing_number\": \"string\",\n    \"fingerprint\": \"string\",\n    \"bank_name\": \"string\",\n    \"account_type\": \"checking\",\n    \"source\": \"string\"\n  },\n  \"uk_bank_account\": {\n    \"country\": \"string\",\n    \"currency\": \"string\",\n    \"last4\": \"string\",\n    \"account_holder_name\": \"string\",\n    \"account_holder_type\": \"company\",\n    \"routing_number\": \"string\",\n    \"fingerprint\": \"string\",\n    \"bank_name\": \"string\",\n    \"account_type\": \"savings\",\n    \"source\": \"string\"\n  },\n  \"crypto\": {},\n  \"ecopayz\": {},\n  \"fonix\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"266c9241-6b53-5b10-9b7f-1eae9bd991a4","name":"Invalid request parameters. Also returned with `Invalid source provided` when `source` belongs to another merchant, and `Invalid card provided` when the card token cannot be resolved.","originalRequest":{"url":{"path":["payment_methods","account_billing_updater"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"source\",\n  \"source\": \"pm_card_296645958265997316\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"39b59d6a-6bcb-595d-bd3f-045c5460c63f","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["payment_methods","account_billing_updater"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"source\",\n  \"source\": \"pm_card_296645958265997316\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6ae0f93a-5e15-5ad4-9b5b-c54496e32f8e","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["payment_methods","account_billing_updater"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"source\",\n  \"source\": \"pm_card_296645958265997316\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f5a211e5-5191-55d7-be21-01e76f56fde2","name":"Payment method or card token not found.","originalRequest":{"url":{"path":["payment_methods","account_billing_updater"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"source\",\n  \"source\": \"pm_card_296645958265997316\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"71c08658-dc2a-561d-96a0-63eee2b5f060","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["payment_methods","account_billing_updater"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"source\",\n  \"source\": \"pm_card_296645958265997316\"\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"93bfb7d0-f23d-5537-8053-ffe32073afed","name":"Unprocessable content. Returned when `source` or `token.id` is an external token that is not stored for your account.","originalRequest":{"url":{"path":["payment_methods","account_billing_updater"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"source\",\n  \"source\": \"pm_card_296645958265997316\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"Payment method is not set up for \\\"off_session\\\" mode\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"feaf08a4-1683-54bf-ad5d-1f3d4a3818ff","name":"Internal server error.","originalRequest":{"url":{"path":["payment_methods","account_billing_updater"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"source\",\n  \"source\": \"pm_card_296645958265997316\"\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"603e32a2-d5e2-5fcf-9f7e-3ec7d67dfc4b","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["payment_methods","account_billing_updater"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"source\",\n  \"source\": \"pm_card_296645958265997316\"\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"744b8000-e8cb-5d62-8a74-9a5585029a59","name":"Import a payment method","request":{"name":"Import a payment method","description":{"content":"Imports a payment method you already hold, for example a card stored with another payment provider, without verifying it with the issuer.\n\n- `type: card`: send the raw card details. They require an API key enabled for raw card data and are tokenized before they reach the payment API. Send the provider's payment method ID as `reference` so that `POST /payment_methods/create_from_token` can later find the card by that ID.\n- `type: nuvei_ibt`: imports a Nuvei instant bank transfer payment method; `settlement_account` is required.","type":"text/plain"},"url":{"path":["payment_methods","import"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"type\": \"card\",\n  \"card\": {\n    \"number\": \"4242424242424242\",\n    \"expiry_month\": \"12\",\n    \"expiry_year\": \"2028\",\n    \"name\": \"John Smith\",\n    \"billing_address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  },\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"dff23e78-51aa-5a66-add0-80a66126cd23","name":"Returns the imported payment method object.","originalRequest":{"url":{"path":["payment_methods","import"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"card\",\n  \"card\": {\n    \"number\": \"4242424242424242\",\n    \"expiry_month\": \"12\",\n    \"expiry_year\": \"2028\",\n    \"name\": \"John Smith\",\n    \"billing_address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  },\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"pm_card_296645958265997316\",\n  \"resource\": \"payment_method\",\n  \"type\": \"card\",\n  \"card\": {\n    \"brand\": \"visa\",\n    \"country\": \"us\",\n    \"exp_month\": \"12\",\n    \"exp_year\": \"2028\",\n    \"fingerprint\": \"fp_abc123xyz789\",\n    \"funding\": \"credit\",\n    \"bin\": \"424242\",\n    \"last4\": \"4242\",\n    \"network\": \"visa\",\n    \"token\": \"tok_card_296645958265997326\",\n    \"cardholder_currency\": \"usd\",\n    \"three_d_secure\": null,\n    \"security_checks\": null,\n    \"wallet\": null\n  },\n  \"flow_directions\": {\n    \"payment\": true,\n    \"payout\": true\n  },\n  \"test_mode\": false,\n  \"status\": null,\n  \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6ef204a5-1848-5ed5-a51e-62c195b36766","name":"Invalid request parameters. Also returned when `settlement_account` is not an enabled settlement account, or the payment method is already bound to another settlement account.","originalRequest":{"url":{"path":["payment_methods","import"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"card\",\n  \"card\": {\n    \"number\": \"4242424242424242\",\n    \"expiry_month\": \"12\",\n    \"expiry_year\": \"2028\",\n    \"name\": \"John Smith\",\n    \"billing_address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  },\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"85562641-bd64-51a1-9a36-9a1b6d20cb7d","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["payment_methods","import"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"card\",\n  \"card\": {\n    \"number\": \"4242424242424242\",\n    \"expiry_month\": \"12\",\n    \"expiry_year\": \"2028\",\n    \"name\": \"John Smith\",\n    \"billing_address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  },\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"398d5ffc-b3bb-57e9-9b5c-140d56ec395e","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["payment_methods","import"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"card\",\n  \"card\": {\n    \"number\": \"4242424242424242\",\n    \"expiry_month\": \"12\",\n    \"expiry_year\": \"2028\",\n    \"name\": \"John Smith\",\n    \"billing_address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  },\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"45d83e71-6680-5ea6-9bcf-fd37ebc9828f","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["payment_methods","import"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"card\",\n  \"card\": {\n    \"number\": \"4242424242424242\",\n    \"expiry_month\": \"12\",\n    \"expiry_year\": \"2028\",\n    \"name\": \"John Smith\",\n    \"billing_address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  },\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"95fda027-7d43-576f-8744-075ce7276ef0","name":"Internal server error.","originalRequest":{"url":{"path":["payment_methods","import"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"card\",\n  \"card\": {\n    \"number\": \"4242424242424242\",\n    \"expiry_month\": \"12\",\n    \"expiry_year\": \"2028\",\n    \"name\": \"John Smith\",\n    \"billing_address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  },\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fda1c493-ffa6-590e-b6b2-843d27d8498b","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["payment_methods","import"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"card\",\n  \"card\": {\n    \"number\": \"4242424242424242\",\n    \"expiry_month\": \"12\",\n    \"expiry_year\": \"2028\",\n    \"name\": \"John Smith\",\n    \"billing_address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  },\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"6ac4df6e-01b6-5c94-ae66-0a14a4795bf8","name":"FraudWarnings","description":{"content":"Access fraud warnings and alerts associated with transactions to help identify potentially fraudulent activity.","type":"text/plain"},"item":[{"id":"186a8ff9-b108-5f20-b25a-fd25a30940eb","name":"Retrieve a fraud warning","request":{"name":"Retrieve a fraud warning","description":{"content":"Retrieves the details of a fraud warning.","type":"text/plain"},"url":{"path":["fraud_warnings",":transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"frdwrn_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the fraud warning. A fraud warning ID is `frdwrn_` followed by the digits of the charge ID it belongs to (for example `frdwrn_296645958265997312` for `chrg_296645958265997312`); a `chrg_` ID is rejected."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"1a5aec1c-ee9a-5b47-9b16-7f7858990dfa","name":"Returns the fraud warning object.","originalRequest":{"url":{"path":["fraud_warnings",":transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"frdwrn_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the fraud warning. A fraud warning ID is `frdwrn_` followed by the digits of the charge ID it belongs to (for example `frdwrn_296645958265997312` for `chrg_296645958265997312`); a `chrg_` ID is rejected."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"frdwrn_296645958265997312\",\n  \"resource\": \"fraud_warning\",\n  \"actionable\": true,\n  \"amount\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"currency\": \"usd\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"fraud_type\": \"made_with_lost_card\",\n  \"charge\": \"chrg_296645958265997312\",\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"reference\": \"2s68c46d\",\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"payment_method_details\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"bin\": \"424242\",\n      \"brand\": \"visa\",\n      \"cardholder_currency\": \"usd\",\n      \"country\": \"US\",\n      \"exp_month\": \"12\",\n      \"exp_year\": \"2028\",\n      \"fingerprint\": \"fp_abc123xyz789\",\n      \"funding\": \"unknown\",\n      \"last4\": \"4242\",\n      \"network\": \"visa\",\n      \"category\": \"consumer\",\n      \"security_checks\": {\n        \"address_line1_check\": \"unavailable\",\n        \"address_postal_code_check\": \"unavailable\",\n        \"cvc_check\": \"pass\"\n      },\n      \"wallet\": {\n        \"type\": \"googlepay\",\n        \"googlepay\": {\n          \"type\": \"cryptogram_3ds\",\n          \"physical_card_last4\": \"4242\"\n        },\n        \"applepay\": {\n          \"physical_card_last4\": \"4242\"\n        },\n        \"ctp\": {\n          \"physical_card_last4\": \"string\",\n          \"physical_card_bin\": \"string\",\n          \"physical_card_exp_month\": \"string\",\n          \"physical_card_exp_year\": \"string\"\n        }\n      },\n      \"token\": \"tok_card_296645958265997326\",\n      \"three_d_secure\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"version\": \"2.2.0\",\n        \"eci\": \"05\",\n        \"cardholder_info\": \"string\",\n        \"liability_shift\": true\n      },\n      \"three_ds\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"status_reason\": \"string\",\n        \"protocol_version\": \"2.2.0\",\n        \"eci\": \"02\",\n        \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n        \"liability_shift\": true,\n        \"cardholder_info\": \"string\",\n        \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n        \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n        \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n        \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n        \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n      },\n      \"payout\": \"not_available\",\n      \"name_verification\": \"match\",\n      \"partial_approval\": {\n        \"status\": \"accepted\",\n        \"amount_requested\": 10000,\n        \"amount_authorized\": 7500,\n        \"amount_charged\": 7500,\n        \"product_id\": \"prod_12345\"\n      },\n      \"name\": \"John Smith\",\n      \"issuer\": \"Chase Bank\"\n    },\n    \"cashapp\": {\n      \"cashtag\": \"$acmecustomer\",\n      \"name\": \"Jenny Rosen\"\n    },\n    \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n    \"setup_future_usage\": \"on_session\"\n  },\n  \"test_mode\": true,\n  \"settlement_account\": \"sa_296645958265997349\",\n  \"settlement_account_details\": {\n    \"processor\": \"worldpay\",\n    \"currency\": \"usd\",\n    \"name\": \"Main USD account\",\n    \"entity\": \"ent_296645958265997352\",\n    \"entity_details\": {\n      \"legal_name\": \"Acme Inc.\",\n      \"country\": \"US\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"88eb1a2a-ea08-5c6b-9068-9861c1af4a33","name":"Invalid request parameters.","originalRequest":{"url":{"path":["fraud_warnings",":transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"frdwrn_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the fraud warning. A fraud warning ID is `frdwrn_` followed by the digits of the charge ID it belongs to (for example `frdwrn_296645958265997312` for `chrg_296645958265997312`); a `chrg_` ID is rejected."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"facce915-46ef-5afd-9622-379c4ab7e539","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["fraud_warnings",":transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"frdwrn_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the fraud warning. A fraud warning ID is `frdwrn_` followed by the digits of the charge ID it belongs to (for example `frdwrn_296645958265997312` for `chrg_296645958265997312`); a `chrg_` ID is rejected."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"daa7bba3-481d-505c-9218-2557927582b7","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["fraud_warnings",":transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"frdwrn_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the fraud warning. A fraud warning ID is `frdwrn_` followed by the digits of the charge ID it belongs to (for example `frdwrn_296645958265997312` for `chrg_296645958265997312`); a `chrg_` ID is rejected."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4e5155fa-cd93-5b24-8866-104dd8a6b6d7","name":"Fraud warning not found.","originalRequest":{"url":{"path":["fraud_warnings",":transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"frdwrn_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the fraud warning. A fraud warning ID is `frdwrn_` followed by the digits of the charge ID it belongs to (for example `frdwrn_296645958265997312` for `chrg_296645958265997312`); a `chrg_` ID is rejected."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8a2f499d-4fa0-580f-beff-5f9a45f890ff","name":"Internal server error.","originalRequest":{"url":{"path":["fraud_warnings",":transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"frdwrn_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the fraud warning. A fraud warning ID is `frdwrn_` followed by the digits of the charge ID it belongs to (for example `frdwrn_296645958265997312` for `chrg_296645958265997312`); a `chrg_` ID is rejected."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8d096134-e74f-5687-9572-b405853f7ff6","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["fraud_warnings",":transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"frdwrn_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the fraud warning. A fraud warning ID is `frdwrn_` followed by the digits of the charge ID it belongs to (for example `frdwrn_296645958265997312` for `chrg_296645958265997312`); a `chrg_` ID is rejected."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"48976c39-1f65-591c-99cc-afe0014b0187","name":"List fraud warnings","request":{"name":"List fraud warnings","description":{"content":"Returns a list of fraud warnings, sorted by the underlying charge, oldest first.\n\nThe `created.*` filters apply to the date of the underlying charge, not to the fraud warning's `created` time.\n\nOnly one list query per merchant can run at a time; a concurrent query returns 429.","type":"text/plain"},"url":{"path":["fraud_warnings"],"host":["{{pay_base_url}}"],"query":[{"disabled":false,"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z","description":"Return objects created on or after this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.greater_than`."},{"disabled":false,"key":"created.greater_than","value":"2024-10-10T00:00:00Z","description":"Return objects created after this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.greater_than_or_equals`."},{"disabled":false,"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z","description":"Return objects created on or before this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.less_than`."},{"disabled":false,"key":"created.less_than","value":"2024-10-10T00:00:00Z","description":"Return objects created before this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.less_than_or_equals`."},{"disabled":false,"key":"limit","value":"10","description":"Maximum number of objects to return. Defaults to 10."},{"disabled":false,"key":"customer_reference_id","value":"cust_ext_abc123","description":"Your unique identifier for the customer."},{"disabled":false,"key":"ending_before","value":"string","description":"A cursor for pagination. Returns objects created before the object with this ID. Must be the ID of an object of the type being listed (for example a `chrg_` ID when listing charges); other IDs return 400. Lists are sorted by creation time, oldest first. Mutually exclusive with `starting_after`."},{"disabled":false,"key":"starting_after","value":"string","description":"A cursor for pagination. Returns objects created after the object with this ID. Must be the ID of an object of the type being listed (for example a `chrg_` ID when listing charges); other IDs return 400. Lists are sorted by creation time, oldest first. Mutually exclusive with `ending_before`."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"d2e6cb40-e69a-5f00-91e7-98342b163cae","name":"Returns a list of fraud warning objects.","originalRequest":{"url":{"path":["fraud_warnings"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"resource\": \"fraudWarnings\",\n  \"data\": [\n    {\n      \"id\": \"frdwrn_296645958265997312\",\n      \"resource\": \"fraud_warning\",\n      \"actionable\": true,\n      \"amount\": 10000,\n      \"amount_human_readable\": \"100.00\",\n      \"currency\": \"usd\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"fraud_type\": \"made_with_lost_card\",\n      \"charge\": \"chrg_296645958265997312\",\n      \"customer\": \"cust_296645958265997317\",\n      \"customer_reference_id\": \"cust_ext_abc123\",\n      \"reference\": \"2s68c46d\",\n      \"billing_details\": {\n        \"address\": {\n          \"city\": \"San Francisco\",\n          \"country\": \"US\",\n          \"line1\": \"123 Main Street\",\n          \"line2\": \"Suite 400\",\n          \"postal_code\": \"94102\",\n          \"state\": \"CA\"\n        },\n        \"name\": \"John Smith\",\n        \"email\": \"john.smith@example.com\",\n        \"phone\": \"+14155551234\",\n        \"dob\": \"1985-07-15\",\n        \"national_identification_number\": \"123-45-6789\"\n      },\n      \"payment_method\": \"pm_card_296645958265997316\",\n      \"payment_method_details\": {\n        \"type\": \"card\",\n        \"card\": {\n          \"bin\": \"424242\",\n          \"brand\": \"visa\",\n          \"cardholder_currency\": \"usd\",\n          \"country\": \"US\",\n          \"exp_month\": \"12\",\n          \"exp_year\": \"2028\",\n          \"fingerprint\": \"fp_abc123xyz789\",\n          \"funding\": \"unknown\",\n          \"last4\": \"4242\",\n          \"network\": \"visa\",\n          \"category\": \"consumer\",\n          \"security_checks\": {\n            \"address_line1_check\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"address_postal_code_check\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"cvc_check\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"wallet\": {\n            \"type\": \"googlepay\",\n            \"googlepay\": {\n              \"type\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"physical_card_last4\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            \"applepay\": {\n              \"physical_card_last4\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            \"ctp\": {\n              \"physical_card_last4\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"physical_card_bin\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"physical_card_exp_month\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"physical_card_exp_year\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            }\n          },\n          \"token\": \"tok_card_296645958265997326\",\n          \"three_d_secure\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"three_ds\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"payout\": \"not_available\",\n          \"name_verification\": \"match\",\n          \"partial_approval\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"name\": \"John Smith\",\n          \"issuer\": \"Chase Bank\"\n        },\n        \"cashapp\": {\n          \"cashtag\": \"$acmecustomer\",\n          \"name\": \"Jenny Rosen\"\n        },\n        \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n        \"setup_future_usage\": \"on_session\"\n      },\n      \"test_mode\": true,\n      \"settlement_account\": \"sa_296645958265997349\",\n      \"settlement_account_details\": {\n        \"processor\": \"worldpay\",\n        \"currency\": \"usd\",\n        \"name\": \"Main USD account\",\n        \"entity\": \"ent_296645958265997352\",\n        \"entity_details\": {\n          \"legal_name\": \"Acme Inc.\",\n          \"country\": \"US\"\n        }\n      }\n    },\n    {\n      \"id\": \"frdwrn_296645958265997312\",\n      \"resource\": \"fraud_warning\",\n      \"actionable\": true,\n      \"amount\": 10000,\n      \"amount_human_readable\": \"100.00\",\n      \"currency\": \"usd\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"fraud_type\": \"made_with_lost_card\",\n      \"charge\": \"chrg_296645958265997312\",\n      \"customer\": \"cust_296645958265997317\",\n      \"customer_reference_id\": \"cust_ext_abc123\",\n      \"reference\": \"2s68c46d\",\n      \"billing_details\": {\n        \"address\": {\n          \"city\": \"San Francisco\",\n          \"country\": \"US\",\n          \"line1\": \"123 Main Street\",\n          \"line2\": \"Suite 400\",\n          \"postal_code\": \"94102\",\n          \"state\": \"CA\"\n        },\n        \"name\": \"John Smith\",\n        \"email\": \"john.smith@example.com\",\n        \"phone\": \"+14155551234\",\n        \"dob\": \"1985-07-15\",\n        \"national_identification_number\": \"123-45-6789\"\n      },\n      \"payment_method\": \"pm_card_296645958265997316\",\n      \"payment_method_details\": {\n        \"type\": \"card\",\n        \"card\": {\n          \"bin\": \"424242\",\n          \"brand\": \"visa\",\n          \"cardholder_currency\": \"usd\",\n          \"country\": \"US\",\n          \"exp_month\": \"12\",\n          \"exp_year\": \"2028\",\n          \"fingerprint\": \"fp_abc123xyz789\",\n          \"funding\": \"debit\",\n          \"last4\": \"4242\",\n          \"network\": \"visa\",\n          \"category\": \"business\",\n          \"security_checks\": {\n            \"address_line1_check\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"address_postal_code_check\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"cvc_check\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"wallet\": {\n            \"type\": \"googlepay\",\n            \"googlepay\": {\n              \"type\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"physical_card_last4\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            \"applepay\": {\n              \"physical_card_last4\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            \"ctp\": {\n              \"physical_card_last4\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"physical_card_bin\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"physical_card_exp_month\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"physical_card_exp_year\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            }\n          },\n          \"token\": \"tok_card_296645958265997326\",\n          \"three_d_secure\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"three_ds\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"payout\": \"not_available\",\n          \"name_verification\": \"match\",\n          \"partial_approval\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"name\": \"John Smith\",\n          \"issuer\": \"Chase Bank\"\n        },\n        \"cashapp\": {\n          \"cashtag\": \"$acmecustomer\",\n          \"name\": \"Jenny Rosen\"\n        },\n        \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n        \"setup_future_usage\": \"on_session\"\n      },\n      \"test_mode\": true,\n      \"settlement_account\": \"sa_296645958265997349\",\n      \"settlement_account_details\": {\n        \"processor\": \"worldpay\",\n        \"currency\": \"usd\",\n        \"name\": \"Main USD account\",\n        \"entity\": \"ent_296645958265997352\",\n        \"entity_details\": {\n          \"legal_name\": \"Acme Inc.\",\n          \"country\": \"US\"\n        }\n      }\n    }\n  ],\n  \"has_more\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"caefb78f-2621-5a60-84ab-18fa9971bd54","name":"Invalid request parameters.","originalRequest":{"url":{"path":["fraud_warnings"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"49aab417-abf3-56b0-82e8-2aeaebdde929","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["fraud_warnings"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"64f43fd3-cdb8-5603-94f6-4b46b22a3ab9","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["fraud_warnings"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9f2867a5-cc13-5eab-a8d0-a78b176b1b19","name":"Another list query is already running for the merchant. Retry after the number of seconds in the `Retry-After` header.","originalRequest":{"url":{"path":["fraud_warnings"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"disabled":false,"description":"Number of seconds to wait before retrying.","key":"Retry-After","value":"1"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Only one bulk query per merchant can run at a time. Retry after the current query completes.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"545e0059-2763-50eb-a2b3-b314fbc4e6c9","name":"Internal server error.","originalRequest":{"url":{"path":["fraud_warnings"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1aa36dec-56b2-5cb6-af4c-8f3c626dfda1","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["fraud_warnings"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"e896964f-64c4-5c5a-b95f-371710a90a15","name":"Simulate a fraud warning","request":{"name":"Simulate a fraud warning","description":{"content":"Simulates a fraud warning on a charge. This endpoint is only available in the sandbox and is useful for testing fraud warning handling flows.\n\nThe charge is marked as fraudulent and a `fraud_warning.created` webhook is sent. The fraud warning's ID is `frdwrn_` followed by the digits of the charge ID (for example `frdwrn_296645958265997312` for `chrg_296645958265997312`); retrieve it with `GET /fraud_warnings/{transaction_id}`.","type":"text/plain"},"url":{"path":["charges",":transaction_id","simulate","fraud_warning"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the charge."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"text/plain"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"type\": \"made_with_lost_card\",\n  \"input_method\": \"swiped\",\n  \"actionable\": false,\n  \"raw_code\": \"7523\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"b2e99e0b-df62-523d-bdd0-b6343162cfd7","name":"Fraud warning simulated successfully.","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","fraud_warning"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the charge."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"text/plain"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"made_with_lost_card\",\n  \"input_method\": \"swiped\",\n  \"actionable\": false,\n  \"raw_code\": \"7523\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"OK","cookie":[],"_postman_previewlanguage":"text"},{"id":"4abd1ae6-7a91-5973-99fc-64b915625f94","name":"Invalid request parameters.","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","fraud_warning"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the charge."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"made_with_lost_card\",\n  \"input_method\": \"swiped\",\n  \"actionable\": false,\n  \"raw_code\": \"7523\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c0cc5fc2-5f15-5fc5-869a-5f937a39d1da","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","fraud_warning"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the charge."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"made_with_lost_card\",\n  \"input_method\": \"swiped\",\n  \"actionable\": false,\n  \"raw_code\": \"7523\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b8192edb-f2bc-524c-ab3b-81aae027f453","name":"The endpoint is only available in the sandbox.\n\nA 403 can also mean the key may not make this request; `code` says why.","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","fraud_warning"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the charge."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"made_with_lost_card\",\n  \"input_method\": \"swiped\",\n  \"actionable\": false,\n  \"raw_code\": \"7523\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cdc3c74a-34d8-5fe4-b050-d3fc1be66925","name":"Charge not found.","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","fraud_warning"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the charge."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"made_with_lost_card\",\n  \"input_method\": \"swiped\",\n  \"actionable\": false,\n  \"raw_code\": \"7523\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"de441bd5-64d3-541c-a3f5-1a8c292a5b1c","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","fraud_warning"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the charge."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"made_with_lost_card\",\n  \"input_method\": \"swiped\",\n  \"actionable\": false,\n  \"raw_code\": \"7523\"\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"053b9c62-c6b8-5d58-8ea1-790482e86614","name":"Internal server error.","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","fraud_warning"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the charge."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"made_with_lost_card\",\n  \"input_method\": \"swiped\",\n  \"actionable\": false,\n  \"raw_code\": \"7523\"\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2efa518a-5b1f-5a64-8274-1434810944ad","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","fraud_warning"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the charge."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"made_with_lost_card\",\n  \"input_method\": \"swiped\",\n  \"actionable\": false,\n  \"raw_code\": \"7523\"\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"6509a568-c232-5162-98c7-a9ac7475506c","name":"Merchants","description":{"content":"Retrieve merchant configuration and available payment method options.","type":"text/plain"},"item":[{"id":"f7642267-5800-5ab2-ac04-a0655786bb9b","name":"Retrieve payment method options","request":{"name":"Retrieve payment method options","description":{"content":"Retrieves the default payment method options of your account. These defaults apply to every payment unless the request overrides them.","type":"text/plain"},"url":{"path":["merchants","current","payment_method_options"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"304807c8-e541-5cc9-b36b-6051bde1a938","name":"Returns the payment method options object.","originalRequest":{"url":{"path":["merchants","current","payment_method_options"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"card\": {\n    \"accepted_card_brands\": [\n      \"jcb\",\n      \"discover\"\n    ],\n    \"accepted_card_funding\": [\n      \"debit\",\n      \"unknown\"\n    ],\n    \"accepted_card_jurisdictions\": [\n      \"domestic\",\n      \"international\"\n    ],\n    \"accepted_card_categories\": [\n      \"business\",\n      \"consumer\"\n    ],\n    \"accepted_card_countries\": [\n      \"SO\",\n      \"IL\"\n    ],\n    \"accepted_eci_values\": [\n      \"00\",\n      \"06\"\n    ],\n    \"enforce_customer_name_as_cardholder_name\": true,\n    \"security_checks\": {\n      \"address_line1_check\": true,\n      \"address_postal_code_check\": true,\n      \"cvv_check\": true\n    },\n    \"request_sca_exemption\": {\n      \"sca_exemption_type\": \"low_value\",\n      \"soft_decline_loop\": false,\n      \"soft_decline_loop_decline_codes\": [\n        \"authentication_required\"\n      ],\n      \"soft_decline_loop_positioning\": \"at_nearest\"\n    },\n    \"cvv_whitelist\": {\n      \"enabled\": false,\n      \"duration\": \"30d\"\n    },\n    \"request_threed_secure\": \"automatic\",\n    \"account_billing_updater\": {\n      \"enabled\": false,\n      \"retry_after_update\": false,\n      \"billing_updater_decline_codes\": [\n        \"expired_card\"\n      ]\n    },\n    \"moto\": true,\n    \"duplicate_card_check\": false,\n    \"network_token\": {\n      \"provision\": {\n        \"enabled\": true,\n        \"decline_on_failure\": false\n      },\n      \"authorization\": {\n        \"enabled\": true,\n        \"full_pan_fallback\": true,\n        \"fallback_decline_codes\": [\n          \"do_not_honour\"\n        ]\n      }\n    },\n    \"funding\": false,\n    \"pinless_debit\": {\n      \"enabled\": true\n    },\n    \"partial_approval\": {\n      \"accept\": true,\n      \"allow_top_up\": false,\n      \"percentage_threshold\": 2660,\n      \"amount_threshold\": 9721,\n      \"require_full_amount\": false,\n      \"approved_by_default\": true,\n      \"products\": [\n        {\n          \"amount\": 2755.931168794632,\n          \"title\": \"Starter pack\",\n          \"description\": \"A smaller pack that fits the approved amount.\",\n          \"image\": \"http://JPuOgNkCPSjZe.xmFmCqlNkUadfOpqXTNefixDeA7UypVEeV8KAj7TUGmDZi.dyZ2ki-\",\n          \"id\": \"prod_12345\"\n        },\n        {\n          \"amount\": 8224.663408473134,\n          \"title\": \"Starter pack\",\n          \"description\": \"A smaller pack that fits the approved amount.\",\n          \"image\": \"https://ePrpITcYbV.ihwxbGF8ArE2PqVIuD.F5vGtuVDDARDIozmE1BcOssnLsbsDN6pY06IC\",\n          \"id\": \"prod_12345\"\n        }\n      ]\n    },\n    \"advanced_fraud_screening\": {\n      \"enabled\": true,\n      \"thresholds\": [\n        {\n          \"start\": 45,\n          \"end\": 24,\n          \"outcome\": \"allow\"\n        },\n        {\n          \"start\": 7,\n          \"end\": 34,\n          \"outcome\": \"require_three_ds\"\n        }\n      ],\n      \"learn_mode\": true\n    },\n    \"name_verification\": {\n      \"enabled\": false,\n      \"use_customer_name\": true,\n      \"accepted_results\": [\n        \"partial_match\",\n        \"partial_match\"\n      ],\n      \"accepted_results_by_field\": {\n        \"first_name\": [\n          {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          }\n        ],\n        \"last_name\": [\n          {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          }\n        ],\n        \"middle_name\": [\n          {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          }\n        ],\n        \"full_name\": [\n          {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          }\n        ]\n      }\n    },\n    \"dynamic_currency_conversion\": {},\n    \"instant_refund\": {},\n    \"request_ani\": false,\n    \"use_customer_name_ani\": true,\n    \"accepted_ani_results\": [\n      \"match\",\n      \"partial_match\"\n    ],\n    \"accepted_ani_results_breakdown\": {\n      \"first_name\": [\n        \"match\",\n        \"match\"\n      ],\n      \"last_name\": [\n        \"match\",\n        \"match\"\n      ],\n      \"middle_name\": [\n        \"match\",\n        \"match\"\n      ],\n      \"full_name\": [\n        \"match\",\n        \"match\"\n      ]\n    }\n  },\n  \"us_bank_account\": {\n    \"ach_type\": \"next_day\",\n    \"network\": \"ach\",\n    \"ach_entry\": \"web\",\n    \"ach_fallback\": true\n  },\n  \"paypal\": {\n    \"name_verification\": true\n  },\n  \"applepay\": {\n    \"collection\": {\n      \"billing_address\": {\n        \"enabled\": true\n      },\n      \"email\": {\n        \"enabled\": true\n      },\n      \"name\": {\n        \"enabled\": true\n      },\n      \"phone_number\": {\n        \"enabled\": true\n      },\n      \"shipping_address\": {\n        \"enabled\": false,\n        \"include_phone_number\": true\n      }\n    }\n  },\n  \"googlepay\": {\n    \"collection\": {\n      \"billing_address\": {\n        \"enabled\": true\n      },\n      \"email\": {\n        \"enabled\": true\n      },\n      \"name\": {\n        \"enabled\": true\n      },\n      \"phone_number\": {\n        \"enabled\": true\n      },\n      \"shipping_address\": {\n        \"enabled\": true,\n        \"include_phone_number\": true,\n        \"allowed_countries\": [\n          \"US\"\n        ]\n      }\n    },\n    \"require_cryptogram_threed_secure\": false\n  },\n  \"types\": [\n    \"card\",\n    \"applepay\"\n  ],\n  \"disabled_payment_methods_types\": [\n    \"applepay\"\n  ],\n  \"bank_account\": {\n    \"allowed_countries\": [\n      \"US\"\n    ]\n  },\n  \"cashapp\": {},\n  \"recurring\": {\n    \"interval\": \"month\",\n    \"interval_count\": 3,\n    \"amount\": 15000,\n    \"amount_type\": \"maximum\",\n    \"start_date\": \"2026-12-01\",\n    \"end_date\": \"2027-12-01\"\n  },\n  \"routing_methodologies\": [\n    \"rule_engine\"\n  ],\n  \"payout_method_options\": {\n    \"types\": [\n      \"card\"\n    ]\n  },\n  \"skrill\": {\n    \"verification\": {\n      \"enabled\": true,\n      \"accepted_verification_level_values\": [\n        \"00\",\n        \"01\",\n        \"11\"\n      ],\n      \"require_match_for_customer_details\": {\n        \"first_name\": true,\n        \"last_name\": true,\n        \"country\": false,\n        \"postal_code\": true,\n        \"line1\": false,\n        \"dob\": true\n      }\n    }\n  },\n  \"neteller\": {\n    \"verification\": {\n      \"enabled\": true,\n      \"accepted_verification_level_values\": [\n        \"00\",\n        \"01\",\n        \"11\"\n      ],\n      \"require_match_for_customer_details\": {\n        \"first_name\": true,\n        \"last_name\": true,\n        \"country\": false,\n        \"postal_code\": true,\n        \"line1\": false,\n        \"dob\": true\n      }\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1d50c8a8-8ee9-5f6e-854a-6dc4e190600f","name":"Invalid request parameters.","originalRequest":{"url":{"path":["merchants","current","payment_method_options"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d6ba221a-04c6-52a3-ad07-b2c84c81ca13","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["merchants","current","payment_method_options"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"90fdfedf-507d-561a-a408-d49c2a59eb5c","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["merchants","current","payment_method_options"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"44f4c7f8-e63e-5bf8-9962-481a48939fdc","name":"Internal server error.","originalRequest":{"url":{"path":["merchants","current","payment_method_options"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6bd7bbe0-6a70-5a76-8398-9ed68a359071","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["merchants","current","payment_method_options"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"d94e2cea-2247-5386-9d48-5dc0aa03472b","name":"Update payment method options","request":{"name":"Update payment method options","description":{"content":"Replaces the default payment method options of your account.\n\nThe request is the complete set of options: an option you leave out is removed, and `types` defaults to `[\"card\"]`. To change some options, retrieve the current ones with `GET /merchants/current/payment_method_options`, change them, and send them all back.","type":"text/plain"},"url":{"path":["merchants","current","payment_method_options"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":null,"body":{"mode":"raw","raw":"{\n  \"types\": [\n    \"card\",\n    \"applepay\",\n    \"googlepay\"\n  ],\n  \"card\": {\n    \"accepted_card_brands\": [\n      \"visa\",\n      \"mastercard\"\n    ],\n    \"accepted_card_funding\": [\n      \"credit\",\n      \"debit\"\n    ],\n    \"security_checks\": {\n      \"cvv_check\": true\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"2e62a52c-9980-59a1-96bb-57924cbcdfab","name":"Returns the updated payment method options object.","originalRequest":{"url":{"path":["merchants","current","payment_method_options"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"types\": [\n    \"card\",\n    \"applepay\",\n    \"googlepay\"\n  ],\n  \"card\": {\n    \"accepted_card_brands\": [\n      \"visa\",\n      \"mastercard\"\n    ],\n    \"accepted_card_funding\": [\n      \"credit\",\n      \"debit\"\n    ],\n    \"security_checks\": {\n      \"cvv_check\": true\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"card\": {\n    \"accepted_card_brands\": [\n      \"jcb\",\n      \"discover\"\n    ],\n    \"accepted_card_funding\": [\n      \"debit\",\n      \"unknown\"\n    ],\n    \"accepted_card_jurisdictions\": [\n      \"domestic\",\n      \"international\"\n    ],\n    \"accepted_card_categories\": [\n      \"business\",\n      \"consumer\"\n    ],\n    \"accepted_card_countries\": [\n      \"SO\",\n      \"IL\"\n    ],\n    \"accepted_eci_values\": [\n      \"00\",\n      \"06\"\n    ],\n    \"enforce_customer_name_as_cardholder_name\": true,\n    \"security_checks\": {\n      \"address_line1_check\": true,\n      \"address_postal_code_check\": true,\n      \"cvv_check\": true\n    },\n    \"request_sca_exemption\": {\n      \"sca_exemption_type\": \"low_value\",\n      \"soft_decline_loop\": false,\n      \"soft_decline_loop_decline_codes\": [\n        \"authentication_required\"\n      ],\n      \"soft_decline_loop_positioning\": \"at_nearest\"\n    },\n    \"cvv_whitelist\": {\n      \"enabled\": false,\n      \"duration\": \"30d\"\n    },\n    \"request_threed_secure\": \"automatic\",\n    \"account_billing_updater\": {\n      \"enabled\": false,\n      \"retry_after_update\": false,\n      \"billing_updater_decline_codes\": [\n        \"expired_card\"\n      ]\n    },\n    \"moto\": true,\n    \"duplicate_card_check\": false,\n    \"network_token\": {\n      \"provision\": {\n        \"enabled\": true,\n        \"decline_on_failure\": false\n      },\n      \"authorization\": {\n        \"enabled\": true,\n        \"full_pan_fallback\": true,\n        \"fallback_decline_codes\": [\n          \"do_not_honour\"\n        ]\n      }\n    },\n    \"funding\": false,\n    \"pinless_debit\": {\n      \"enabled\": true\n    },\n    \"partial_approval\": {\n      \"accept\": true,\n      \"allow_top_up\": false,\n      \"percentage_threshold\": 2660,\n      \"amount_threshold\": 9721,\n      \"require_full_amount\": false,\n      \"approved_by_default\": true,\n      \"products\": [\n        {\n          \"amount\": 2755.931168794632,\n          \"title\": \"Starter pack\",\n          \"description\": \"A smaller pack that fits the approved amount.\",\n          \"image\": \"http://JPuOgNkCPSjZe.xmFmCqlNkUadfOpqXTNefixDeA7UypVEeV8KAj7TUGmDZi.dyZ2ki-\",\n          \"id\": \"prod_12345\"\n        },\n        {\n          \"amount\": 8224.663408473134,\n          \"title\": \"Starter pack\",\n          \"description\": \"A smaller pack that fits the approved amount.\",\n          \"image\": \"https://ePrpITcYbV.ihwxbGF8ArE2PqVIuD.F5vGtuVDDARDIozmE1BcOssnLsbsDN6pY06IC\",\n          \"id\": \"prod_12345\"\n        }\n      ]\n    },\n    \"advanced_fraud_screening\": {\n      \"enabled\": true,\n      \"thresholds\": [\n        {\n          \"start\": 45,\n          \"end\": 24,\n          \"outcome\": \"allow\"\n        },\n        {\n          \"start\": 7,\n          \"end\": 34,\n          \"outcome\": \"require_three_ds\"\n        }\n      ],\n      \"learn_mode\": true\n    },\n    \"name_verification\": {\n      \"enabled\": false,\n      \"use_customer_name\": true,\n      \"accepted_results\": [\n        \"partial_match\",\n        \"partial_match\"\n      ],\n      \"accepted_results_by_field\": {\n        \"first_name\": [\n          {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          }\n        ],\n        \"last_name\": [\n          {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          }\n        ],\n        \"middle_name\": [\n          {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          }\n        ],\n        \"full_name\": [\n          {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          }\n        ]\n      }\n    },\n    \"dynamic_currency_conversion\": {},\n    \"instant_refund\": {},\n    \"request_ani\": false,\n    \"use_customer_name_ani\": true,\n    \"accepted_ani_results\": [\n      \"match\",\n      \"partial_match\"\n    ],\n    \"accepted_ani_results_breakdown\": {\n      \"first_name\": [\n        \"match\",\n        \"match\"\n      ],\n      \"last_name\": [\n        \"match\",\n        \"match\"\n      ],\n      \"middle_name\": [\n        \"match\",\n        \"match\"\n      ],\n      \"full_name\": [\n        \"match\",\n        \"match\"\n      ]\n    }\n  },\n  \"us_bank_account\": {\n    \"ach_type\": \"next_day\",\n    \"network\": \"ach\",\n    \"ach_entry\": \"web\",\n    \"ach_fallback\": true\n  },\n  \"paypal\": {\n    \"name_verification\": true\n  },\n  \"applepay\": {\n    \"collection\": {\n      \"billing_address\": {\n        \"enabled\": true\n      },\n      \"email\": {\n        \"enabled\": true\n      },\n      \"name\": {\n        \"enabled\": true\n      },\n      \"phone_number\": {\n        \"enabled\": true\n      },\n      \"shipping_address\": {\n        \"enabled\": false,\n        \"include_phone_number\": true\n      }\n    }\n  },\n  \"googlepay\": {\n    \"collection\": {\n      \"billing_address\": {\n        \"enabled\": true\n      },\n      \"email\": {\n        \"enabled\": true\n      },\n      \"name\": {\n        \"enabled\": true\n      },\n      \"phone_number\": {\n        \"enabled\": true\n      },\n      \"shipping_address\": {\n        \"enabled\": true,\n        \"include_phone_number\": true,\n        \"allowed_countries\": [\n          \"US\"\n        ]\n      }\n    },\n    \"require_cryptogram_threed_secure\": false\n  },\n  \"types\": [\n    \"card\",\n    \"applepay\"\n  ],\n  \"disabled_payment_methods_types\": [\n    \"applepay\"\n  ],\n  \"bank_account\": {\n    \"allowed_countries\": [\n      \"US\"\n    ]\n  },\n  \"cashapp\": {},\n  \"recurring\": {\n    \"interval\": \"month\",\n    \"interval_count\": 3,\n    \"amount\": 15000,\n    \"amount_type\": \"maximum\",\n    \"start_date\": \"2026-12-01\",\n    \"end_date\": \"2027-12-01\"\n  },\n  \"routing_methodologies\": [\n    \"rule_engine\"\n  ],\n  \"payout_method_options\": {\n    \"types\": [\n      \"card\"\n    ]\n  },\n  \"skrill\": {\n    \"verification\": {\n      \"enabled\": true,\n      \"accepted_verification_level_values\": [\n        \"00\",\n        \"01\",\n        \"11\"\n      ],\n      \"require_match_for_customer_details\": {\n        \"first_name\": true,\n        \"last_name\": true,\n        \"country\": false,\n        \"postal_code\": true,\n        \"line1\": false,\n        \"dob\": true\n      }\n    }\n  },\n  \"neteller\": {\n    \"verification\": {\n      \"enabled\": true,\n      \"accepted_verification_level_values\": [\n        \"00\",\n        \"01\",\n        \"11\"\n      ],\n      \"require_match_for_customer_details\": {\n        \"first_name\": true,\n        \"last_name\": true,\n        \"country\": false,\n        \"postal_code\": true,\n        \"line1\": false,\n        \"dob\": true\n      }\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ebd25bbf-e248-5915-86e0-536edc0eab48","name":"Invalid request parameters.","originalRequest":{"url":{"path":["merchants","current","payment_method_options"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"types\": [\n    \"card\",\n    \"applepay\",\n    \"googlepay\"\n  ],\n  \"card\": {\n    \"accepted_card_brands\": [\n      \"visa\",\n      \"mastercard\"\n    ],\n    \"accepted_card_funding\": [\n      \"credit\",\n      \"debit\"\n    ],\n    \"security_checks\": {\n      \"cvv_check\": true\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"38b284f0-dfcf-5f6b-98c8-e47e6787c6f7","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["merchants","current","payment_method_options"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"types\": [\n    \"card\",\n    \"applepay\",\n    \"googlepay\"\n  ],\n  \"card\": {\n    \"accepted_card_brands\": [\n      \"visa\",\n      \"mastercard\"\n    ],\n    \"accepted_card_funding\": [\n      \"credit\",\n      \"debit\"\n    ],\n    \"security_checks\": {\n      \"cvv_check\": true\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"21dd020e-f68a-599c-969e-9a430fb842bb","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["merchants","current","payment_method_options"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"types\": [\n    \"card\",\n    \"applepay\",\n    \"googlepay\"\n  ],\n  \"card\": {\n    \"accepted_card_brands\": [\n      \"visa\",\n      \"mastercard\"\n    ],\n    \"accepted_card_funding\": [\n      \"credit\",\n      \"debit\"\n    ],\n    \"security_checks\": {\n      \"cvv_check\": true\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c8991f3d-faf5-5be0-9b14-3fc3e469c447","name":"Internal server error.","originalRequest":{"url":{"path":["merchants","current","payment_method_options"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"types\": [\n    \"card\",\n    \"applepay\",\n    \"googlepay\"\n  ],\n  \"card\": {\n    \"accepted_card_brands\": [\n      \"visa\",\n      \"mastercard\"\n    ],\n    \"accepted_card_funding\": [\n      \"credit\",\n      \"debit\"\n    ],\n    \"security_checks\": {\n      \"cvv_check\": true\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"44f485c1-dd3e-5b9e-ae42-3c057d29129d","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["merchants","current","payment_method_options"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"types\": [\n    \"card\",\n    \"applepay\",\n    \"googlepay\"\n  ],\n  \"card\": {\n    \"accepted_card_brands\": [\n      \"visa\",\n      \"mastercard\"\n    ],\n    \"accepted_card_funding\": [\n      \"credit\",\n      \"debit\"\n    ],\n    \"security_checks\": {\n      \"cvv_check\": true\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"e5626a42-6bf6-5e58-8913-0cc6ffbe6a96","name":"ExchangeRates","description":{"content":"Get current exchange rates and calculate currency conversions for multi-currency transactions.","type":"text/plain"},"item":[{"id":"f8995016-2205-584f-9d9d-15ffac089d21","name":"Retrieve exchange rates","request":{"name":"Retrieve exchange rates","description":{"content":"Retrieves the exchange rates configured for your account.\n\n- When `transaction_currency` is sent, the response is a single `exchange_rate` object for that currency pair (without `valid_until`).\n- Otherwise, the response is an `exchange_rates` object listing every transaction currency, with `valid_until`.\n\nReturns 400 \"Exchange rates not configured\" when no foreign exchange is set up for your account.","type":"text/plain"},"url":{"path":["exchange_rates"],"host":["{{pay_base_url}}"],"query":[{"disabled":false,"key":"transaction_currency","value":"usd","description":"The transaction currency code. Three-letter ISO currency code, in lowercase. When sent, only the rate for this currency is returned."},{"disabled":false,"key":"settlement_currency","value":"eur","description":"The settlement currency code. Three-letter ISO currency code, in lowercase. Defaults to your account's settlement currency."},{"disabled":false,"key":"network","value":"visa","description":"Card network. One of `visa`, `mastercard`, `amex`, `discover`, or `jcb`. Required when your foreign exchange provider prices by network; otherwise rates for `visa` are returned and the value is ignored."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"46db6df1-257d-5abb-94d7-d0aaceb50fdf","name":"Returns an `exchange_rates` object, or an `exchange_rate` object when `transaction_currency` is sent.","originalRequest":{"url":{"path":["exchange_rates"],"host":["{{pay_base_url}}"],"query":[{"key":"transaction_currency","value":"usd"},{"key":"settlement_currency","value":"eur"},{"key":"network","value":"visa"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"fx_296645958265997348\",\n  \"resource\": \"exchange_rates\",\n  \"settlement_currency\": \"eur\",\n  \"valid_until\": \"1677535199000\",\n  \"data\": [\n    {\n      \"exchange_rate\": {\n        \"charge\": \"1.07\",\n        \"refund\": \"1.07\",\n        \"payout\": \"1.07\"\n      },\n      \"transaction_currency\": \"usd\"\n    },\n    {\n      \"exchange_rate\": {\n        \"charge\": \"1.07\",\n        \"refund\": \"1.07\",\n        \"payout\": \"1.07\"\n      },\n      \"transaction_currency\": \"usd\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3777912a-88da-58b6-ae30-6d440f8df006","name":"Invalid request parameters, exchange rates not configured for your account or currency pair, or `network` missing when your foreign exchange provider requires it.","originalRequest":{"url":{"path":["exchange_rates"],"host":["{{pay_base_url}}"],"query":[{"key":"transaction_currency","value":"usd"},{"key":"settlement_currency","value":"eur"},{"key":"network","value":"visa"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6ce8e4e8-2d32-528a-aec0-30f9e28c83a3","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["exchange_rates"],"host":["{{pay_base_url}}"],"query":[{"key":"transaction_currency","value":"usd"},{"key":"settlement_currency","value":"eur"},{"key":"network","value":"visa"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c1fcccab-4eaa-5860-a007-3ad39c52e009","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["exchange_rates"],"host":["{{pay_base_url}}"],"query":[{"key":"transaction_currency","value":"usd"},{"key":"settlement_currency","value":"eur"},{"key":"network","value":"visa"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e767ec16-f46f-5d81-86d6-cfed8421a1f8","name":"Exchange rates not found.","originalRequest":{"url":{"path":["exchange_rates"],"host":["{{pay_base_url}}"],"query":[{"key":"transaction_currency","value":"usd"},{"key":"settlement_currency","value":"eur"},{"key":"network","value":"visa"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"07670454-b3b3-5f53-b9bb-3a55e56541ce","name":"Internal server error.","originalRequest":{"url":{"path":["exchange_rates"],"host":["{{pay_base_url}}"],"query":[{"key":"transaction_currency","value":"usd"},{"key":"settlement_currency","value":"eur"},{"key":"network","value":"visa"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"26801d5e-338a-5aa0-a092-2632358a5eaf","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["exchange_rates"],"host":["{{pay_base_url}}"],"query":[{"key":"transaction_currency","value":"usd"},{"key":"settlement_currency","value":"eur"},{"key":"network","value":"visa"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"d19e8d50-f113-5779-8ca0-ca8c687bfa7b","name":"Retrieve charge exchange rates","request":{"name":"Retrieve charge exchange rates","description":{"content":"Retrieves the exchange rates that were applied to a charge.","type":"text/plain"},"url":{"path":["exchange_rates","charge",":charge_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"charge_id","description":"(Required) The unique identifier of the charge."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"ce8cc4ea-827d-5326-815e-a9257282eb88","name":"Returns the exchange rate object.","originalRequest":{"url":{"path":["exchange_rates","charge",":charge_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"charge_id","description":"(Required) The unique identifier of the charge."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"fxd_296645958265997312\",\n  \"resource\": \"exchange_data\",\n  \"charge\": \"chrg_296645958265997312\",\n  \"transaction_amount\": 10000,\n  \"transaction_amount_human_readable\": \"100.00\",\n  \"settlement_amount\": 9360,\n  \"settlement_amount_human_readable\": \"93.60\",\n  \"exchange_rate\": \"1.068321\",\n  \"transaction_currency\": \"usd\",\n  \"settlement_currency\": \"eur\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4b4b70cd-2456-5f48-a2b0-2ce3c903ad30","name":"Invalid request parameters, or no exchange data for the charge (\"No exchange data found for charge\"). This is returned when the charge had no currency conversion, did not succeed, or belongs to another merchant.","originalRequest":{"url":{"path":["exchange_rates","charge",":charge_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"charge_id","description":"(Required) The unique identifier of the charge."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1410ba4d-1f2e-5c98-88d2-2ac12bc906bc","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["exchange_rates","charge",":charge_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"charge_id","description":"(Required) The unique identifier of the charge."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"40a37e5c-ff3e-59df-a3a0-138728b1524a","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["exchange_rates","charge",":charge_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"charge_id","description":"(Required) The unique identifier of the charge."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"20caa2ff-7eea-5576-ae67-8e0aa3b10bac","name":"Charge not found.","originalRequest":{"url":{"path":["exchange_rates","charge",":charge_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"charge_id","description":"(Required) The unique identifier of the charge."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fe075bc1-041a-58cb-92a9-97e96270550d","name":"Internal server error.","originalRequest":{"url":{"path":["exchange_rates","charge",":charge_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"charge_id","description":"(Required) The unique identifier of the charge."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bd32decd-7738-58bc-a520-fa6b063d4e4b","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["exchange_rates","charge",":charge_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"charge_id","description":"(Required) The unique identifier of the charge."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"52ac7df6-f061-5f97-bc65-08fcfdf6b788","name":"Calculate exchange rates","request":{"name":"Calculate exchange rates","description":{"content":"Calculates an exchange quote for an amount. Send exactly one of `transaction_amount` or `settlement_amount`. Returns 400 \"Exchange rates not configured\" when no foreign exchange is set up for your account.","type":"text/plain"},"url":{"path":["exchange_rates","calculate"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"type\": \"charge\",\n  \"transaction_amount\": 10000,\n  \"transaction_currency\": \"usd\",\n  \"settlement_currency\": \"eur\",\n  \"network\": \"visa\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"922dd09f-1d9a-5872-99a8-5142ff347cd9","name":"Returns the calculated exchange rate object.","originalRequest":{"url":{"path":["exchange_rates","calculate"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"charge\",\n  \"transaction_amount\": 10000,\n  \"transaction_currency\": \"usd\",\n  \"settlement_currency\": \"eur\",\n  \"network\": \"visa\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"fxq_296645958265997346\",\n  \"resource\": \"exchange_quote\",\n  \"type\": \"charge\",\n  \"transaction_amount\": 10000,\n  \"transaction_amount_human_readable\": \"100.00\",\n  \"transaction_currency\": \"usd\",\n  \"settlement_amount\": 9360,\n  \"settlement_amount_human_readable\": \"93.60\",\n  \"settlement_currency\": \"eur\",\n  \"exchange_rate\": \"1.068321\",\n  \"valid_until\": \"1677535199000\",\n  \"markup\": 2\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"743c861d-9b89-51ea-93a5-6609d4acc34e","name":"Invalid request parameters, exchange rates not configured for your account or currency pair, or `network` missing when your foreign exchange provider requires it.","originalRequest":{"url":{"path":["exchange_rates","calculate"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"charge\",\n  \"transaction_amount\": 10000,\n  \"transaction_currency\": \"usd\",\n  \"settlement_currency\": \"eur\",\n  \"network\": \"visa\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fed0eb3e-ffb1-58c4-b763-59ed2a1dff56","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["exchange_rates","calculate"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"charge\",\n  \"transaction_amount\": 10000,\n  \"transaction_currency\": \"usd\",\n  \"settlement_currency\": \"eur\",\n  \"network\": \"visa\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"401825b1-5b36-514c-b97b-c0025f76c19d","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["exchange_rates","calculate"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"charge\",\n  \"transaction_amount\": 10000,\n  \"transaction_currency\": \"usd\",\n  \"settlement_currency\": \"eur\",\n  \"network\": \"visa\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"950903a1-8aab-59d0-8982-6dc297b1fe34","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["exchange_rates","calculate"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"charge\",\n  \"transaction_amount\": 10000,\n  \"transaction_currency\": \"usd\",\n  \"settlement_currency\": \"eur\",\n  \"network\": \"visa\"\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1438173f-42a9-5d3f-8e9e-4aebc90b5248","name":"Internal server error.","originalRequest":{"url":{"path":["exchange_rates","calculate"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"charge\",\n  \"transaction_amount\": 10000,\n  \"transaction_currency\": \"usd\",\n  \"settlement_currency\": \"eur\",\n  \"network\": \"visa\"\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"dfc410f2-f8a6-5047-9aa5-6a4ee7e43ecd","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["exchange_rates","calculate"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"type\": \"charge\",\n  \"transaction_amount\": 10000,\n  \"transaction_currency\": \"usd\",\n  \"settlement_currency\": \"eur\",\n  \"network\": \"visa\"\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"8959c3a9-c496-53cd-b732-cc6fca45d313","name":"Reconciliation","description":{"content":"Access transaction reconciliation data for accounting and financial reporting purposes.","type":"text/plain"},"item":[{"id":"6eb97222-598a-5731-9e7b-e0fe2dc33a71","name":"List reconciliation transactions","request":{"name":"List reconciliation transactions","description":{"content":"Retrieves a page of cleared transactions for reconciliation: approved and declined charges, captures, refunds, payouts and holds that have been cleared, sorted oldest first.\n\nSend exactly one filter: `settlement_id`, `date`, or `from_date` together with `to_date`. Sending none, combining them, or sending `from_date` without `to_date` returns 400. The date filters apply to the transaction's clearing date.","type":"text/plain"},"url":{"path":["reconciliation","transactions"],"host":["{{pay_base_url}}"],"query":[{"disabled":false,"key":"settlement_id","value":"stlmnt_296645958265997323","description":"The unique identifier of the settlement. Returns the transactions included in this settlement."},{"disabled":false,"key":"date","value":"2024-01-01","description":"Clearing date to retrieve reconciliation transactions for, in `YYYY-MM-DD` format."},{"disabled":false,"key":"from_date","value":"2024-01-01","description":"Start of the clearing date range, in `YYYY-MM-DD` format. Requires `to_date`."},{"disabled":false,"key":"to_date","value":"2024-01-01","description":"End of the clearing date range, in `YYYY-MM-DD` format. Requires `from_date`."},{"disabled":false,"key":"page","value":"1","description":"The page number to retrieve."},{"disabled":false,"key":"limit","value":"10","description":"The number of transactions to return per page."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"07b23937-f467-5126-88d3-b37408ce61e2","name":"Returns a list of reconciliation transaction objects.","originalRequest":{"url":{"path":["reconciliation","transactions"],"host":["{{pay_base_url}}"],"query":[{"key":"settlement_id","value":"stlmnt_296645958265997323"},{"key":"date","value":"2024-01-01"},{"key":"from_date","value":"2024-01-01"},{"key":"to_date","value":"2024-01-01"},{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"txrcn_296645958265997352\",\n  \"resource\": \"transaction_reconciliation\",\n  \"data\": [\n    {\n      \"id\": \"chrg_296645958265997312\",\n      \"resource\": \"charge\",\n      \"merchant\": \"mrchnt_296645958265997325\",\n      \"merchant_reference\": \"b311227f-8561-41db-bf46-1fc14c18e31f\",\n      \"payment_session\": \"ps_296645958265997318\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"reference\": \"order_12345\",\n      \"status\": \"succeeded\",\n      \"failure_code\": \"expired_card\",\n      \"currency\": \"usd\",\n      \"amount\": 10000,\n      \"settlement_currency\": \"usd\",\n      \"settlement_amount\": 10000,\n      \"exchange_rate\": 496.62499222904444,\n      \"net_amount\": 9964,\n      \"fee_interchange\": -12.4,\n      \"fee_network\": -12,\n      \"fee_processing\": -11.6,\n      \"metadata\": \"\\\"{\\\\\\\"order_id\\\\\\\":\\\\\\\"12345\\\\\\\",\\\\\\\"source\\\\\\\":\\\\\\\"website\\\\\\\"}\\\"\",\n      \"jurisdiction\": \"domestic\",\n      \"payment_method_type\": \"card\",\n      \"payment_method\": \"pm_card_296645958265997316\",\n      \"payment_method_serialized\": \"424242******4242\",\n      \"payment_method_card_brand\": \"visa\",\n      \"payment_method_card_funding\": \"credit\",\n      \"payment_method_card_issuer_name\": \"Bank\",\n      \"payment_method_card_issuer_country\": \"US\",\n      \"customer_id\": \"cust_296645958265997317\",\n      \"customer_reference_id\": \"cust_ext_abc123\",\n      \"customer_email\": \"john.smith@example.com\"\n    },\n    {\n      \"id\": \"chrg_296645958265997312\",\n      \"resource\": \"charge\",\n      \"merchant\": \"mrchnt_296645958265997325\",\n      \"merchant_reference\": \"b311227f-8561-41db-bf46-1fc14c18e31f\",\n      \"payment_session\": \"ps_296645958265997318\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"reference\": \"order_12345\",\n      \"status\": \"succeeded\",\n      \"failure_code\": \"expired_card\",\n      \"currency\": \"usd\",\n      \"amount\": 10000,\n      \"settlement_currency\": \"usd\",\n      \"settlement_amount\": 10000,\n      \"exchange_rate\": 2593.35977723822,\n      \"net_amount\": 9964,\n      \"fee_interchange\": -12.4,\n      \"fee_network\": -12,\n      \"fee_processing\": -11.6,\n      \"metadata\": \"\\\"{\\\\\\\"order_id\\\\\\\":\\\\\\\"12345\\\\\\\",\\\\\\\"source\\\\\\\":\\\\\\\"website\\\\\\\"}\\\"\",\n      \"jurisdiction\": \"domestic\",\n      \"payment_method_type\": \"card\",\n      \"payment_method\": \"pm_card_296645958265997316\",\n      \"payment_method_serialized\": \"424242******4242\",\n      \"payment_method_card_brand\": \"visa\",\n      \"payment_method_card_funding\": \"credit\",\n      \"payment_method_card_issuer_name\": \"Bank\",\n      \"payment_method_card_issuer_country\": \"US\",\n      \"customer_id\": \"cust_296645958265997317\",\n      \"customer_reference_id\": \"cust_ext_abc123\",\n      \"customer_email\": \"john.smith@example.com\"\n    }\n  ],\n  \"last_page\": false,\n  \"page\": 1,\n  \"total_pages\": 10,\n  \"total_records\": 100\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c9363a15-4a2f-58ce-a52a-d3fc7c188398","name":"Invalid request parameters.","originalRequest":{"url":{"path":["reconciliation","transactions"],"host":["{{pay_base_url}}"],"query":[{"key":"settlement_id","value":"stlmnt_296645958265997323"},{"key":"date","value":"2024-01-01"},{"key":"from_date","value":"2024-01-01"},{"key":"to_date","value":"2024-01-01"},{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"448b1150-351f-5c5d-91db-973971573895","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["reconciliation","transactions"],"host":["{{pay_base_url}}"],"query":[{"key":"settlement_id","value":"stlmnt_296645958265997323"},{"key":"date","value":"2024-01-01"},{"key":"from_date","value":"2024-01-01"},{"key":"to_date","value":"2024-01-01"},{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e184a2bb-2132-5787-9fc1-51559bc8511b","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["reconciliation","transactions"],"host":["{{pay_base_url}}"],"query":[{"key":"settlement_id","value":"stlmnt_296645958265997323"},{"key":"date","value":"2024-01-01"},{"key":"from_date","value":"2024-01-01"},{"key":"to_date","value":"2024-01-01"},{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"63210401-489f-5557-b2ee-7c7f05d97420","name":"Internal server error.","originalRequest":{"url":{"path":["reconciliation","transactions"],"host":["{{pay_base_url}}"],"query":[{"key":"settlement_id","value":"stlmnt_296645958265997323"},{"key":"date","value":"2024-01-01"},{"key":"from_date","value":"2024-01-01"},{"key":"to_date","value":"2024-01-01"},{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"30aae508-1759-52e8-9eca-8b932408f532","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["reconciliation","transactions"],"host":["{{pay_base_url}}"],"query":[{"key":"settlement_id","value":"stlmnt_296645958265997323"},{"key":"date","value":"2024-01-01"},{"key":"from_date","value":"2024-01-01"},{"key":"to_date","value":"2024-01-01"},{"key":"page","value":"1"},{"key":"limit","value":"10"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"0c91da98-ed6a-53e5-b142-5e3df7ae89c0","name":"SetupSessions","description":{"content":"Create and manage setup sessions to securely collect and store payment method details without charging.","type":"text/plain"},"item":[{"id":"8df2ed05-d575-54c3-8ce2-cd3b3ed3a768","name":"Create a setup session","request":{"name":"Create a setup session","description":{"content":"Creates a new setup session to save a payment method for the customer without charging it. The `client_secret` is only returned by this call.","type":"text/plain"},"url":{"path":["sessions","setup"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"billing_details\": {\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  },\n  \"payment_method_types\": [\n    \"card\"\n  ],\n  \"setup_future_usage\": \"off_session\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"fd248e33-5000-577b-85fd-996cace5423d","name":"Returns the created setup session object.","originalRequest":{"url":{"path":["sessions","setup"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"billing_details\": {\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  },\n  \"payment_method_types\": [\n    \"card\"\n  ],\n  \"setup_future_usage\": \"off_session\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"ss_296645958265997319\",\n  \"resource\": \"setup_session\",\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"client_secret\": \"REDACTED\",\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"failure_code\": \"string\",\n  \"failure_message\": \"string\",\n  \"metadata\": {},\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"payment_method_details\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"bin\": \"424242\",\n      \"brand\": \"visa\",\n      \"cardholder_currency\": \"usd\",\n      \"country\": \"US\",\n      \"exp_month\": \"12\",\n      \"exp_year\": \"2028\",\n      \"fingerprint\": \"fp_abc123xyz789\",\n      \"funding\": \"unknown\",\n      \"last4\": \"4242\",\n      \"network\": \"visa\",\n      \"category\": \"business\",\n      \"security_checks\": {\n        \"address_line1_check\": \"unavailable\",\n        \"address_postal_code_check\": \"unavailable\",\n        \"cvc_check\": \"pass\"\n      },\n      \"wallet\": {\n        \"type\": \"googlepay\",\n        \"googlepay\": {\n          \"type\": \"cryptogram_3ds\",\n          \"physical_card_last4\": \"4242\"\n        },\n        \"applepay\": {\n          \"physical_card_last4\": \"4242\"\n        },\n        \"ctp\": {\n          \"physical_card_last4\": \"string\",\n          \"physical_card_bin\": \"string\",\n          \"physical_card_exp_month\": \"string\",\n          \"physical_card_exp_year\": \"string\"\n        }\n      },\n      \"token\": \"tok_card_296645958265997326\",\n      \"three_d_secure\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"version\": \"2.2.0\",\n        \"eci\": \"05\",\n        \"cardholder_info\": \"string\",\n        \"liability_shift\": true\n      },\n      \"three_ds\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"status_reason\": \"string\",\n        \"protocol_version\": \"2.2.0\",\n        \"eci\": \"02\",\n        \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n        \"liability_shift\": true,\n        \"cardholder_info\": \"string\",\n        \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n        \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n        \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n        \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n        \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n      },\n      \"payout\": \"not_available\",\n      \"name_verification\": \"match\",\n      \"partial_approval\": {\n        \"status\": \"accepted\",\n        \"amount_requested\": 10000,\n        \"amount_authorized\": 7500,\n        \"amount_charged\": 7500,\n        \"product_id\": \"prod_12345\"\n      },\n      \"name\": \"John Smith\",\n      \"issuer\": \"Chase Bank\"\n    },\n    \"cashapp\": {\n      \"cashtag\": \"$acmecustomer\",\n      \"name\": \"Jenny Rosen\"\n    },\n    \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n    \"setup_future_usage\": \"on_session\"\n  },\n  \"payment_method_options\": {\n    \"card\": {\n      \"security_checks\": {\n        \"address_line1_check\": true,\n        \"address_postal_code_check\": true,\n        \"cvv_check\": true\n      }\n    }\n  },\n  \"payment_method_types\": [\n    \"card\",\n    \"card\"\n  ],\n  \"setup_future_usage\": \"on_session\",\n  \"flow_directions\": {\n    \"payment\": true,\n    \"payout\": false\n  },\n  \"return_url\": null,\n  \"test_mode\": true,\n  \"status\": \"completed\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1563a3c2-9d03-58e4-a6e9-ddb3f0fa5dad","name":"Invalid request parameters.","originalRequest":{"url":{"path":["sessions","setup"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"billing_details\": {\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  },\n  \"payment_method_types\": [\n    \"card\"\n  ],\n  \"setup_future_usage\": \"off_session\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4c98f21b-c66e-51ae-b894-cd2c4dfec97a","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["sessions","setup"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"billing_details\": {\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  },\n  \"payment_method_types\": [\n    \"card\"\n  ],\n  \"setup_future_usage\": \"off_session\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a9d46289-7292-5c6e-bd8f-ae9c9cd99cba","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["sessions","setup"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"billing_details\": {\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  },\n  \"payment_method_types\": [\n    \"card\"\n  ],\n  \"setup_future_usage\": \"off_session\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3789b7c8-8fb7-5531-9a41-2505293f7797","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["sessions","setup"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"billing_details\": {\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  },\n  \"payment_method_types\": [\n    \"card\"\n  ],\n  \"setup_future_usage\": \"off_session\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5f8a002d-9b7e-56a8-9cbc-366b18132449","name":"Internal server error.","originalRequest":{"url":{"path":["sessions","setup"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"billing_details\": {\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  },\n  \"payment_method_types\": [\n    \"card\"\n  ],\n  \"setup_future_usage\": \"off_session\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"430f2230-9a99-58fe-aa94-06c56b1dbf85","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["sessions","setup"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"billing_details\": {\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  },\n  \"payment_method_types\": [\n    \"card\"\n  ],\n  \"setup_future_usage\": \"off_session\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"e75ddf0d-25a5-54e9-a0fd-cb3c012842e0","name":"Retrieve a setup session","request":{"name":"Retrieve a setup session","description":{"content":"Retrieves the details of a setup session.","type":"text/plain"},"url":{"path":["sessions","setup",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ss_296645958265997319","key":"id","description":"(Required) The unique identifier of the setup session."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"a562afb4-5814-59f3-881e-9131733f200d","name":"Returns the setup session object.","originalRequest":{"url":{"path":["sessions","setup",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ss_296645958265997319","key":"id","description":"(Required) The unique identifier of the setup session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"ss_296645958265997319\",\n  \"resource\": \"setup_session\",\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"client_secret\": \"REDACTED\",\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"failure_code\": \"string\",\n  \"failure_message\": \"string\",\n  \"metadata\": {},\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"payment_method_details\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"bin\": \"424242\",\n      \"brand\": \"visa\",\n      \"cardholder_currency\": \"usd\",\n      \"country\": \"US\",\n      \"exp_month\": \"12\",\n      \"exp_year\": \"2028\",\n      \"fingerprint\": \"fp_abc123xyz789\",\n      \"funding\": \"unknown\",\n      \"last4\": \"4242\",\n      \"network\": \"visa\",\n      \"category\": \"business\",\n      \"security_checks\": {\n        \"address_line1_check\": \"unavailable\",\n        \"address_postal_code_check\": \"unavailable\",\n        \"cvc_check\": \"pass\"\n      },\n      \"wallet\": {\n        \"type\": \"googlepay\",\n        \"googlepay\": {\n          \"type\": \"cryptogram_3ds\",\n          \"physical_card_last4\": \"4242\"\n        },\n        \"applepay\": {\n          \"physical_card_last4\": \"4242\"\n        },\n        \"ctp\": {\n          \"physical_card_last4\": \"string\",\n          \"physical_card_bin\": \"string\",\n          \"physical_card_exp_month\": \"string\",\n          \"physical_card_exp_year\": \"string\"\n        }\n      },\n      \"token\": \"tok_card_296645958265997326\",\n      \"three_d_secure\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"version\": \"2.2.0\",\n        \"eci\": \"05\",\n        \"cardholder_info\": \"string\",\n        \"liability_shift\": true\n      },\n      \"three_ds\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"status_reason\": \"string\",\n        \"protocol_version\": \"2.2.0\",\n        \"eci\": \"02\",\n        \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n        \"liability_shift\": true,\n        \"cardholder_info\": \"string\",\n        \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n        \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n        \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n        \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n        \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n      },\n      \"payout\": \"not_available\",\n      \"name_verification\": \"match\",\n      \"partial_approval\": {\n        \"status\": \"accepted\",\n        \"amount_requested\": 10000,\n        \"amount_authorized\": 7500,\n        \"amount_charged\": 7500,\n        \"product_id\": \"prod_12345\"\n      },\n      \"name\": \"John Smith\",\n      \"issuer\": \"Chase Bank\"\n    },\n    \"cashapp\": {\n      \"cashtag\": \"$acmecustomer\",\n      \"name\": \"Jenny Rosen\"\n    },\n    \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n    \"setup_future_usage\": \"on_session\"\n  },\n  \"payment_method_options\": {\n    \"card\": {\n      \"security_checks\": {\n        \"address_line1_check\": true,\n        \"address_postal_code_check\": true,\n        \"cvv_check\": true\n      }\n    }\n  },\n  \"payment_method_types\": [\n    \"card\",\n    \"card\"\n  ],\n  \"setup_future_usage\": \"on_session\",\n  \"flow_directions\": {\n    \"payment\": true,\n    \"payout\": false\n  },\n  \"return_url\": null,\n  \"test_mode\": true,\n  \"status\": \"completed\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5d46f12c-5d0c-54ba-8a31-7fb08ce9a53c","name":"Invalid request parameters.","originalRequest":{"url":{"path":["sessions","setup",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ss_296645958265997319","key":"id","description":"(Required) The unique identifier of the setup session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cf981b60-45d4-55ee-b2cb-2fc74e663d4a","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["sessions","setup",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ss_296645958265997319","key":"id","description":"(Required) The unique identifier of the setup session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"091abb71-b65b-53bd-9119-0670aa9eaaee","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["sessions","setup",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ss_296645958265997319","key":"id","description":"(Required) The unique identifier of the setup session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c4230107-72f0-517e-bfc8-fbe46c274618","name":"Setup session not found.","originalRequest":{"url":{"path":["sessions","setup",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ss_296645958265997319","key":"id","description":"(Required) The unique identifier of the setup session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"003d8067-4bc3-50fd-883b-c4810b01e6d5","name":"Internal server error.","originalRequest":{"url":{"path":["sessions","setup",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ss_296645958265997319","key":"id","description":"(Required) The unique identifier of the setup session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"11d57dfa-4477-507b-b730-0aab93bb6fdf","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["sessions","setup",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ss_296645958265997319","key":"id","description":"(Required) The unique identifier of the setup session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"4d49c581-99bf-52d3-9719-97c3b74fb2dc","name":"PaymentSessions","description":{"content":"Create and manage payment sessions for secure, client-side payment collection.","type":"text/plain"},"item":[{"id":"be7a94c5-57e1-5047-9b42-4c3cae8228ba","name":"Create a payment session","request":{"name":"Create a payment session","description":{"content":"Creates a new payment session. `amount`, `currency` and `customer_reference_id` are required. The `client_secret` is only returned by this call.","type":"text/plain"},"url":{"path":["sessions","payment"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"billing_details\": {\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  },\n  \"capture\": true,\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"setup_future_usage\": \"on_session\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"307edf28-54e4-5a1a-8387-3da7571633a3","name":"Returns the created payment session object.","originalRequest":{"url":{"path":["sessions","payment"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"billing_details\": {\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  },\n  \"capture\": true,\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"setup_future_usage\": \"on_session\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"ps_296645958265997318\",\n  \"resource\": \"payment_session\",\n  \"amount\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"capture\": true,\n  \"currency\": \"usd\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"status\": \"completed\",\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"charge\": \"chrg_296645958265997312\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"setup_future_usage\": \"off_session\",\n  \"client_secret\": \"REDACTED\",\n  \"customer\": \"cust_296645958265997317\",\n  \"description\": \"Payment for Order #12345.\",\n  \"failure_code\": \"string\",\n  \"failure_message\": \"string\",\n  \"hold\": \"hld_296645958265997313\",\n  \"metadata\": {},\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"payment_method_details\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"bin\": \"424242\",\n      \"brand\": \"visa\",\n      \"cardholder_currency\": \"usd\",\n      \"country\": \"US\",\n      \"exp_month\": \"12\",\n      \"exp_year\": \"2028\",\n      \"fingerprint\": \"fp_abc123xyz789\",\n      \"funding\": \"debit\",\n      \"last4\": \"4242\",\n      \"network\": \"visa\",\n      \"category\": \"consumer\",\n      \"security_checks\": {\n        \"address_line1_check\": \"unavailable\",\n        \"address_postal_code_check\": \"unavailable\",\n        \"cvc_check\": \"pass\"\n      },\n      \"wallet\": {\n        \"type\": \"googlepay\",\n        \"googlepay\": {\n          \"type\": \"cryptogram_3ds\",\n          \"physical_card_last4\": \"4242\"\n        },\n        \"applepay\": {\n          \"physical_card_last4\": \"4242\"\n        },\n        \"ctp\": {\n          \"physical_card_last4\": \"string\",\n          \"physical_card_bin\": \"string\",\n          \"physical_card_exp_month\": \"string\",\n          \"physical_card_exp_year\": \"string\"\n        }\n      },\n      \"token\": \"tok_card_296645958265997326\",\n      \"three_d_secure\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"version\": \"2.2.0\",\n        \"eci\": \"05\",\n        \"cardholder_info\": \"string\",\n        \"liability_shift\": true\n      },\n      \"three_ds\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"status_reason\": \"string\",\n        \"protocol_version\": \"2.2.0\",\n        \"eci\": \"02\",\n        \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n        \"liability_shift\": true,\n        \"cardholder_info\": \"string\",\n        \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n        \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n        \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n        \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n        \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n      },\n      \"payout\": \"not_available\",\n      \"name_verification\": \"match\",\n      \"partial_approval\": {\n        \"status\": \"accepted\",\n        \"amount_requested\": 10000,\n        \"amount_authorized\": 7500,\n        \"amount_charged\": 7500,\n        \"product_id\": \"prod_12345\"\n      },\n      \"name\": \"John Smith\",\n      \"issuer\": \"Chase Bank\"\n    },\n    \"cashapp\": {\n      \"cashtag\": \"$acmecustomer\",\n      \"name\": \"Jenny Rosen\"\n    },\n    \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n    \"setup_future_usage\": \"on_session\"\n  },\n  \"payment_method_options\": {\n    \"card\": {\n      \"security_checks\": {\n        \"address_line1_check\": true,\n        \"address_postal_code_check\": true,\n        \"cvv_check\": true\n      }\n    }\n  },\n  \"payment_method_types\": [\n    \"card\",\n    \"card\"\n  ],\n  \"reference\": \"order_12345\",\n  \"receipt\": null,\n  \"return_url\": \"https://example.com/checkout/complete\",\n  \"settlement_account\": \"sa_296645958265997349\",\n  \"settlement_account_details\": {\n    \"processor\": \"worldpay\",\n    \"currency\": \"usd\",\n    \"name\": \"Main USD account\",\n    \"entity\": \"ent_296645958265997352\",\n    \"entity_details\": {\n      \"legal_name\": \"Acme Inc.\",\n      \"country\": \"US\"\n    }\n  },\n  \"shipping\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"phone\": \"+14155551234\"\n  },\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"test_mode\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c9ba07bd-44b2-54d2-af4d-b60ac10c473c","name":"Invalid request parameters.","originalRequest":{"url":{"path":["sessions","payment"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"billing_details\": {\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  },\n  \"capture\": true,\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"setup_future_usage\": \"on_session\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"60dc3b6d-f3e5-504a-8bb6-28f7ccaec911","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["sessions","payment"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"billing_details\": {\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  },\n  \"capture\": true,\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"setup_future_usage\": \"on_session\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"36298fd9-4281-5159-b9ca-8275b713d67e","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["sessions","payment"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"billing_details\": {\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  },\n  \"capture\": true,\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"setup_future_usage\": \"on_session\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"621f9085-d091-527b-9540-bc73dbe5c13d","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["sessions","payment"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"billing_details\": {\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  },\n  \"capture\": true,\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"setup_future_usage\": \"on_session\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"62ce9dbf-ba64-5518-9e12-a88671b052db","name":"Unprocessable content. Returned when no capture method or no payment method type is available for the session (`None of the capture methods are available`, `No available payment methods found for this payment session`).","originalRequest":{"url":{"path":["sessions","payment"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"billing_details\": {\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  },\n  \"capture\": true,\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"setup_future_usage\": \"on_session\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"Payment method is not set up for \\\"off_session\\\" mode\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d32f8589-d1d7-5592-aa2a-81c3416527b2","name":"Internal server error.","originalRequest":{"url":{"path":["sessions","payment"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"billing_details\": {\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  },\n  \"capture\": true,\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"setup_future_usage\": \"on_session\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"dba2587d-9a22-59b8-9cb4-a89f915b3001","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["sessions","payment"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"billing_details\": {\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  },\n  \"capture\": true,\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"setup_future_usage\": \"on_session\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"b1ac4829-292c-5876-940c-c5d565fc879d","name":"List payment sessions","request":{"name":"List payment sessions","description":{"content":"Retrieves a list of payment sessions, sorted by creation time (oldest first). List items never include `client_secret`. `starting_after` and `ending_before` take a payment session ID (`ps_` followed by 18 to 20 digits).","type":"text/plain"},"url":{"path":["sessions","payment"],"host":["{{pay_base_url}}"],"query":[{"disabled":false,"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z","description":"Return objects created on or after this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.greater_than`."},{"disabled":false,"key":"created.greater_than","value":"2024-10-10T00:00:00Z","description":"Return objects created after this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.greater_than_or_equals`."},{"disabled":false,"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z","description":"Return objects created on or before this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.less_than`."},{"disabled":false,"key":"created.less_than","value":"2024-10-10T00:00:00Z","description":"Return objects created before this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.less_than_or_equals`."},{"disabled":false,"key":"limit","value":"10","description":"Maximum number of objects to return. Defaults to 10."},{"disabled":false,"key":"customer_reference_id","value":"cust_ext_abc123","description":"Your unique identifier for the customer."},{"disabled":false,"key":"ending_before","value":"string","description":"A cursor for pagination. Returns objects created before the object with this ID. Must be the ID of an object of the type being listed (for example a `chrg_` ID when listing charges); other IDs return 400. Lists are sorted by creation time, oldest first. Mutually exclusive with `starting_after`."},{"disabled":false,"key":"starting_after","value":"string","description":"A cursor for pagination. Returns objects created after the object with this ID. Must be the ID of an object of the type being listed (for example a `chrg_` ID when listing charges); other IDs return 400. Lists are sorted by creation time, oldest first. Mutually exclusive with `ending_before`."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"ac99857b-50c1-5ced-8223-f1f7932b8dca","name":"Returns a list of payment session objects.","originalRequest":{"url":{"path":["sessions","payment"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"resource\": \"payment_sessions\",\n  \"has_more\": true,\n  \"data\": [\n    {\n      \"id\": \"ps_296645958265997318\",\n      \"resource\": \"payment_session\",\n      \"amount\": 10000,\n      \"amount_human_readable\": \"100.00\",\n      \"capture\": true,\n      \"currency\": \"usd\",\n      \"customer_reference_id\": \"cust_ext_abc123\",\n      \"status\": \"completed\",\n      \"billing_details\": {\n        \"address\": {\n          \"city\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"country\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"line1\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"line2\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"postal_code\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"state\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          }\n        },\n        \"name\": \"John Smith\",\n        \"email\": \"john.smith@example.com\",\n        \"phone\": \"+14155551234\",\n        \"dob\": \"1985-07-15\",\n        \"national_identification_number\": \"123-45-6789\"\n      },\n      \"charge\": \"chrg_296645958265997312\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"setup_future_usage\": \"on_session\",\n      \"client_secret\": \"REDACTED\",\n      \"customer\": \"cust_296645958265997317\",\n      \"description\": \"Payment for Order #12345.\",\n      \"failure_code\": \"string\",\n      \"failure_message\": \"string\",\n      \"hold\": \"hld_296645958265997313\",\n      \"metadata\": {},\n      \"payment_method\": \"pm_card_296645958265997316\",\n      \"payment_method_details\": {\n        \"type\": \"card\",\n        \"card\": {\n          \"bin\": \"424242\",\n          \"brand\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"cardholder_currency\": \"usd\",\n          \"country\": \"US\",\n          \"exp_month\": \"12\",\n          \"exp_year\": \"2028\",\n          \"fingerprint\": \"fp_abc123xyz789\",\n          \"funding\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"last4\": \"4242\",\n          \"network\": \"visa\",\n          \"category\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"security_checks\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"wallet\": {\n            \"type\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"googlepay\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"applepay\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"ctp\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"token\": \"tok_card_296645958265997326\",\n          \"three_d_secure\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"three_ds\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"payout\": \"not_available\",\n          \"name_verification\": \"match\",\n          \"partial_approval\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"name\": \"John Smith\",\n          \"issuer\": \"Chase Bank\"\n        },\n        \"cashapp\": {\n          \"cashtag\": \"$acmecustomer\",\n          \"name\": \"Jenny Rosen\"\n        },\n        \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n        \"setup_future_usage\": \"on_session\"\n      },\n      \"payment_method_options\": {\n        \"card\": {\n          \"security_checks\": {\n            \"address_line1_check\": true,\n            \"address_postal_code_check\": true,\n            \"cvv_check\": true\n          }\n        }\n      },\n      \"payment_method_types\": [\n        \"card\",\n        \"card\"\n      ],\n      \"reference\": \"order_12345\",\n      \"receipt\": null,\n      \"return_url\": \"https://example.com/checkout/complete\",\n      \"settlement_account\": \"sa_296645958265997349\",\n      \"settlement_account_details\": {\n        \"processor\": \"worldpay\",\n        \"currency\": \"usd\",\n        \"name\": \"Main USD account\",\n        \"entity\": \"ent_296645958265997352\",\n        \"entity_details\": {\n          \"legal_name\": \"Acme Inc.\",\n          \"country\": \"US\"\n        }\n      },\n      \"shipping\": {\n        \"address\": {\n          \"city\": \"San Francisco\",\n          \"country\": \"US\",\n          \"line1\": \"123 Main Street\",\n          \"line2\": \"Suite 400\",\n          \"postal_code\": \"94102\",\n          \"state\": \"CA\"\n        },\n        \"name\": \"John Smith\",\n        \"phone\": \"+14155551234\"\n      },\n      \"statement_descriptor_suffix\": \"ACME STORE\",\n      \"test_mode\": true\n    },\n    {\n      \"id\": \"ps_296645958265997318\",\n      \"resource\": \"payment_session\",\n      \"amount\": 10000,\n      \"amount_human_readable\": \"100.00\",\n      \"capture\": true,\n      \"currency\": \"usd\",\n      \"customer_reference_id\": \"cust_ext_abc123\",\n      \"status\": \"completed\",\n      \"billing_details\": {\n        \"address\": {\n          \"city\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"country\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"line1\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"line2\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"postal_code\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"state\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          }\n        },\n        \"name\": \"John Smith\",\n        \"email\": \"john.smith@example.com\",\n        \"phone\": \"+14155551234\",\n        \"dob\": \"1985-07-15\",\n        \"national_identification_number\": \"123-45-6789\"\n      },\n      \"charge\": \"chrg_296645958265997312\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"setup_future_usage\": \"on_session\",\n      \"client_secret\": \"REDACTED\",\n      \"customer\": \"cust_296645958265997317\",\n      \"description\": \"Payment for Order #12345.\",\n      \"failure_code\": \"string\",\n      \"failure_message\": \"string\",\n      \"hold\": \"hld_296645958265997313\",\n      \"metadata\": {},\n      \"payment_method\": \"pm_card_296645958265997316\",\n      \"payment_method_details\": {\n        \"type\": \"card\",\n        \"card\": {\n          \"bin\": \"424242\",\n          \"brand\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"cardholder_currency\": \"usd\",\n          \"country\": \"US\",\n          \"exp_month\": \"12\",\n          \"exp_year\": \"2028\",\n          \"fingerprint\": \"fp_abc123xyz789\",\n          \"funding\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"last4\": \"4242\",\n          \"network\": \"visa\",\n          \"category\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"security_checks\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"wallet\": {\n            \"type\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"googlepay\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"applepay\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"ctp\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"token\": \"tok_card_296645958265997326\",\n          \"three_d_secure\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"three_ds\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"payout\": \"not_available\",\n          \"name_verification\": \"match\",\n          \"partial_approval\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"name\": \"John Smith\",\n          \"issuer\": \"Chase Bank\"\n        },\n        \"cashapp\": {\n          \"cashtag\": \"$acmecustomer\",\n          \"name\": \"Jenny Rosen\"\n        },\n        \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n        \"setup_future_usage\": \"on_session\"\n      },\n      \"payment_method_options\": {\n        \"card\": {\n          \"security_checks\": {\n            \"address_line1_check\": true,\n            \"address_postal_code_check\": true,\n            \"cvv_check\": true\n          }\n        }\n      },\n      \"payment_method_types\": [\n        \"card\",\n        \"card\"\n      ],\n      \"reference\": \"order_12345\",\n      \"receipt\": null,\n      \"return_url\": \"https://example.com/checkout/complete\",\n      \"settlement_account\": \"sa_296645958265997349\",\n      \"settlement_account_details\": {\n        \"processor\": \"worldpay\",\n        \"currency\": \"usd\",\n        \"name\": \"Main USD account\",\n        \"entity\": \"ent_296645958265997352\",\n        \"entity_details\": {\n          \"legal_name\": \"Acme Inc.\",\n          \"country\": \"US\"\n        }\n      },\n      \"shipping\": {\n        \"address\": {\n          \"city\": \"San Francisco\",\n          \"country\": \"US\",\n          \"line1\": \"123 Main Street\",\n          \"line2\": \"Suite 400\",\n          \"postal_code\": \"94102\",\n          \"state\": \"CA\"\n        },\n        \"name\": \"John Smith\",\n        \"phone\": \"+14155551234\"\n      },\n      \"statement_descriptor_suffix\": \"ACME STORE\",\n      \"test_mode\": true\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"61121d2d-1081-5ef0-b8f7-89a88f97539c","name":"Invalid request parameters.","originalRequest":{"url":{"path":["sessions","payment"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"360043b5-efa4-5eaa-b1c0-3c25b9485c47","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["sessions","payment"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0efba49f-4cd9-5194-b713-d1d5171d4649","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["sessions","payment"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a1ffccda-2dfb-57b1-9c6a-4420f6b75c12","name":"Another list query is already running for your account. Retry after the number of seconds in the `Retry-After` header.","originalRequest":{"url":{"path":["sessions","payment"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"disabled":false,"description":"Number of seconds to wait before retrying.","key":"Retry-After","value":"6186"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Only one bulk query per merchant can run at a time. Retry after the current query completes.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3344e959-92be-5bbb-9d19-61100139178f","name":"Internal server error.","originalRequest":{"url":{"path":["sessions","payment"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f6c63d0d-a5d5-5169-8c90-50c3ee35c49d","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["sessions","payment"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"55ed0b77-f6dd-5462-b33a-88bd6c1c3619","name":"Retrieve a payment session","request":{"name":"Retrieve a payment session","description":{"content":"Retrieves the details of a payment session.","type":"text/plain"},"url":{"path":["sessions","payment",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"49e01f86-0cbb-5814-a0eb-90787376a0d7","name":"Returns the payment session object.","originalRequest":{"url":{"path":["sessions","payment",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"ps_296645958265997318\",\n  \"resource\": \"payment_session\",\n  \"amount\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"capture\": true,\n  \"currency\": \"usd\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"status\": \"completed\",\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"charge\": \"chrg_296645958265997312\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"setup_future_usage\": \"off_session\",\n  \"client_secret\": \"REDACTED\",\n  \"customer\": \"cust_296645958265997317\",\n  \"description\": \"Payment for Order #12345.\",\n  \"failure_code\": \"string\",\n  \"failure_message\": \"string\",\n  \"hold\": \"hld_296645958265997313\",\n  \"metadata\": {},\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"payment_method_details\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"bin\": \"424242\",\n      \"brand\": \"visa\",\n      \"cardholder_currency\": \"usd\",\n      \"country\": \"US\",\n      \"exp_month\": \"12\",\n      \"exp_year\": \"2028\",\n      \"fingerprint\": \"fp_abc123xyz789\",\n      \"funding\": \"debit\",\n      \"last4\": \"4242\",\n      \"network\": \"visa\",\n      \"category\": \"consumer\",\n      \"security_checks\": {\n        \"address_line1_check\": \"unavailable\",\n        \"address_postal_code_check\": \"unavailable\",\n        \"cvc_check\": \"pass\"\n      },\n      \"wallet\": {\n        \"type\": \"googlepay\",\n        \"googlepay\": {\n          \"type\": \"cryptogram_3ds\",\n          \"physical_card_last4\": \"4242\"\n        },\n        \"applepay\": {\n          \"physical_card_last4\": \"4242\"\n        },\n        \"ctp\": {\n          \"physical_card_last4\": \"string\",\n          \"physical_card_bin\": \"string\",\n          \"physical_card_exp_month\": \"string\",\n          \"physical_card_exp_year\": \"string\"\n        }\n      },\n      \"token\": \"tok_card_296645958265997326\",\n      \"three_d_secure\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"version\": \"2.2.0\",\n        \"eci\": \"05\",\n        \"cardholder_info\": \"string\",\n        \"liability_shift\": true\n      },\n      \"three_ds\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"status_reason\": \"string\",\n        \"protocol_version\": \"2.2.0\",\n        \"eci\": \"02\",\n        \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n        \"liability_shift\": true,\n        \"cardholder_info\": \"string\",\n        \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n        \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n        \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n        \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n        \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n      },\n      \"payout\": \"not_available\",\n      \"name_verification\": \"match\",\n      \"partial_approval\": {\n        \"status\": \"accepted\",\n        \"amount_requested\": 10000,\n        \"amount_authorized\": 7500,\n        \"amount_charged\": 7500,\n        \"product_id\": \"prod_12345\"\n      },\n      \"name\": \"John Smith\",\n      \"issuer\": \"Chase Bank\"\n    },\n    \"cashapp\": {\n      \"cashtag\": \"$acmecustomer\",\n      \"name\": \"Jenny Rosen\"\n    },\n    \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n    \"setup_future_usage\": \"on_session\"\n  },\n  \"payment_method_options\": {\n    \"card\": {\n      \"security_checks\": {\n        \"address_line1_check\": true,\n        \"address_postal_code_check\": true,\n        \"cvv_check\": true\n      }\n    }\n  },\n  \"payment_method_types\": [\n    \"card\",\n    \"card\"\n  ],\n  \"reference\": \"order_12345\",\n  \"receipt\": null,\n  \"return_url\": \"https://example.com/checkout/complete\",\n  \"settlement_account\": \"sa_296645958265997349\",\n  \"settlement_account_details\": {\n    \"processor\": \"worldpay\",\n    \"currency\": \"usd\",\n    \"name\": \"Main USD account\",\n    \"entity\": \"ent_296645958265997352\",\n    \"entity_details\": {\n      \"legal_name\": \"Acme Inc.\",\n      \"country\": \"US\"\n    }\n  },\n  \"shipping\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"phone\": \"+14155551234\"\n  },\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"test_mode\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6815b85c-1d46-5436-81e6-7059682ca5ef","name":"Invalid request parameters.","originalRequest":{"url":{"path":["sessions","payment",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"eb40e77e-0e94-56d0-9cf0-46b7d8caa0c6","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["sessions","payment",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"01eac896-7502-51a7-9e12-5cfa19f51d39","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["sessions","payment",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"596cbfc4-c756-5ad9-bc3c-a0682fcf44f2","name":"Payment session not found, or it belongs to another merchant.","originalRequest":{"url":{"path":["sessions","payment",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7df164da-59d3-585d-8ddd-1d56a130356f","name":"Internal server error.","originalRequest":{"url":{"path":["sessions","payment",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6678c6c2-7800-5aac-af5a-87ad64373d98","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["sessions","payment",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"082bf408-d2a0-5e6a-b132-8df9320f850a","name":"Update a payment session","request":{"name":"Update a payment session","description":{"content":"Updates a payment session.\n\n- Once a payment in the session has been processed, only `reference`, `metadata` and `description` can be changed; sending any other field returns 400.\n- While a payment attempt is in flight, the call returns 400 with code `transaction_in_flight`.\n- `metadata` replaces the stored metadata as a whole.","type":"text/plain"},"url":{"path":["sessions","payment",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":null,"body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"8a94a9b7-ad50-520c-a373-f893b2b3f3dc","name":"Returns the updated payment session object.","originalRequest":{"url":{"path":["sessions","payment",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"ps_296645958265997318\",\n  \"resource\": \"payment_session\",\n  \"amount\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"capture\": true,\n  \"currency\": \"usd\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"status\": \"completed\",\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"charge\": \"chrg_296645958265997312\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"setup_future_usage\": \"off_session\",\n  \"client_secret\": \"REDACTED\",\n  \"customer\": \"cust_296645958265997317\",\n  \"description\": \"Payment for Order #12345.\",\n  \"failure_code\": \"string\",\n  \"failure_message\": \"string\",\n  \"hold\": \"hld_296645958265997313\",\n  \"metadata\": {},\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"payment_method_details\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"bin\": \"424242\",\n      \"brand\": \"visa\",\n      \"cardholder_currency\": \"usd\",\n      \"country\": \"US\",\n      \"exp_month\": \"12\",\n      \"exp_year\": \"2028\",\n      \"fingerprint\": \"fp_abc123xyz789\",\n      \"funding\": \"debit\",\n      \"last4\": \"4242\",\n      \"network\": \"visa\",\n      \"category\": \"consumer\",\n      \"security_checks\": {\n        \"address_line1_check\": \"unavailable\",\n        \"address_postal_code_check\": \"unavailable\",\n        \"cvc_check\": \"pass\"\n      },\n      \"wallet\": {\n        \"type\": \"googlepay\",\n        \"googlepay\": {\n          \"type\": \"cryptogram_3ds\",\n          \"physical_card_last4\": \"4242\"\n        },\n        \"applepay\": {\n          \"physical_card_last4\": \"4242\"\n        },\n        \"ctp\": {\n          \"physical_card_last4\": \"string\",\n          \"physical_card_bin\": \"string\",\n          \"physical_card_exp_month\": \"string\",\n          \"physical_card_exp_year\": \"string\"\n        }\n      },\n      \"token\": \"tok_card_296645958265997326\",\n      \"three_d_secure\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"version\": \"2.2.0\",\n        \"eci\": \"05\",\n        \"cardholder_info\": \"string\",\n        \"liability_shift\": true\n      },\n      \"three_ds\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"status_reason\": \"string\",\n        \"protocol_version\": \"2.2.0\",\n        \"eci\": \"02\",\n        \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n        \"liability_shift\": true,\n        \"cardholder_info\": \"string\",\n        \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n        \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n        \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n        \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n        \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n      },\n      \"payout\": \"not_available\",\n      \"name_verification\": \"match\",\n      \"partial_approval\": {\n        \"status\": \"accepted\",\n        \"amount_requested\": 10000,\n        \"amount_authorized\": 7500,\n        \"amount_charged\": 7500,\n        \"product_id\": \"prod_12345\"\n      },\n      \"name\": \"John Smith\",\n      \"issuer\": \"Chase Bank\"\n    },\n    \"cashapp\": {\n      \"cashtag\": \"$acmecustomer\",\n      \"name\": \"Jenny Rosen\"\n    },\n    \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n    \"setup_future_usage\": \"on_session\"\n  },\n  \"payment_method_options\": {\n    \"card\": {\n      \"security_checks\": {\n        \"address_line1_check\": true,\n        \"address_postal_code_check\": true,\n        \"cvv_check\": true\n      }\n    }\n  },\n  \"payment_method_types\": [\n    \"card\",\n    \"card\"\n  ],\n  \"reference\": \"order_12345\",\n  \"receipt\": null,\n  \"return_url\": \"https://example.com/checkout/complete\",\n  \"settlement_account\": \"sa_296645958265997349\",\n  \"settlement_account_details\": {\n    \"processor\": \"worldpay\",\n    \"currency\": \"usd\",\n    \"name\": \"Main USD account\",\n    \"entity\": \"ent_296645958265997352\",\n    \"entity_details\": {\n      \"legal_name\": \"Acme Inc.\",\n      \"country\": \"US\"\n    }\n  },\n  \"shipping\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"phone\": \"+14155551234\"\n  },\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"test_mode\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9580f2d6-11ae-5545-a4ed-355682fe10d3","name":"Invalid request parameters. Also returned when fields other than `reference`, `metadata` and `description` are sent after the session was processed, and with code `transaction_in_flight` while a payment attempt is in progress.","originalRequest":{"url":{"path":["sessions","payment",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"df0172f6-7ffd-511d-9c8c-575dd35880d6","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["sessions","payment",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5ac40857-fe57-5657-b267-10867799c15c","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["sessions","payment",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4477252a-43b9-5bb7-98b5-1878c99a08a6","name":"Payment session not found.","originalRequest":{"url":{"path":["sessions","payment",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"61bcfffe-297b-5295-b387-065b2351cee6","name":"Internal server error.","originalRequest":{"url":{"path":["sessions","payment",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4c3e400a-f578-507c-9c09-7b26060a5148","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["sessions","payment",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"5406ce15-795f-5227-901e-7ec3633bbe72","name":"Retrieve payment session client details","request":{"name":"Retrieve payment session client details","description":{"content":"Retrieves the location details of the customer's device for a payment session opened with Pay.com.js.","type":"text/plain"},"url":{"path":["sessions","payment",":id","client_details"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null},"response":[{"id":"45f792d6-93cf-5707-8094-527e67a05530","name":"Returns the client details object.","originalRequest":{"url":{"path":["sessions","payment",":id","client_details"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"clnt_296645958265997318\",\n  \"resource\": \"client_details\",\n  \"country\": \"US\",\n  \"ip_address\": \"203.0.113.42\",\n  \"city\": \"San Francisco\",\n  \"continent\": \"NA\",\n  \"latitude\": \"37.77490\",\n  \"longitude\": \"-122.41940\",\n  \"state\": \"string\",\n  \"postal_code\": \"94102\",\n  \"region\": \"California\",\n  \"region_code\": \"CA\",\n  \"subdivision\": \"US-CA\",\n  \"timezone\": \"America/Los_Angeles\",\n  \"test_mode\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3acecac0-059e-5967-90c3-ba413cdb953a","name":"Invalid request parameters.","originalRequest":{"url":{"path":["sessions","payment",":id","client_details"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1fe049e3-964b-5413-a49f-f8cb2a4ca275","name":"The API key was refused (`invalid_key` and the other codes of a 401).","originalRequest":{"url":{"path":["sessions","payment",":id","client_details"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0f9bd526-d4a9-53d9-835e-2e13d9ee2371","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["sessions","payment",":id","client_details"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"adb056fb-af65-5dde-9dc3-ccbff416d1fd","name":"Payment session not found.","originalRequest":{"url":{"path":["sessions","payment",":id","client_details"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e29927fd-4957-54af-8f60-fc3d0f3a4e8a","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["sessions","payment",":id","client_details"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6d316f2b-f792-5e9f-830c-5ffac9c1e4c0","name":"Internal server error.","originalRequest":{"url":{"path":["sessions","payment",":id","client_details"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5822f44f-d76c-56a0-a26f-d44658fb5602","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["sessions","payment",":id","client_details"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"6883ba9c-d823-5f61-9097-6b98681afb19","name":"Refresh a payment session","request":{"name":"Refresh a payment session","description":{"content":"Issues a new client secret (JWT) for an existing payment session and restarts the session's expiry timer for `expiry` minutes. The payment session must still be open; approved, declined, cancelled, errored and expired sessions return 400.","type":"text/plain"},"url":{"path":["sessions","payment",":id","refresh"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"expiry\": 30\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"9dcbcdd5-1a06-5c80-a371-8dc960f39c42","name":"Returns the new client secret for the payment session.","originalRequest":{"url":{"path":["sessions","payment",":id","refresh"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"expiry\": 30\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"client_secret\": \"REDACTED\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"80d76883-0937-5f4a-956a-1df679f37572","name":"Invalid request parameters, or the payment session is not open, does not exist or belongs to another merchant.","originalRequest":{"url":{"path":["sessions","payment",":id","refresh"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"expiry\": 30\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"03854e22-28e0-5b99-b14b-9866d344f16c","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["sessions","payment",":id","refresh"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"expiry\": 30\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a9e64e29-9743-500c-a370-73dea956899a","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["sessions","payment",":id","refresh"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"expiry\": 30\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4e7bceed-e8e3-544d-976a-be0219f6c1f9","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["sessions","payment",":id","refresh"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"expiry\": 30\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f26df99f-4254-5ca0-b34a-656b3ae089e6","name":"Internal server error.","originalRequest":{"url":{"path":["sessions","payment",":id","refresh"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"expiry\": 30\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d4254263-025f-5b22-b04a-a078388c89c2","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["sessions","payment",":id","refresh"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"expiry\": 30\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"62765eeb-f739-5fcf-9321-f8d32edc8078","name":"Block a payment session","request":{"name":"Block a payment session","description":{"content":"Blocks an open payment session, for example after you created a new session for the same customer. The session keeps its status and expiry, but every later payment attempt in it, including a 3DS challenge completed later, is declined with the `blocked_by_merchant` failure code instead of being charged, and you receive the usual decline webhook. Only a session that has not been processed yet can be blocked. Blocking an already blocked open session has no further effect.","type":"text/plain"},"url":{"path":["sessions","payment",":id","block"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null},"response":[{"id":"34222897-1744-5e2c-9257-7b5b1a4108ba","name":"Returns the payment session object.","originalRequest":{"url":{"path":["sessions","payment",":id","block"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"ps_296645958265997318\",\n  \"resource\": \"payment_session\",\n  \"amount\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"capture\": true,\n  \"currency\": \"usd\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"status\": \"completed\",\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"charge\": \"chrg_296645958265997312\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"setup_future_usage\": \"off_session\",\n  \"client_secret\": \"REDACTED\",\n  \"customer\": \"cust_296645958265997317\",\n  \"description\": \"Payment for Order #12345.\",\n  \"failure_code\": \"string\",\n  \"failure_message\": \"string\",\n  \"hold\": \"hld_296645958265997313\",\n  \"metadata\": {},\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"payment_method_details\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"bin\": \"424242\",\n      \"brand\": \"visa\",\n      \"cardholder_currency\": \"usd\",\n      \"country\": \"US\",\n      \"exp_month\": \"12\",\n      \"exp_year\": \"2028\",\n      \"fingerprint\": \"fp_abc123xyz789\",\n      \"funding\": \"debit\",\n      \"last4\": \"4242\",\n      \"network\": \"visa\",\n      \"category\": \"consumer\",\n      \"security_checks\": {\n        \"address_line1_check\": \"unavailable\",\n        \"address_postal_code_check\": \"unavailable\",\n        \"cvc_check\": \"pass\"\n      },\n      \"wallet\": {\n        \"type\": \"googlepay\",\n        \"googlepay\": {\n          \"type\": \"cryptogram_3ds\",\n          \"physical_card_last4\": \"4242\"\n        },\n        \"applepay\": {\n          \"physical_card_last4\": \"4242\"\n        },\n        \"ctp\": {\n          \"physical_card_last4\": \"string\",\n          \"physical_card_bin\": \"string\",\n          \"physical_card_exp_month\": \"string\",\n          \"physical_card_exp_year\": \"string\"\n        }\n      },\n      \"token\": \"tok_card_296645958265997326\",\n      \"three_d_secure\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"version\": \"2.2.0\",\n        \"eci\": \"05\",\n        \"cardholder_info\": \"string\",\n        \"liability_shift\": true\n      },\n      \"three_ds\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"status_reason\": \"string\",\n        \"protocol_version\": \"2.2.0\",\n        \"eci\": \"02\",\n        \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n        \"liability_shift\": true,\n        \"cardholder_info\": \"string\",\n        \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n        \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n        \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n        \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n        \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n      },\n      \"payout\": \"not_available\",\n      \"name_verification\": \"match\",\n      \"partial_approval\": {\n        \"status\": \"accepted\",\n        \"amount_requested\": 10000,\n        \"amount_authorized\": 7500,\n        \"amount_charged\": 7500,\n        \"product_id\": \"prod_12345\"\n      },\n      \"name\": \"John Smith\",\n      \"issuer\": \"Chase Bank\"\n    },\n    \"cashapp\": {\n      \"cashtag\": \"$acmecustomer\",\n      \"name\": \"Jenny Rosen\"\n    },\n    \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n    \"setup_future_usage\": \"on_session\"\n  },\n  \"payment_method_options\": {\n    \"card\": {\n      \"security_checks\": {\n        \"address_line1_check\": true,\n        \"address_postal_code_check\": true,\n        \"cvv_check\": true\n      }\n    }\n  },\n  \"payment_method_types\": [\n    \"card\",\n    \"card\"\n  ],\n  \"reference\": \"order_12345\",\n  \"receipt\": null,\n  \"return_url\": \"https://example.com/checkout/complete\",\n  \"settlement_account\": \"sa_296645958265997349\",\n  \"settlement_account_details\": {\n    \"processor\": \"worldpay\",\n    \"currency\": \"usd\",\n    \"name\": \"Main USD account\",\n    \"entity\": \"ent_296645958265997352\",\n    \"entity_details\": {\n      \"legal_name\": \"Acme Inc.\",\n      \"country\": \"US\"\n    }\n  },\n  \"shipping\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"phone\": \"+14155551234\"\n  },\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"test_mode\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f8884e02-c537-5f9c-8a28-d8ca7429f019","name":"Invalid request parameters.","originalRequest":{"url":{"path":["sessions","payment",":id","block"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4f60516d-fd9a-589a-a96b-bc53cb682a1c","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["sessions","payment",":id","block"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"41cf2e90-24e9-504c-95ea-4afad8cf4d3b","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["sessions","payment",":id","block"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"941001d8-53fd-5e84-8770-3604775a8583","name":"Payment session not found.","originalRequest":{"url":{"path":["sessions","payment",":id","block"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4d879498-07d4-587e-a092-1552501a256e","name":"The payment session was already processed (for example approved, declined or expired) and can't be blocked (`session_already_processed`), or another request with the same `idempotency-key` has no response to replay yet (`request_in_progress`).","originalRequest":{"url":{"path":["sessions","payment",":id","block"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"session_already_processed\",\n    \"message\": \"Unable to block already processed payment session with id ps_296645958265997318\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"78d2ed5b-5f82-57a8-a039-2fbd36ebe8e1","name":"Internal server error.","originalRequest":{"url":{"path":["sessions","payment",":id","block"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6f13e4b4-ca35-598a-bbcf-bd89d0f66fbb","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["sessions","payment",":id","block"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"31eab53c-2533-5db4-a768-b8517b2e358e","name":"AuthenticationSessions","description":{"content":"Manage 3D Secure authentication sessions for enhanced payment security.","type":"text/plain"},"item":[{"id":"05b88e45-358d-53de-8a28-c7374a3111d0","name":"Retrieve an authentication session","request":{"name":"Retrieve an authentication session","description":{"content":"Retrieves the details of an authentication session. Standalone sessions created with `POST /authentication/session/independent` are also returned here in this shape; use `GET /authentication/{id}` to retrieve them in the standalone shape.","type":"text/plain"},"url":{"path":["sessions","authentication",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sca_296645958265997334","key":"id","description":"(Required) The unique identifier of the authentication session."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"31051098-0f21-5af4-932b-623f42204074","name":"Returns the authentication session object.","originalRequest":{"url":{"path":["sessions","authentication",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sca_296645958265997334","key":"id","description":"(Required) The unique identifier of the authentication session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"sca_296645958265997334\",\n  \"resource\": \"authentication_session\",\n  \"amount\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"currency\": \"usd\",\n  \"status\": \"authenticated\",\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"charge\": \"chrg_296645958265997312\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"client_secret\": \"REDACTED\",\n  \"hold\": \"hld_296645958265997313\",\n  \"metadata\": {},\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"payment_method_details\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"bin\": \"424242\",\n      \"brand\": \"visa\",\n      \"cardholder_currency\": \"usd\",\n      \"country\": \"US\",\n      \"exp_month\": \"12\",\n      \"exp_year\": \"2028\",\n      \"fingerprint\": \"fp_abc123xyz789\",\n      \"funding\": \"unknown\",\n      \"last4\": \"4242\",\n      \"network\": \"visa\",\n      \"category\": \"business\",\n      \"security_checks\": {\n        \"address_line1_check\": \"unavailable\",\n        \"address_postal_code_check\": \"unavailable\",\n        \"cvc_check\": \"pass\"\n      },\n      \"wallet\": {\n        \"type\": \"googlepay\",\n        \"googlepay\": {\n          \"type\": \"cryptogram_3ds\",\n          \"physical_card_last4\": \"4242\"\n        },\n        \"applepay\": {\n          \"physical_card_last4\": \"4242\"\n        },\n        \"ctp\": {\n          \"physical_card_last4\": \"string\",\n          \"physical_card_bin\": \"string\",\n          \"physical_card_exp_month\": \"string\",\n          \"physical_card_exp_year\": \"string\"\n        }\n      },\n      \"token\": \"tok_card_296645958265997326\",\n      \"three_d_secure\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"version\": \"2.2.0\",\n        \"eci\": \"05\",\n        \"cardholder_info\": \"string\",\n        \"liability_shift\": true\n      },\n      \"three_ds\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"status_reason\": \"string\",\n        \"protocol_version\": \"2.2.0\",\n        \"eci\": \"02\",\n        \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n        \"liability_shift\": true,\n        \"cardholder_info\": \"string\",\n        \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n        \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n        \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n        \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n        \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n      },\n      \"payout\": \"not_available\",\n      \"name_verification\": \"match\",\n      \"partial_approval\": {\n        \"status\": \"accepted\",\n        \"amount_requested\": 10000,\n        \"amount_authorized\": 7500,\n        \"amount_charged\": 7500,\n        \"product_id\": \"prod_12345\"\n      },\n      \"name\": \"John Smith\",\n      \"issuer\": \"Chase Bank\"\n    },\n    \"reference\": \"string\"\n  },\n  \"return_url\": \"https://example.com/callback.html\",\n  \"shipping\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"phone\": \"+14155551234\"\n  },\n  \"reference\": \"order_12345\",\n  \"test_mode\": true,\n  \"url\": \"https://pay.com/authenticate?client_secret=REDACTED\",\n  \"three_d_secure_details\": {\n    \"cavv\": \"AAEBAwQjSQAAXXXXXXXJYe0BbQA=\",\n    \"xid\": \"string\",\n    \"eci\": \"05\",\n    \"cardholder_info\": \"string\",\n    \"status_reason\": \"string\",\n    \"authentication_flow\": \"challenge\",\n    \"protocol_version\": \"2.2.0\",\n    \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n    \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n    \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n    \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n    \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\",\n    \"flow\": \"challenge\",\n    \"version\": \"2.2.0\",\n    \"ds_trans_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\"\n  },\n  \"three_ds\": {\n    \"cavv\": \"AAEBAwQjSQAAXXXXXXXJYe0BbQA=\",\n    \"xid\": \"string\",\n    \"eci\": \"05\",\n    \"cardholder_info\": \"string\",\n    \"status_reason\": \"string\",\n    \"authentication_flow\": \"challenge\",\n    \"protocol_version\": \"2.2.0\",\n    \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n    \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n    \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n    \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n    \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\",\n    \"flow\": \"challenge\",\n    \"version\": \"2.2.0\",\n    \"ds_trans_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b240932d-9847-5345-ba0b-3886110020cb","name":"Invalid request parameters.","originalRequest":{"url":{"path":["sessions","authentication",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sca_296645958265997334","key":"id","description":"(Required) The unique identifier of the authentication session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e0698b75-1c77-575d-a3f1-eb01b2dc6d56","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["sessions","authentication",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sca_296645958265997334","key":"id","description":"(Required) The unique identifier of the authentication session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ad685b79-7a96-59a5-8300-2e499714dac6","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["sessions","authentication",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sca_296645958265997334","key":"id","description":"(Required) The unique identifier of the authentication session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9a415eb5-412f-5d90-8aab-87a033eb1503","name":"Authentication session not found.","originalRequest":{"url":{"path":["sessions","authentication",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sca_296645958265997334","key":"id","description":"(Required) The unique identifier of the authentication session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a25cb53f-8562-58c7-a1ba-e021184136f5","name":"Internal server error.","originalRequest":{"url":{"path":["sessions","authentication",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sca_296645958265997334","key":"id","description":"(Required) The unique identifier of the authentication session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4d0f0964-6109-5659-9686-52c565a340d0","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["sessions","authentication",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sca_296645958265997334","key":"id","description":"(Required) The unique identifier of the authentication session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"bb65fcf7-0b9f-59f5-843f-e562a8862dcf","name":"Create a linked authentication session","request":{"name":"Create a linked authentication session","description":{"content":"Creates a 3D Secure authentication session linked to an existing charge, hold, or payment method.","type":"text/plain"},"url":{"path":["sessions","authentication","linked"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"resource\": \"chrg_296645958265997312\",\n  \"return_url\": \"https://example.com/checkout/complete\",\n  \"confirm\": true,\n  \"duration\": 15\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"09778ca5-1e6d-58a5-98f0-d7bbb1bc10ed","name":"Returns the authentication session object, with `status` `open`, the `client_secret` and the `url` to send the customer to.","originalRequest":{"url":{"path":["sessions","authentication","linked"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"resource\": \"chrg_296645958265997312\",\n  \"return_url\": \"https://example.com/checkout/complete\",\n  \"confirm\": true,\n  \"duration\": 15\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"sca_296645958265997334\",\n  \"resource\": \"authentication_session\",\n  \"amount\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"currency\": \"usd\",\n  \"status\": \"authenticated\",\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"charge\": \"chrg_296645958265997312\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"client_secret\": \"REDACTED\",\n  \"hold\": \"hld_296645958265997313\",\n  \"metadata\": {},\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"payment_method_details\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"bin\": \"424242\",\n      \"brand\": \"visa\",\n      \"cardholder_currency\": \"usd\",\n      \"country\": \"US\",\n      \"exp_month\": \"12\",\n      \"exp_year\": \"2028\",\n      \"fingerprint\": \"fp_abc123xyz789\",\n      \"funding\": \"unknown\",\n      \"last4\": \"4242\",\n      \"network\": \"visa\",\n      \"category\": \"business\",\n      \"security_checks\": {\n        \"address_line1_check\": \"unavailable\",\n        \"address_postal_code_check\": \"unavailable\",\n        \"cvc_check\": \"pass\"\n      },\n      \"wallet\": {\n        \"type\": \"googlepay\",\n        \"googlepay\": {\n          \"type\": \"cryptogram_3ds\",\n          \"physical_card_last4\": \"4242\"\n        },\n        \"applepay\": {\n          \"physical_card_last4\": \"4242\"\n        },\n        \"ctp\": {\n          \"physical_card_last4\": \"string\",\n          \"physical_card_bin\": \"string\",\n          \"physical_card_exp_month\": \"string\",\n          \"physical_card_exp_year\": \"string\"\n        }\n      },\n      \"token\": \"tok_card_296645958265997326\",\n      \"three_d_secure\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"version\": \"2.2.0\",\n        \"eci\": \"05\",\n        \"cardholder_info\": \"string\",\n        \"liability_shift\": true\n      },\n      \"three_ds\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"status_reason\": \"string\",\n        \"protocol_version\": \"2.2.0\",\n        \"eci\": \"02\",\n        \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n        \"liability_shift\": true,\n        \"cardholder_info\": \"string\",\n        \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n        \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n        \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n        \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n        \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n      },\n      \"payout\": \"not_available\",\n      \"name_verification\": \"match\",\n      \"partial_approval\": {\n        \"status\": \"accepted\",\n        \"amount_requested\": 10000,\n        \"amount_authorized\": 7500,\n        \"amount_charged\": 7500,\n        \"product_id\": \"prod_12345\"\n      },\n      \"name\": \"John Smith\",\n      \"issuer\": \"Chase Bank\"\n    },\n    \"reference\": \"string\"\n  },\n  \"return_url\": \"https://example.com/callback.html\",\n  \"shipping\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"phone\": \"+14155551234\"\n  },\n  \"reference\": \"order_12345\",\n  \"test_mode\": true,\n  \"url\": \"https://pay.com/authenticate?client_secret=REDACTED\",\n  \"three_d_secure_details\": {\n    \"cavv\": \"AAEBAwQjSQAAXXXXXXXJYe0BbQA=\",\n    \"xid\": \"string\",\n    \"eci\": \"05\",\n    \"cardholder_info\": \"string\",\n    \"status_reason\": \"string\",\n    \"authentication_flow\": \"challenge\",\n    \"protocol_version\": \"2.2.0\",\n    \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n    \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n    \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n    \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n    \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\",\n    \"flow\": \"challenge\",\n    \"version\": \"2.2.0\",\n    \"ds_trans_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\"\n  },\n  \"three_ds\": {\n    \"cavv\": \"AAEBAwQjSQAAXXXXXXXJYe0BbQA=\",\n    \"xid\": \"string\",\n    \"eci\": \"05\",\n    \"cardholder_info\": \"string\",\n    \"status_reason\": \"string\",\n    \"authentication_flow\": \"challenge\",\n    \"protocol_version\": \"2.2.0\",\n    \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n    \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n    \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n    \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n    \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\",\n    \"flow\": \"challenge\",\n    \"version\": \"2.2.0\",\n    \"ds_trans_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b2d56f4f-536c-509a-94c8-952bdfa07b15","name":"Invalid request parameters.","originalRequest":{"url":{"path":["sessions","authentication","linked"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"resource\": \"chrg_296645958265997312\",\n  \"return_url\": \"https://example.com/checkout/complete\",\n  \"confirm\": true,\n  \"duration\": 15\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"be278ed0-0478-53e2-80ed-c0236a73bd24","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["sessions","authentication","linked"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"resource\": \"chrg_296645958265997312\",\n  \"return_url\": \"https://example.com/checkout/complete\",\n  \"confirm\": true,\n  \"duration\": 15\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ed228b9f-fea4-51bd-8795-e22317a43e7e","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["sessions","authentication","linked"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"resource\": \"chrg_296645958265997312\",\n  \"return_url\": \"https://example.com/checkout/complete\",\n  \"confirm\": true,\n  \"duration\": 15\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9c5a02cb-f98d-54d7-a66f-fe3fae6a03b3","name":"Charge, hold, or payment method not found.","originalRequest":{"url":{"path":["sessions","authentication","linked"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"resource\": \"chrg_296645958265997312\",\n  \"return_url\": \"https://example.com/checkout/complete\",\n  \"confirm\": true,\n  \"duration\": 15\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c0b2b32f-4a12-56e5-b9a9-4eaf98a3ac77","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["sessions","authentication","linked"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"resource\": \"chrg_296645958265997312\",\n  \"return_url\": \"https://example.com/checkout/complete\",\n  \"confirm\": true,\n  \"duration\": 15\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d475c23b-40bd-5790-9ec8-9298be076a69","name":"Internal server error.","originalRequest":{"url":{"path":["sessions","authentication","linked"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"resource\": \"chrg_296645958265997312\",\n  \"return_url\": \"https://example.com/checkout/complete\",\n  \"confirm\": true,\n  \"duration\": 15\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"301bb9bd-9268-56a5-8527-aff17c6bde24","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["sessions","authentication","linked"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"resource\": \"chrg_296645958265997312\",\n  \"return_url\": \"https://example.com/checkout/complete\",\n  \"confirm\": true,\n  \"duration\": 15\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"6da50a28-3107-5f84-834c-0d65339bd867","name":"Checkout","description":{"content":"Create hosted checkout pages for collecting payments.","type":"text/plain"},"item":[{"id":"190b1a4e-b30d-5e73-b85e-1de2a06a22e6","name":"Create a checkout session","request":{"name":"Create a checkout session","description":{"content":"Creates a checkout session: a hosted page where the customer pays (`mode: payment`, which creates a charge) or saves a payment method (`mode: setup`).\n\n`amount` and `currency` are required for `mode: payment` unless `type` is `dynamic`.","type":"text/plain"},"url":{"path":["checkout"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"mode\": \"payment\",\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"billing_details\": {\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  },\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"payment_method_types\": [\n    \"card\"\n  ],\n  \"submit_type\": \"buy\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"a05c0ff7-8a8e-5dd9-9b1e-3aca177651dd","name":"Returns the created checkout object.","originalRequest":{"url":{"path":["checkout"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"mode\": \"payment\",\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"billing_details\": {\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  },\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"payment_method_types\": [\n    \"card\"\n  ],\n  \"submit_type\": \"buy\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"cs_296645958265997318\",\n  \"resource\": \"checkout_session\",\n  \"amount\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"type\": \"dynamic\",\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"cancel_url\": \"https://example.com/cancel\",\n  \"charge\": \"chrg_296645958265997312\",\n  \"currency\": \"usd\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"mode\": \"setup\",\n  \"payment_method\": \"string\",\n  \"payment_method_details\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"bin\": \"424242\",\n      \"brand\": \"visa\",\n      \"cardholder_currency\": \"usd\",\n      \"country\": \"US\",\n      \"exp_month\": \"12\",\n      \"exp_year\": \"2028\",\n      \"fingerprint\": \"fp_abc123xyz789\",\n      \"funding\": \"unknown\",\n      \"last4\": \"4242\",\n      \"network\": \"visa\",\n      \"category\": \"consumer\",\n      \"security_checks\": {\n        \"address_line1_check\": \"unavailable\",\n        \"address_postal_code_check\": \"unavailable\",\n        \"cvc_check\": \"pass\"\n      },\n      \"wallet\": {\n        \"type\": \"googlepay\",\n        \"googlepay\": {\n          \"type\": \"cryptogram_3ds\",\n          \"physical_card_last4\": \"4242\"\n        },\n        \"applepay\": {\n          \"physical_card_last4\": \"4242\"\n        },\n        \"ctp\": {\n          \"physical_card_last4\": \"string\",\n          \"physical_card_bin\": \"string\",\n          \"physical_card_exp_month\": \"string\",\n          \"physical_card_exp_year\": \"string\"\n        }\n      },\n      \"token\": \"tok_card_296645958265997326\",\n      \"three_d_secure\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"version\": \"2.2.0\",\n        \"eci\": \"05\",\n        \"cardholder_info\": \"string\",\n        \"liability_shift\": true\n      },\n      \"three_ds\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"status_reason\": \"string\",\n        \"protocol_version\": \"2.2.0\",\n        \"eci\": \"02\",\n        \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n        \"liability_shift\": true,\n        \"cardholder_info\": \"string\",\n        \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n        \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n        \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n        \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n        \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n      },\n      \"payout\": \"not_available\",\n      \"name_verification\": \"match\",\n      \"partial_approval\": {\n        \"status\": \"accepted\",\n        \"amount_requested\": 10000,\n        \"amount_authorized\": 7500,\n        \"amount_charged\": 7500,\n        \"product_id\": \"prod_12345\"\n      },\n      \"name\": \"John Smith\",\n      \"issuer\": \"Chase Bank\"\n    },\n    \"cashapp\": {\n      \"cashtag\": \"$acmecustomer\",\n      \"name\": \"Jenny Rosen\"\n    },\n    \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n    \"setup_future_usage\": \"on_session\"\n  },\n  \"payment_method_options\": {\n    \"card\": {\n      \"security_checks\": {\n        \"address_line1_check\": true,\n        \"address_postal_code_check\": true,\n        \"cvv_check\": true\n      }\n    }\n  },\n  \"reference\": \"order_12345\",\n  \"receipt_email\": \"string\",\n  \"receipt_number\": \"string\",\n  \"receipt_url\": \"string\",\n  \"setup_future_usage\": \"null\",\n  \"shipping\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"phone\": \"+14155551234\"\n  },\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"status\": \"failed\",\n  \"success_url\": \"https://example.com/success\",\n  \"url\": \"https://pay.com/buy/V1StGXR8_Z5jdHi6B-myT\",\n  \"test_mode\": true,\n  \"payment_link\": \"plink_296645958265997341\",\n  \"collection\": {\n    \"billing_address\": {\n      \"enabled\": true\n    },\n    \"shipping_address\": {\n      \"enabled\": true,\n      \"allowed_countries\": [\n        \"US\"\n      ]\n    },\n    \"phone_number\": {\n      \"enabled\": true\n    },\n    \"tax_id\": {\n      \"enabled\": true\n    }\n  },\n  \"expires_at\": \"1963-03-25T14:40:35.805Z\",\n  \"locale\": \"en-US\",\n  \"metadata\": {},\n  \"submit_type\": \"buy\",\n  \"custom_fields\": [\n    {\n      \"id\": \"string\",\n      \"placeholder\": \"string\",\n      \"label\": \"string\",\n      \"type\": \"date\",\n      \"input_type\": \"string\",\n      \"options\": [\n        {\n          \"label\": \"Small\",\n          \"value\": \"small\"\n        },\n        {\n          \"label\": \"Small\",\n          \"value\": \"small\"\n        }\n      ],\n      \"description\": \"string\",\n      \"validation\": {\n        \"required\": false,\n        \"max\": 3775,\n        \"min\": 2838,\n        \"max_length\": 596,\n        \"min_length\": 8668,\n        \"pattern\": \"string\"\n      }\n    },\n    {\n      \"id\": \"string\",\n      \"placeholder\": \"string\",\n      \"label\": \"string\",\n      \"type\": \"date\",\n      \"input_type\": \"string\",\n      \"options\": [\n        {\n          \"label\": \"Small\",\n          \"value\": \"small\"\n        },\n        {\n          \"label\": \"Small\",\n          \"value\": \"small\"\n        }\n      ],\n      \"description\": \"string\",\n      \"validation\": {\n        \"required\": false,\n        \"max\": 634,\n        \"min\": 7658,\n        \"max_length\": 8334,\n        \"min_length\": 2430,\n        \"pattern\": \"string\"\n      }\n    }\n  ],\n  \"custom_text\": {\n    \"shipping_address\": {\n      \"message\": \"Enter the address for delivery.\"\n    },\n    \"submit\": {\n      \"message\": \"We email your receipt after payment.\"\n    }\n  },\n  \"custom_fields_values\": {}\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"47ba8128-09ff-5949-975d-67973bbafa1f","name":"Invalid request parameters. Also returned for business rules, for example when a `crypto` payment method type needs the customer's email, or when `payment_method_options.card.enforce_customer_name_as_cardholder_name` is set and the customer has no name.","originalRequest":{"url":{"path":["checkout"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"mode\": \"payment\",\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"billing_details\": {\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  },\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"payment_method_types\": [\n    \"card\"\n  ],\n  \"submit_type\": \"buy\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"77c9fdae-cce9-5fee-855c-164d5fe1953d","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["checkout"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"mode\": \"payment\",\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"billing_details\": {\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  },\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"payment_method_types\": [\n    \"card\"\n  ],\n  \"submit_type\": \"buy\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"83489afa-c166-5705-ab0b-4275d8deec10","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["checkout"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"mode\": \"payment\",\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"billing_details\": {\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  },\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"payment_method_types\": [\n    \"card\"\n  ],\n  \"submit_type\": \"buy\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7e2870f9-e51a-5868-a43d-02dd1ac76de4","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["checkout"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"mode\": \"payment\",\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"billing_details\": {\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  },\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"payment_method_types\": [\n    \"card\"\n  ],\n  \"submit_type\": \"buy\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"26f1b4b6-d29a-5613-8038-2ff3cc18627b","name":"Unprocessable content. None of the capture methods are available for this checkout session.","originalRequest":{"url":{"path":["checkout"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"mode\": \"payment\",\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"billing_details\": {\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  },\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"payment_method_types\": [\n    \"card\"\n  ],\n  \"submit_type\": \"buy\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"Payment method is not set up for \\\"off_session\\\" mode\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d5087e00-cf99-5046-b992-e882b8ab9750","name":"Internal server error.","originalRequest":{"url":{"path":["checkout"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"mode\": \"payment\",\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"billing_details\": {\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  },\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"payment_method_types\": [\n    \"card\"\n  ],\n  \"submit_type\": \"buy\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"47e529a1-239c-5fb6-9f1a-4cdaa55accdb","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["checkout"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"mode\": \"payment\",\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"billing_details\": {\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  },\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"payment_method_types\": [\n    \"card\"\n  ],\n  \"submit_type\": \"buy\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"8b2ce090-4790-5ccc-912c-f05b31a4361c","name":"Cashflow","description":{"content":"Monitor your account balances and track cashflow transactions.","type":"text/plain"},"item":[{"id":"bd8ba138-4b3a-5abe-8e6a-0ce5ace8b40c","name":"Retrieve merchant balance","request":{"name":"Retrieve merchant balance","description":{"content":"Retrieves the balance of one settlement account over a date range, aggregated from its transactions.","type":"text/plain"},"url":{"path":["cashflow","balances"],"host":["{{pay_base_url}}"],"query":[{"disabled":false,"key":"settlement_account","value":"sa_296645958265997349","description":"(Required) The unique identifier of the settlement account."},{"disabled":false,"key":"date_from","value":"2024-01-01T00:00:00Z","description":"Start of the period, as an ISO 8601 date or date-time (UTC). Defaults to `2000-01-01T00:00:00Z`."},{"disabled":false,"key":"date_to","value":"2024-01-31T23:59:59Z","description":"End of the period, as an ISO 8601 date or date-time (UTC). Defaults to the end of the current day."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"e4f8aa09-bbe9-5257-ac79-4f6b0f364ce9","name":"Returns the balance object.","originalRequest":{"url":{"path":["cashflow","balances"],"host":["{{pay_base_url}}"],"query":[{"key":"settlement_account","value":"sa_296645958265997349"},{"key":"date_from","value":"2024-01-01T00:00:00Z"},{"key":"date_to","value":"2024-01-31T23:59:59Z"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"resource\": \"balance\",\n  \"currency\": \"usd\",\n  \"net_amount\": 483477146,\n  \"gross_amount\": 501762446,\n  \"processing_fees\": -5103673,\n  \"processing_fees_fixed\": -2000000,\n  \"processing_fees_percentage\": -3103673,\n  \"interchange_fees\": -5499808,\n  \"network_fees\": -7681819,\n  \"count\": 19325,\n  \"balance_breakdown\": [\n    {\n      \"type\": \"charges\",\n      \"count\": 19325,\n      \"gross_amount\": 501762446,\n      \"net_amount\": 483477146,\n      \"processing_fees\": -5103673,\n      \"processing_fees_fixed\": 2930,\n      \"processing_fees_percentage\": 3421,\n      \"interchange_fees\": -5499808,\n      \"network_fees\": -7681819\n    },\n    {\n      \"type\": \"charges\",\n      \"count\": 19325,\n      \"gross_amount\": 501762446,\n      \"net_amount\": 483477146,\n      \"processing_fees\": -5103673,\n      \"processing_fees_fixed\": 4249,\n      \"processing_fees_percentage\": 8263,\n      \"interchange_fees\": -5499808,\n      \"network_fees\": -7681819\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6728e425-e1c2-504c-a2f0-9d2989af0463","name":"Invalid request parameters, an unknown settlement account (\"Settlement account id is invalid\"), or a settlement account with no settlement currency (settled directly by the provider).","originalRequest":{"url":{"path":["cashflow","balances"],"host":["{{pay_base_url}}"],"query":[{"key":"settlement_account","value":"sa_296645958265997349"},{"key":"date_from","value":"2024-01-01T00:00:00Z"},{"key":"date_to","value":"2024-01-31T23:59:59Z"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"870aa454-2dd9-5835-a08a-6e8dda857812","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["cashflow","balances"],"host":["{{pay_base_url}}"],"query":[{"key":"settlement_account","value":"sa_296645958265997349"},{"key":"date_from","value":"2024-01-01T00:00:00Z"},{"key":"date_to","value":"2024-01-31T23:59:59Z"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"33248319-306b-5ef0-b464-a1864438b3fa","name":"The API key may not make this request; `code` says why.","originalRequest":{"url":{"path":["cashflow","balances"],"host":["{{pay_base_url}}"],"query":[{"key":"settlement_account","value":"sa_296645958265997349"},{"key":"date_from","value":"2024-01-01T00:00:00Z"},{"key":"date_to","value":"2024-01-31T23:59:59Z"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"547f47ce-6c14-59a3-80cf-466c5dca89dc","name":"Internal server error.","originalRequest":{"url":{"path":["cashflow","balances"],"host":["{{pay_base_url}}"],"query":[{"key":"settlement_account","value":"sa_296645958265997349"},{"key":"date_from","value":"2024-01-01T00:00:00Z"},{"key":"date_to","value":"2024-01-31T23:59:59Z"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c7b737db-bc9c-5a77-bdd7-86006a2f83b8","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["cashflow","balances"],"host":["{{pay_base_url}}"],"query":[{"key":"settlement_account","value":"sa_296645958265997349"},{"key":"date_from","value":"2024-01-01T00:00:00Z"},{"key":"date_to","value":"2024-01-31T23:59:59Z"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"f7e831cc-f1fd-5c47-bafa-28c4a29aea42","name":"Retrieve a cashflow transaction","request":{"name":"Retrieve a cashflow transaction","description":{"content":"Retrieves the details of a cashflow transaction.","type":"text/plain"},"url":{"path":["cashflow","transactions",":cashflow_transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cflw_tx_296645958265997333","key":"cashflow_transaction_id","description":"(Required) The unique identifier of the cashflow transaction."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"6b53ee8d-f9fb-5dd8-8867-c235549f08b7","name":"Returns the cashflow transaction object.","originalRequest":{"url":{"path":["cashflow","transactions",":cashflow_transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cflw_tx_296645958265997333","key":"cashflow_transaction_id","description":"(Required) The unique identifier of the cashflow transaction."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"cflw_tx_296645958265997333\",\n  \"resource\": \"cashflow_transaction\",\n  \"type\": \"charge\",\n  \"currency\": \"usd\",\n  \"amount\": 10000,\n  \"available_on\": \"1960-07-20T21:42:48.165Z\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"source_currency\": \"usd\",\n  \"source_amount\": 10000,\n  \"source\": {\n    \"id\": \"chrg_296645958265997312\",\n    \"charge\": {\n      \"id\": \"chrg_296645958265997312\",\n      \"resource\": \"charge\",\n      \"amount\": 10000,\n      \"amount_human_readable\": \"100.00\",\n      \"amount_refunded\": 0,\n      \"billing_details\": {\n        \"address\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"name\": \"John Smith\",\n        \"email\": \"john.smith@example.com\",\n        \"phone\": \"+14155551234\",\n        \"dob\": \"1985-07-15\",\n        \"national_identification_number\": \"123-45-6789\"\n      },\n      \"calculated_statement_descriptor\": \"ACME * ACME STORE\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"currency\": \"usd\",\n      \"customer\": \"cust_296645958265997317\",\n      \"customer_reference_id\": \"cust_ext_abc123\",\n      \"cashflow_transaction\": \"cflw_tx_296645958265997312\",\n      \"description\": \"Payment for Order #12345\",\n      \"disputed\": true,\n      \"failure_code\": \"string\",\n      \"failure_message\": \"string\",\n      \"metadata\": {},\n      \"paid\": false,\n      \"payment_session\": \"ps_296645958265997318\",\n      \"hold\": \"string\",\n      \"payment_method\": \"pm_card_296645958265997316\",\n      \"fraud\": true,\n      \"retry_attempts\": [\n        {\n          \"id\": \"rtratt_296645958265997312_1_1\",\n          \"created\": \"2024-01-15T10:30:00Z\",\n          \"type\": \"fallback\",\n          \"failure_code\": \"card_declined\",\n          \"failure_message\": \"The card was declined.\",\n          \"underlying_network_details\": {\n            \"network\": \"visa\",\n            \"visa\": {\n              \"arn\": \"74234567890123456789012\",\n              \"auth_code\": \"123456\",\n              \"raw_response_code\": \"00\",\n              \"rrn\": \"123456789012\",\n              \"eci\": \"05\",\n              \"aci\": \"Y\",\n              \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n            }\n          },\n          \"underlying_network_id\": \"74234567890123456789012\",\n          \"underlying_processing_details\": {\n            \"processor\": \"stripe\",\n            \"transaction_id\": \"pi_abc123xyz789\",\n            \"settlement_account\": \"sa_296645958265997349\",\n            \"settlement_account_details\": {\n              \"processor\": \"pay_com\",\n              \"currency\": \"usd\",\n              \"name\": \"Main Settlement Account\",\n              \"entity\": \"ent_296645958265997359\",\n              \"entity_details\": {\n                \"legal_name\": \"ACME Corp\",\n                \"country\": \"US\"\n              }\n            }\n          },\n          \"payment_method_options\": {\n            \"card\": {\n              \"security_checks\": {\n                \"address_line1_check\": true,\n                \"address_postal_code_check\": true,\n                \"cvv_check\": true\n              }\n            }\n          }\n        },\n        {\n          \"id\": \"rtratt_296645958265997312_1_1\",\n          \"created\": \"2024-01-15T10:30:00Z\",\n          \"type\": \"fallback\",\n          \"failure_code\": \"card_declined\",\n          \"failure_message\": \"The card was declined.\",\n          \"underlying_network_details\": {\n            \"network\": \"visa\",\n            \"visa\": {\n              \"arn\": \"74234567890123456789012\",\n              \"auth_code\": \"123456\",\n              \"raw_response_code\": \"00\",\n              \"rrn\": \"123456789012\",\n              \"eci\": \"05\",\n              \"aci\": \"Y\",\n              \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n            }\n          },\n          \"underlying_network_id\": \"74234567890123456789012\",\n          \"underlying_processing_details\": {\n            \"processor\": \"stripe\",\n            \"transaction_id\": \"pi_abc123xyz789\",\n            \"settlement_account\": \"sa_296645958265997349\",\n            \"settlement_account_details\": {\n              \"processor\": \"pay_com\",\n              \"currency\": \"usd\",\n              \"name\": \"Main Settlement Account\",\n              \"entity\": \"ent_296645958265997359\",\n              \"entity_details\": {\n                \"legal_name\": \"ACME Corp\",\n                \"country\": \"US\"\n              }\n            }\n          },\n          \"payment_method_options\": {\n            \"card\": {\n              \"security_checks\": {\n                \"address_line1_check\": true,\n                \"address_postal_code_check\": true,\n                \"cvv_check\": true\n              }\n            }\n          }\n        }\n      ],\n      \"payment_method_details\": {\n        \"type\": \"card\",\n        \"card\": {\n          \"bin\": \"424242\",\n          \"brand\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"cardholder_currency\": \"usd\",\n          \"country\": \"US\",\n          \"exp_month\": \"12\",\n          \"exp_year\": \"2028\",\n          \"fingerprint\": \"fp_abc123xyz789\",\n          \"funding\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"last4\": \"4242\",\n          \"network\": \"visa\",\n          \"category\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"security_checks\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"wallet\": {\n            \"type\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"googlepay\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"applepay\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"ctp\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"token\": \"tok_card_296645958265997326\",\n          \"three_d_secure\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"three_ds\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"payout\": \"not_available\",\n          \"name_verification\": \"match\",\n          \"partial_approval\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"name\": \"John Smith\",\n          \"issuer\": \"Chase Bank\"\n        },\n        \"cashapp\": {\n          \"cashtag\": \"$acmecustomer\",\n          \"name\": \"Jenny Rosen\"\n        },\n        \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n        \"setup_future_usage\": \"on_session\"\n      },\n      \"payment_method_options\": {\n        \"card\": {\n          \"security_checks\": {\n            \"address_line1_check\": true,\n            \"address_postal_code_check\": true,\n            \"cvv_check\": true\n          }\n        }\n      },\n      \"refunded\": true,\n      \"refunds\": {\n        \"data\": [\n          {\n            \"id\": \"rfnd_296645958265997314\",\n            \"resource\": \"refund\",\n            \"amount\": 10000,\n            \"amount_human_readable\": \"100.00\",\n            \"charge\": \"chrg_296645958265997312\",\n            \"created\": \"2024-01-15T10:30:00Z\",\n            \"currency\": \"usd\",\n            \"customer\": \"cust_296645958265997317\",\n            \"customer_reference_id\": \"cust_ext_abc123\",\n            \"metadata\": {},\n            \"reference\": \"refund_order_12345\",\n            \"status\": \"succeeded\",\n            \"failure_code\": \"string\",\n            \"failure_message\": \"string\",\n            \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n            \"test_mode\": false,\n            \"underlying_network_id\": \"123456789012345\",\n            \"underlying_network_details\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"underlying_processing_details\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"risk_assessment_details\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"receipt\": null,\n            \"tax_details\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          {\n            \"id\": \"rfnd_296645958265997314\",\n            \"resource\": \"refund\",\n            \"amount\": 10000,\n            \"amount_human_readable\": \"100.00\",\n            \"charge\": \"chrg_296645958265997312\",\n            \"created\": \"2024-01-15T10:30:00Z\",\n            \"currency\": \"usd\",\n            \"customer\": \"cust_296645958265997317\",\n            \"customer_reference_id\": \"cust_ext_abc123\",\n            \"metadata\": {},\n            \"reference\": \"refund_order_12345\",\n            \"status\": \"succeeded\",\n            \"failure_code\": \"string\",\n            \"failure_message\": \"string\",\n            \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n            \"test_mode\": false,\n            \"underlying_network_id\": \"123456789012345\",\n            \"underlying_network_details\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"underlying_processing_details\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"risk_assessment_details\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"receipt\": null,\n            \"tax_details\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          }\n        ],\n        \"url\": \"/v1/charges/chrg_296645958265997312/refunds\"\n      },\n      \"reference\": \"order_12345\",\n      \"shipping\": {\n        \"address\": {\n          \"city\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"country\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"line1\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"line2\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"postal_code\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"state\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          }\n        },\n        \"name\": \"John Smith\",\n        \"phone\": \"+14155551234\"\n      },\n      \"statement_descriptor_suffix\": \"ACME STORE\",\n      \"status\": \"succeeded_partially\",\n      \"underlying_network_details\": {\n        \"network\": \"visa\",\n        \"visa\": {\n          \"arn\": \"74234567890123456789012\",\n          \"auth_code\": \"123456\",\n          \"raw_response_code\": \"00\",\n          \"rrn\": \"123456789012\",\n          \"eci\": \"05\",\n          \"aci\": \"Y\",\n          \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n        }\n      },\n      \"underlying_network_id\": \"123456789012345\",\n      \"risk_assessment_details\": {\n        \"outcome\": \"allow\",\n        \"outcome_source\": \"score\",\n        \"rule_id\": \"rl_296645958265997337\",\n        \"rules_id\": [\n          \"rl_296645958265997337\"\n        ],\n        \"score\": \"31\",\n        \"flags\": [\n          \"no_correlation_history\",\n          \"multiple_identities_billing\",\n          \"multiple_identities_card\",\n          \"free_email_provider\",\n          \"risky_billing_time\",\n          \"velocity_multiple_addresses\",\n          \"velocity_multiple_names\"\n        ]\n      },\n      \"test_mode\": false,\n      \"receipt\": null,\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      },\n      \"tax_details\": {\n        \"amount_total\": 825,\n        \"tax_behavior\": \"exclusive\",\n        \"tax_quote\": \"txq_296645958265997339\",\n        \"effective_tax_rate\": \"8.25\",\n        \"tax_transaction\": null\n      }\n    },\n    \"refund\": {\n      \"id\": \"rfnd_296645958265997314\",\n      \"resource\": \"refund\",\n      \"amount\": 10000,\n      \"amount_human_readable\": \"100.00\",\n      \"charge\": \"chrg_296645958265997312\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"currency\": \"usd\",\n      \"customer\": \"cust_296645958265997317\",\n      \"customer_reference_id\": \"cust_ext_abc123\",\n      \"metadata\": {},\n      \"reference\": \"refund_order_12345\",\n      \"status\": \"succeeded\",\n      \"failure_code\": \"string\",\n      \"failure_message\": \"string\",\n      \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n      \"test_mode\": true,\n      \"underlying_network_id\": \"123456789012345\",\n      \"underlying_network_details\": {\n        \"network\": \"visa\",\n        \"visa\": {\n          \"arn\": \"74234567890123456789012\",\n          \"auth_code\": \"123456\",\n          \"raw_response_code\": \"00\",\n          \"rrn\": \"123456789012\",\n          \"eci\": \"05\",\n          \"aci\": \"Y\",\n          \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n        }\n      },\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      },\n      \"risk_assessment_details\": {\n        \"outcome\": \"allow\",\n        \"outcome_source\": \"score\",\n        \"rule_id\": \"rl_296645958265997337\",\n        \"rules_id\": [\n          \"rl_296645958265997337\"\n        ],\n        \"score\": \"31\",\n        \"flags\": [\n          \"no_correlation_history\",\n          \"multiple_identities_billing\",\n          \"multiple_identities_card\",\n          \"free_email_provider\",\n          \"risky_billing_time\",\n          \"velocity_multiple_addresses\",\n          \"velocity_multiple_names\"\n        ]\n      },\n      \"receipt\": null,\n      \"tax_details\": {\n        \"amount_total\": 825,\n        \"tax_behavior\": \"exclusive\",\n        \"tax_quote\": \"txq_296645958265997339\",\n        \"effective_tax_rate\": \"8.25\",\n        \"tax_transaction\": null\n      }\n    },\n    \"payout\": {\n      \"id\": \"po_296645958265997315\",\n      \"resource\": \"payout\",\n      \"amount\": 10000,\n      \"amount_human_readable\": \"100.00\",\n      \"billing_details\": {\n        \"address\": {\n          \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n        },\n        \"name\": \"John Smith\",\n        \"email\": \"john.smith@example.com\",\n        \"phone\": \"+14155551234\",\n        \"dob\": \"1985-07-15\",\n        \"national_identification_number\": \"123-45-6789\"\n      },\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"currency\": \"usd\",\n      \"status\": \"succeeded\",\n      \"calculated_statement_descriptor\": \"PAYCOM* ACME STORE\",\n      \"customer\": \"cust_296645958265997317\",\n      \"customer_reference_id\": \"cust_ext_abc123\",\n      \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n      \"description\": \"Withdrawal for order 12345\",\n      \"failure_code\": \"string\",\n      \"failure_message\": \"string\",\n      \"metadata\": {\n        \"order_id\": \"12345\",\n        \"source\": \"website\"\n      },\n      \"payment_method\": \"pm_card_296645958265997316\",\n      \"payment_method_details\": {\n        \"type\": \"card\",\n        \"card\": {\n          \"bin\": \"424242\",\n          \"brand\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"cardholder_currency\": \"usd\",\n          \"country\": \"US\",\n          \"exp_month\": \"12\",\n          \"exp_year\": \"2028\",\n          \"fingerprint\": \"fp_abc123xyz789\",\n          \"funding\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"last4\": \"4242\",\n          \"network\": \"visa\",\n          \"category\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"security_checks\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"wallet\": {\n            \"type\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"googlepay\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"applepay\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"ctp\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"token\": \"tok_card_296645958265997326\",\n          \"three_d_secure\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"three_ds\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"payout\": \"not_available\",\n          \"name_verification\": \"match\",\n          \"partial_approval\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"name\": \"John Smith\",\n          \"issuer\": \"Chase Bank\"\n        },\n        \"cashapp\": {\n          \"cashtag\": \"$acmecustomer\",\n          \"name\": \"Jenny Rosen\"\n        },\n        \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n        \"setup_future_usage\": \"on_session\"\n      },\n      \"reference\": \"payout_order_12345\",\n      \"statement_descriptor_suffix\": \"ACME STORE\",\n      \"underlying_network_details\": null,\n      \"test_mode\": false,\n      \"payout_method_options\": {\n        \"types\": [\n          \"card\"\n        ],\n        \"card\": {\n          \"name_verification\": {\n            \"enabled\": true,\n            \"use_customer_name\": true,\n            \"accepted_results\": [\n              \"match\"\n            ],\n            \"accepted_results_by_field\": {\n              \"first_name\": [\n                \"match\"\n              ],\n              \"last_name\": [\n                \"match\"\n              ],\n              \"middle_name\": [\n                \"match\"\n              ],\n              \"full_name\": [\n                \"match\"\n              ]\n            }\n          },\n          \"account_billing_updater\": {\n            \"enabled\": true,\n            \"retry_after_update\": true,\n            \"billing_updater_decline_codes\": [\n              \"expired_card\"\n            ]\n          }\n        }\n      },\n      \"receipt\": null,\n      \"risk_assessment_details\": {\n        \"outcome\": \"allow\",\n        \"outcome_source\": \"score\",\n        \"rule_id\": \"rl_296645958265997337\",\n        \"rules_id\": [\n          \"rl_296645958265997337\"\n        ],\n        \"score\": \"31\",\n        \"flags\": [\n          \"no_correlation_history\",\n          \"multiple_identities_billing\",\n          \"multiple_identities_card\",\n          \"free_email_provider\",\n          \"risky_billing_time\",\n          \"velocity_multiple_addresses\",\n          \"velocity_multiple_names\"\n        ]\n      },\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      }\n    },\n    \"payment_attempt\": {\n      \"resource\": \"payment_attempt\",\n      \"amount\": 10000,\n      \"amount_human_readable\": \"100.00\",\n      \"currency\": \"usd\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"customer\": \"cust_296645958265997317\",\n      \"customer_reference_id\": \"cust_ext_abc123\",\n      \"metadata\": {},\n      \"payment_method\": \"pm_card_296645958265997316\",\n      \"payment_method_details\": {\n        \"type\": \"card\",\n        \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n        \"card\": {\n          \"bin\": \"424242\",\n          \"brand\": \"visa\",\n          \"cardholder_currency\": \"usd\",\n          \"country\": \"US\",\n          \"exp_month\": \"12\",\n          \"exp_year\": \"2028\",\n          \"fingerprint\": \"fp_abc123xyz789\",\n          \"funding\": \"credit\",\n          \"last4\": \"4242\",\n          \"network\": \"visa\",\n          \"security_checks\": {\n            \"address_line1_check\": \"unavailable\",\n            \"address_postal_code_check\": \"unavailable\",\n            \"cvc_check\": \"pass\"\n          },\n          \"three_d_secure\": {\n            \"authentication_flow\": \"frictionless\",\n            \"result\": \"success\",\n            \"result_reason\": \"authenticated\",\n            \"version\": \"2.2.0\",\n            \"eci\": \"05\",\n            \"cardholder_info\": null,\n            \"liability_shift\": true\n          },\n          \"token\": \"tok_card_296645958265997326\"\n        }\n      },\n      \"payment_session\": \"ps_296645958265997318\",\n      \"reference\": \"order_12345\",\n      \"status\": \"succeeded\"\n    },\n    \"url\": \"/v1/charges/chrg_296645958265997312\"\n  },\n  \"exchange_rate\": \"string\",\n  \"fee\": -106,\n  \"net_amount\": 9894,\n  \"net_amount_human_readable\": \"98.94\",\n  \"fee_breakdown\": [\n    {\n      \"amount\": -30,\n      \"currency\": \"usd\",\n      \"type\": \"acquirer\",\n      \"identifier\": \"charge\"\n    },\n    {\n      \"amount\": -30,\n      \"currency\": \"usd\",\n      \"type\": \"acquirer\",\n      \"identifier\": \"charge\"\n    }\n  ],\n  \"settlement_account\": \"sa_296645958265997349\",\n  \"settlement_account_details\": {\n    \"processor\": \"worldpay\",\n    \"currency\": \"usd\",\n    \"name\": \"Main USD account\",\n    \"entity\": \"ent_296645958265997352\",\n    \"entity_details\": {\n      \"legal_name\": \"Acme Inc.\",\n      \"country\": \"US\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"aacd8838-7e45-5ec5-bbec-5a9e636648a0","name":"Invalid request parameters.","originalRequest":{"url":{"path":["cashflow","transactions",":cashflow_transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cflw_tx_296645958265997333","key":"cashflow_transaction_id","description":"(Required) The unique identifier of the cashflow transaction."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7d0044f8-0b65-584e-9cff-b3ec387fcff5","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["cashflow","transactions",":cashflow_transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cflw_tx_296645958265997333","key":"cashflow_transaction_id","description":"(Required) The unique identifier of the cashflow transaction."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"639e776b-6713-5346-8e0c-46b3491f35f6","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["cashflow","transactions",":cashflow_transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cflw_tx_296645958265997333","key":"cashflow_transaction_id","description":"(Required) The unique identifier of the cashflow transaction."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4cd468fc-cfe0-5529-9f9a-0b7d713166f7","name":"Cashflow transaction not found.","originalRequest":{"url":{"path":["cashflow","transactions",":cashflow_transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cflw_tx_296645958265997333","key":"cashflow_transaction_id","description":"(Required) The unique identifier of the cashflow transaction."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1f1e5df2-a793-54f5-ae04-7297b4cb02ef","name":"Internal server error.","originalRequest":{"url":{"path":["cashflow","transactions",":cashflow_transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cflw_tx_296645958265997333","key":"cashflow_transaction_id","description":"(Required) The unique identifier of the cashflow transaction."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6c7acf3b-6397-5597-88fd-0be1be60cb8f","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["cashflow","transactions",":cashflow_transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cflw_tx_296645958265997333","key":"cashflow_transaction_id","description":"(Required) The unique identifier of the cashflow transaction."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"6eb75624-d379-504b-b06b-e940a2f5c5fc","name":"List cashflow transactions","request":{"name":"List cashflow transactions","description":{"content":"Retrieves a list of cashflow transactions, sorted by creation time, oldest first.\n\nOnly one list query per merchant can run at a time; a concurrent query returns 429.","type":"text/plain"},"url":{"path":["cashflow","transactions"],"host":["{{pay_base_url}}"],"query":[{"disabled":false,"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z","description":"Return objects created on or after this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.greater_than`."},{"disabled":false,"key":"created.greater_than","value":"2024-10-10T00:00:00Z","description":"Return objects created after this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.greater_than_or_equals`."},{"disabled":false,"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z","description":"Return objects created on or before this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.less_than`."},{"disabled":false,"key":"created.less_than","value":"2024-10-10T00:00:00Z","description":"Return objects created before this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.less_than_or_equals`."},{"disabled":false,"key":"limit","value":"10","description":"Maximum number of objects to return. Defaults to 10."},{"disabled":false,"key":"ending_before","value":"string","description":"A cursor for pagination. Returns objects created before the object with this ID. Must be the ID of an object of the type being listed (for example a `chrg_` ID when listing charges); other IDs return 400. Lists are sorted by creation time, oldest first. Mutually exclusive with `starting_after`."},{"disabled":false,"key":"starting_after","value":"string","description":"A cursor for pagination. Returns objects created after the object with this ID. Must be the ID of an object of the type being listed (for example a `chrg_` ID when listing charges); other IDs return 400. Lists are sorted by creation time, oldest first. Mutually exclusive with `ending_before`."},{"disabled":false,"key":"customer_reference_id","value":"cust_ext_abc123","description":"Your unique identifier for the customer."},{"disabled":false,"key":"settlement_id","value":"stlmnt_296645958265997323","description":"Return only cashflow transactions included in this settlement."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"c026bb02-1f4a-50a8-93fb-610b01ea8346","name":"Returns a list of cashflow transaction objects.","originalRequest":{"url":{"path":["cashflow","transactions"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"settlement_id","value":"stlmnt_296645958265997323"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"resource\": \"cashflow_transactions\",\n  \"data\": [\n    {\n      \"id\": \"cflw_tx_296645958265997333\",\n      \"resource\": \"cashflow_transaction\",\n      \"type\": \"charge\",\n      \"currency\": \"usd\",\n      \"amount\": 10000,\n      \"available_on\": \"2024-10-02T20:56:07.529Z\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"source_currency\": \"usd\",\n      \"source_amount\": 10000,\n      \"source\": {\n        \"id\": \"chrg_296645958265997312\",\n        \"charge\": {\n          \"id\": \"chrg_296645958265997312\",\n          \"resource\": \"charge\",\n          \"amount\": 10000,\n          \"amount_human_readable\": \"100.00\",\n          \"amount_refunded\": 0,\n          \"billing_details\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"calculated_statement_descriptor\": \"ACME * ACME STORE\",\n          \"created\": \"2024-01-15T10:30:00Z\",\n          \"currency\": \"usd\",\n          \"customer\": \"cust_296645958265997317\",\n          \"customer_reference_id\": \"cust_ext_abc123\",\n          \"cashflow_transaction\": \"cflw_tx_296645958265997312\",\n          \"description\": \"Payment for Order #12345\",\n          \"disputed\": true,\n          \"failure_code\": \"string\",\n          \"failure_message\": \"string\",\n          \"metadata\": {},\n          \"paid\": true,\n          \"payment_session\": \"ps_296645958265997318\",\n          \"hold\": \"string\",\n          \"payment_method\": \"pm_card_296645958265997316\",\n          \"fraud\": true,\n          \"retry_attempts\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ],\n          \"payment_method_details\": {\n            \"type\": \"card\",\n            \"card\": {\n              \"bin\": \"424242\",\n              \"brand\": \"visa\",\n              \"cardholder_currency\": \"usd\",\n              \"country\": \"US\",\n              \"exp_month\": \"12\",\n              \"exp_year\": \"2028\",\n              \"fingerprint\": \"fp_abc123xyz789\",\n              \"funding\": \"debit\",\n              \"last4\": \"4242\",\n              \"network\": \"visa\",\n              \"category\": \"consumer\",\n              \"security_checks\": {\n                \"address_line1_check\": \"unavailable\",\n                \"address_postal_code_check\": \"unavailable\",\n                \"cvc_check\": \"pass\"\n              },\n              \"wallet\": null,\n              \"token\": \"tok_card_296645958265997326\",\n              \"three_d_secure\": {\n                \"authentication_flow\": \"challenge\",\n                \"result\": \"success\",\n                \"result_reason\": \"authenticated\",\n                \"version\": \"2.2.0\",\n                \"eci\": \"05\",\n                \"cardholder_info\": null,\n                \"liability_shift\": true\n              },\n              \"three_ds\": {\n                \"authentication_flow\": \"challenge\",\n                \"result\": \"success\",\n                \"result_reason\": \"authenticated\",\n                \"status_reason\": null,\n                \"protocol_version\": \"2.2.0\",\n                \"eci\": \"02\",\n                \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n                \"liability_shift\": true,\n                \"cardholder_info\": null,\n                \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n                \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n                \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n                \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n                \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n              },\n              \"payout\": \"not_available\",\n              \"name_verification\": \"match\",\n              \"partial_approval\": {\n                \"status\": \"accepted\",\n                \"amount_requested\": 10000,\n                \"amount_authorized\": 7500,\n                \"amount_charged\": 7500,\n                \"product_id\": \"prod_12345\"\n              },\n              \"name\": \"John Smith\",\n              \"issuer\": \"Chase Bank\"\n            },\n            \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n            \"setup_future_usage\": \"on_session\"\n          },\n          \"payment_method_options\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"refunded\": false,\n          \"refunds\": {\n            \"data\": [\n              {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            ],\n            \"url\": \"/v1/charges/chrg_296645958265997312/refunds\"\n          },\n          \"reference\": \"order_12345\",\n          \"shipping\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"statement_descriptor_suffix\": \"ACME STORE\",\n          \"status\": \"requires_confirmation\",\n          \"underlying_network_details\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"underlying_network_id\": \"123456789012345\",\n          \"risk_assessment_details\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"test_mode\": false,\n          \"receipt\": null,\n          \"underlying_processing_details\": {\n            \"processor\": \"stripe\",\n            \"transaction_id\": \"pi_abc123xyz789\",\n            \"settlement_account\": \"sa_296645958265997349\",\n            \"settlement_account_details\": {\n              \"processor\": \"pay_com\",\n              \"currency\": \"usd\",\n              \"name\": \"Main Settlement Account\",\n              \"entity\": \"ent_296645958265997359\",\n              \"entity_details\": {\n                \"legal_name\": \"ACME Corp\",\n                \"country\": \"US\"\n              }\n            }\n          },\n          \"tax_details\": {\n            \"amount_total\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"tax_behavior\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"tax_quote\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"effective_tax_rate\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"tax_transaction\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          }\n        },\n        \"refund\": {\n          \"id\": \"rfnd_296645958265997314\",\n          \"resource\": \"refund\",\n          \"amount\": 10000,\n          \"amount_human_readable\": \"100.00\",\n          \"charge\": \"chrg_296645958265997312\",\n          \"created\": \"2024-01-15T10:30:00Z\",\n          \"currency\": \"usd\",\n          \"customer\": \"cust_296645958265997317\",\n          \"customer_reference_id\": \"cust_ext_abc123\",\n          \"metadata\": {},\n          \"reference\": \"refund_order_12345\",\n          \"status\": \"succeeded\",\n          \"failure_code\": \"string\",\n          \"failure_message\": \"string\",\n          \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n          \"test_mode\": true,\n          \"underlying_network_id\": \"123456789012345\",\n          \"underlying_network_details\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"underlying_processing_details\": {\n            \"processor\": \"stripe\",\n            \"transaction_id\": \"pi_abc123xyz789\",\n            \"settlement_account\": \"sa_296645958265997349\",\n            \"settlement_account_details\": {\n              \"processor\": \"pay_com\",\n              \"currency\": \"usd\",\n              \"name\": \"Main Settlement Account\",\n              \"entity\": \"ent_296645958265997359\",\n              \"entity_details\": {\n                \"legal_name\": \"ACME Corp\",\n                \"country\": \"US\"\n              }\n            }\n          },\n          \"risk_assessment_details\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"receipt\": null,\n          \"tax_details\": {\n            \"amount_total\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"tax_behavior\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"tax_quote\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"effective_tax_rate\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"tax_transaction\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          }\n        },\n        \"payout\": {\n          \"id\": \"po_296645958265997315\",\n          \"resource\": \"payout\",\n          \"amount\": 10000,\n          \"amount_human_readable\": \"100.00\",\n          \"billing_details\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"created\": \"2024-01-15T10:30:00Z\",\n          \"currency\": \"usd\",\n          \"status\": \"succeeded\",\n          \"calculated_statement_descriptor\": \"PAYCOM* ACME STORE\",\n          \"customer\": \"cust_296645958265997317\",\n          \"customer_reference_id\": \"cust_ext_abc123\",\n          \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n          \"description\": \"Withdrawal for order 12345\",\n          \"failure_code\": \"string\",\n          \"failure_message\": \"string\",\n          \"metadata\": {\n            \"order_id\": \"12345\",\n            \"source\": \"website\"\n          },\n          \"payment_method\": \"pm_card_296645958265997316\",\n          \"payment_method_details\": {\n            \"type\": \"card\",\n            \"card\": {\n              \"bin\": \"424242\",\n              \"brand\": \"visa\",\n              \"cardholder_currency\": \"usd\",\n              \"country\": \"US\",\n              \"exp_month\": \"12\",\n              \"exp_year\": \"2028\",\n              \"fingerprint\": \"fp_abc123xyz789\",\n              \"funding\": \"debit\",\n              \"last4\": \"4242\",\n              \"network\": \"visa\",\n              \"category\": \"consumer\",\n              \"security_checks\": {\n                \"address_line1_check\": \"unavailable\",\n                \"address_postal_code_check\": \"unavailable\",\n                \"cvc_check\": \"pass\"\n              },\n              \"wallet\": null,\n              \"token\": \"tok_card_296645958265997326\",\n              \"three_d_secure\": {\n                \"authentication_flow\": \"challenge\",\n                \"result\": \"success\",\n                \"result_reason\": \"authenticated\",\n                \"version\": \"2.2.0\",\n                \"eci\": \"05\",\n                \"cardholder_info\": null,\n                \"liability_shift\": true\n              },\n              \"three_ds\": {\n                \"authentication_flow\": \"challenge\",\n                \"result\": \"success\",\n                \"result_reason\": \"authenticated\",\n                \"status_reason\": null,\n                \"protocol_version\": \"2.2.0\",\n                \"eci\": \"02\",\n                \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n                \"liability_shift\": true,\n                \"cardholder_info\": null,\n                \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n                \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n                \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n                \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n                \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n              },\n              \"payout\": \"not_available\",\n              \"name_verification\": \"match\",\n              \"partial_approval\": {\n                \"status\": \"accepted\",\n                \"amount_requested\": 10000,\n                \"amount_authorized\": 7500,\n                \"amount_charged\": 7500,\n                \"product_id\": \"prod_12345\"\n              },\n              \"name\": \"John Smith\",\n              \"issuer\": \"Chase Bank\"\n            },\n            \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n            \"setup_future_usage\": \"on_session\",\n            \"third_party_tokens\": []\n          },\n          \"reference\": \"payout_order_12345\",\n          \"statement_descriptor_suffix\": \"ACME STORE\",\n          \"underlying_network_details\": null,\n          \"test_mode\": false,\n          \"payout_method_options\": {\n            \"types\": [\n              \"card\"\n            ],\n            \"card\": {\n              \"name_verification\": {\n                \"enabled\": true,\n                \"use_customer_name\": true,\n                \"accepted_results\": [\n                  \"match\"\n                ],\n                \"accepted_results_by_field\": {\n                  \"first_name\": [\n                    \"match\"\n                  ],\n                  \"last_name\": [\n                    \"match\"\n                  ],\n                  \"middle_name\": [\n                    \"match\"\n                  ],\n                  \"full_name\": [\n                    \"match\"\n                  ]\n                }\n              },\n              \"account_billing_updater\": {\n                \"enabled\": true,\n                \"retry_after_update\": true,\n                \"billing_updater_decline_codes\": [\n                  \"expired_card\"\n                ]\n              }\n            }\n          },\n          \"receipt\": null,\n          \"risk_assessment_details\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"underlying_processing_details\": {\n            \"processor\": \"stripe\",\n            \"transaction_id\": \"pi_abc123xyz789\",\n            \"settlement_account\": \"sa_296645958265997349\",\n            \"settlement_account_details\": {\n              \"processor\": \"pay_com\",\n              \"currency\": \"usd\",\n              \"name\": \"Main Settlement Account\",\n              \"entity\": \"ent_296645958265997359\",\n              \"entity_details\": {\n                \"legal_name\": \"ACME Corp\",\n                \"country\": \"US\"\n              }\n            }\n          }\n        },\n        \"payment_attempt\": {\n          \"resource\": \"payment_attempt\",\n          \"amount\": 10000,\n          \"amount_human_readable\": \"100.00\",\n          \"currency\": \"usd\",\n          \"created\": \"2024-01-15T10:30:00Z\",\n          \"customer\": \"cust_296645958265997317\",\n          \"customer_reference_id\": \"cust_ext_abc123\",\n          \"metadata\": {},\n          \"payment_method\": \"pm_card_296645958265997316\",\n          \"payment_method_details\": {\n            \"type\": \"card\",\n            \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n            \"card\": {\n              \"bin\": \"424242\",\n              \"brand\": \"visa\",\n              \"cardholder_currency\": \"usd\",\n              \"country\": \"US\",\n              \"exp_month\": \"12\",\n              \"exp_year\": \"2028\",\n              \"fingerprint\": \"fp_abc123xyz789\",\n              \"funding\": \"credit\",\n              \"last4\": \"4242\",\n              \"network\": \"visa\",\n              \"security_checks\": {\n                \"address_line1_check\": \"unavailable\",\n                \"address_postal_code_check\": \"unavailable\",\n                \"cvc_check\": \"pass\"\n              },\n              \"three_d_secure\": {\n                \"authentication_flow\": \"frictionless\",\n                \"result\": \"success\",\n                \"result_reason\": \"authenticated\",\n                \"version\": \"2.2.0\",\n                \"eci\": \"05\",\n                \"cardholder_info\": null,\n                \"liability_shift\": true\n              },\n              \"token\": \"tok_card_296645958265997326\"\n            }\n          },\n          \"payment_session\": \"ps_296645958265997318\",\n          \"reference\": \"order_12345\",\n          \"status\": \"succeeded\"\n        },\n        \"url\": \"/v1/charges/chrg_296645958265997312\"\n      },\n      \"exchange_rate\": \"string\",\n      \"fee\": -106,\n      \"net_amount\": 9894,\n      \"net_amount_human_readable\": \"98.94\",\n      \"fee_breakdown\": [\n        {\n          \"amount\": -30,\n          \"currency\": \"usd\",\n          \"type\": \"acquirer\",\n          \"identifier\": \"charge\"\n        },\n        {\n          \"amount\": -30,\n          \"currency\": \"usd\",\n          \"type\": \"acquirer\",\n          \"identifier\": \"charge\"\n        }\n      ],\n      \"settlement_account\": \"sa_296645958265997349\",\n      \"settlement_account_details\": {\n        \"processor\": \"worldpay\",\n        \"currency\": \"usd\",\n        \"name\": \"Main USD account\",\n        \"entity\": \"ent_296645958265997352\",\n        \"entity_details\": {\n          \"legal_name\": \"Acme Inc.\",\n          \"country\": \"US\"\n        }\n      }\n    },\n    {\n      \"id\": \"cflw_tx_296645958265997333\",\n      \"resource\": \"cashflow_transaction\",\n      \"type\": \"charge\",\n      \"currency\": \"usd\",\n      \"amount\": 10000,\n      \"available_on\": \"1997-01-04T22:51:55.391Z\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"source_currency\": \"usd\",\n      \"source_amount\": 10000,\n      \"source\": {\n        \"id\": \"chrg_296645958265997312\",\n        \"charge\": {\n          \"id\": \"chrg_296645958265997312\",\n          \"resource\": \"charge\",\n          \"amount\": 10000,\n          \"amount_human_readable\": \"100.00\",\n          \"amount_refunded\": 0,\n          \"billing_details\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"calculated_statement_descriptor\": \"ACME * ACME STORE\",\n          \"created\": \"2024-01-15T10:30:00Z\",\n          \"currency\": \"usd\",\n          \"customer\": \"cust_296645958265997317\",\n          \"customer_reference_id\": \"cust_ext_abc123\",\n          \"cashflow_transaction\": \"cflw_tx_296645958265997312\",\n          \"description\": \"Payment for Order #12345\",\n          \"disputed\": false,\n          \"failure_code\": \"string\",\n          \"failure_message\": \"string\",\n          \"metadata\": {},\n          \"paid\": false,\n          \"payment_session\": \"ps_296645958265997318\",\n          \"hold\": \"string\",\n          \"payment_method\": \"pm_card_296645958265997316\",\n          \"fraud\": false,\n          \"retry_attempts\": [\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          ],\n          \"payment_method_details\": {\n            \"type\": \"card\",\n            \"card\": {\n              \"bin\": \"424242\",\n              \"brand\": \"visa\",\n              \"cardholder_currency\": \"usd\",\n              \"country\": \"US\",\n              \"exp_month\": \"12\",\n              \"exp_year\": \"2028\",\n              \"fingerprint\": \"fp_abc123xyz789\",\n              \"funding\": \"debit\",\n              \"last4\": \"4242\",\n              \"network\": \"visa\",\n              \"category\": \"consumer\",\n              \"security_checks\": {\n                \"address_line1_check\": \"unavailable\",\n                \"address_postal_code_check\": \"unavailable\",\n                \"cvc_check\": \"pass\"\n              },\n              \"wallet\": null,\n              \"token\": \"tok_card_296645958265997326\",\n              \"three_d_secure\": {\n                \"authentication_flow\": \"challenge\",\n                \"result\": \"success\",\n                \"result_reason\": \"authenticated\",\n                \"version\": \"2.2.0\",\n                \"eci\": \"05\",\n                \"cardholder_info\": null,\n                \"liability_shift\": true\n              },\n              \"three_ds\": {\n                \"authentication_flow\": \"challenge\",\n                \"result\": \"success\",\n                \"result_reason\": \"authenticated\",\n                \"status_reason\": null,\n                \"protocol_version\": \"2.2.0\",\n                \"eci\": \"02\",\n                \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n                \"liability_shift\": true,\n                \"cardholder_info\": null,\n                \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n                \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n                \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n                \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n                \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n              },\n              \"payout\": \"not_available\",\n              \"name_verification\": \"match\",\n              \"partial_approval\": {\n                \"status\": \"accepted\",\n                \"amount_requested\": 10000,\n                \"amount_authorized\": 7500,\n                \"amount_charged\": 7500,\n                \"product_id\": \"prod_12345\"\n              },\n              \"name\": \"John Smith\",\n              \"issuer\": \"Chase Bank\"\n            },\n            \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n            \"setup_future_usage\": \"on_session\"\n          },\n          \"payment_method_options\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"refunded\": false,\n          \"refunds\": {\n            \"data\": [\n              {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            ],\n            \"url\": \"/v1/charges/chrg_296645958265997312/refunds\"\n          },\n          \"reference\": \"order_12345\",\n          \"shipping\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"statement_descriptor_suffix\": \"ACME STORE\",\n          \"status\": \"pending\",\n          \"underlying_network_details\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"underlying_network_id\": \"123456789012345\",\n          \"risk_assessment_details\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"test_mode\": false,\n          \"receipt\": null,\n          \"underlying_processing_details\": {\n            \"processor\": \"stripe\",\n            \"transaction_id\": \"pi_abc123xyz789\",\n            \"settlement_account\": \"sa_296645958265997349\",\n            \"settlement_account_details\": {\n              \"processor\": \"pay_com\",\n              \"currency\": \"usd\",\n              \"name\": \"Main Settlement Account\",\n              \"entity\": \"ent_296645958265997359\",\n              \"entity_details\": {\n                \"legal_name\": \"ACME Corp\",\n                \"country\": \"US\"\n              }\n            }\n          },\n          \"tax_details\": {\n            \"amount_total\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"tax_behavior\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"tax_quote\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"effective_tax_rate\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"tax_transaction\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          }\n        },\n        \"refund\": {\n          \"id\": \"rfnd_296645958265997314\",\n          \"resource\": \"refund\",\n          \"amount\": 10000,\n          \"amount_human_readable\": \"100.00\",\n          \"charge\": \"chrg_296645958265997312\",\n          \"created\": \"2024-01-15T10:30:00Z\",\n          \"currency\": \"usd\",\n          \"customer\": \"cust_296645958265997317\",\n          \"customer_reference_id\": \"cust_ext_abc123\",\n          \"metadata\": {},\n          \"reference\": \"refund_order_12345\",\n          \"status\": \"succeeded\",\n          \"failure_code\": \"string\",\n          \"failure_message\": \"string\",\n          \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n          \"test_mode\": true,\n          \"underlying_network_id\": \"123456789012345\",\n          \"underlying_network_details\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"underlying_processing_details\": {\n            \"processor\": \"stripe\",\n            \"transaction_id\": \"pi_abc123xyz789\",\n            \"settlement_account\": \"sa_296645958265997349\",\n            \"settlement_account_details\": {\n              \"processor\": \"pay_com\",\n              \"currency\": \"usd\",\n              \"name\": \"Main Settlement Account\",\n              \"entity\": \"ent_296645958265997359\",\n              \"entity_details\": {\n                \"legal_name\": \"ACME Corp\",\n                \"country\": \"US\"\n              }\n            }\n          },\n          \"risk_assessment_details\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"receipt\": null,\n          \"tax_details\": {\n            \"amount_total\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"tax_behavior\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"tax_quote\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"effective_tax_rate\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"tax_transaction\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          }\n        },\n        \"payout\": {\n          \"id\": \"po_296645958265997315\",\n          \"resource\": \"payout\",\n          \"amount\": 10000,\n          \"amount_human_readable\": \"100.00\",\n          \"billing_details\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"created\": \"2024-01-15T10:30:00Z\",\n          \"currency\": \"usd\",\n          \"status\": \"succeeded\",\n          \"calculated_statement_descriptor\": \"PAYCOM* ACME STORE\",\n          \"customer\": \"cust_296645958265997317\",\n          \"customer_reference_id\": \"cust_ext_abc123\",\n          \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n          \"description\": \"Withdrawal for order 12345\",\n          \"failure_code\": \"string\",\n          \"failure_message\": \"string\",\n          \"metadata\": {\n            \"order_id\": \"12345\",\n            \"source\": \"website\"\n          },\n          \"payment_method\": \"pm_card_296645958265997316\",\n          \"payment_method_details\": {\n            \"type\": \"card\",\n            \"card\": {\n              \"bin\": \"424242\",\n              \"brand\": \"visa\",\n              \"cardholder_currency\": \"usd\",\n              \"country\": \"US\",\n              \"exp_month\": \"12\",\n              \"exp_year\": \"2028\",\n              \"fingerprint\": \"fp_abc123xyz789\",\n              \"funding\": \"debit\",\n              \"last4\": \"4242\",\n              \"network\": \"visa\",\n              \"category\": \"consumer\",\n              \"security_checks\": {\n                \"address_line1_check\": \"unavailable\",\n                \"address_postal_code_check\": \"unavailable\",\n                \"cvc_check\": \"pass\"\n              },\n              \"wallet\": null,\n              \"token\": \"tok_card_296645958265997326\",\n              \"three_d_secure\": {\n                \"authentication_flow\": \"challenge\",\n                \"result\": \"success\",\n                \"result_reason\": \"authenticated\",\n                \"version\": \"2.2.0\",\n                \"eci\": \"05\",\n                \"cardholder_info\": null,\n                \"liability_shift\": true\n              },\n              \"three_ds\": {\n                \"authentication_flow\": \"challenge\",\n                \"result\": \"success\",\n                \"result_reason\": \"authenticated\",\n                \"status_reason\": null,\n                \"protocol_version\": \"2.2.0\",\n                \"eci\": \"02\",\n                \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n                \"liability_shift\": true,\n                \"cardholder_info\": null,\n                \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n                \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n                \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n                \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n                \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n              },\n              \"payout\": \"not_available\",\n              \"name_verification\": \"match\",\n              \"partial_approval\": {\n                \"status\": \"accepted\",\n                \"amount_requested\": 10000,\n                \"amount_authorized\": 7500,\n                \"amount_charged\": 7500,\n                \"product_id\": \"prod_12345\"\n              },\n              \"name\": \"John Smith\",\n              \"issuer\": \"Chase Bank\"\n            },\n            \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n            \"setup_future_usage\": \"on_session\",\n            \"third_party_tokens\": []\n          },\n          \"reference\": \"payout_order_12345\",\n          \"statement_descriptor_suffix\": \"ACME STORE\",\n          \"underlying_network_details\": null,\n          \"test_mode\": true,\n          \"payout_method_options\": {\n            \"types\": [\n              \"card\"\n            ],\n            \"card\": {\n              \"name_verification\": {\n                \"enabled\": true,\n                \"use_customer_name\": true,\n                \"accepted_results\": [\n                  \"match\"\n                ],\n                \"accepted_results_by_field\": {\n                  \"first_name\": [\n                    \"match\"\n                  ],\n                  \"last_name\": [\n                    \"match\"\n                  ],\n                  \"middle_name\": [\n                    \"match\"\n                  ],\n                  \"full_name\": [\n                    \"match\"\n                  ]\n                }\n              },\n              \"account_billing_updater\": {\n                \"enabled\": true,\n                \"retry_after_update\": true,\n                \"billing_updater_decline_codes\": [\n                  \"expired_card\"\n                ]\n              }\n            }\n          },\n          \"receipt\": null,\n          \"risk_assessment_details\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"underlying_processing_details\": {\n            \"processor\": \"stripe\",\n            \"transaction_id\": \"pi_abc123xyz789\",\n            \"settlement_account\": \"sa_296645958265997349\",\n            \"settlement_account_details\": {\n              \"processor\": \"pay_com\",\n              \"currency\": \"usd\",\n              \"name\": \"Main Settlement Account\",\n              \"entity\": \"ent_296645958265997359\",\n              \"entity_details\": {\n                \"legal_name\": \"ACME Corp\",\n                \"country\": \"US\"\n              }\n            }\n          }\n        },\n        \"payment_attempt\": {\n          \"resource\": \"payment_attempt\",\n          \"amount\": 10000,\n          \"amount_human_readable\": \"100.00\",\n          \"currency\": \"usd\",\n          \"created\": \"2024-01-15T10:30:00Z\",\n          \"customer\": \"cust_296645958265997317\",\n          \"customer_reference_id\": \"cust_ext_abc123\",\n          \"metadata\": {},\n          \"payment_method\": \"pm_card_296645958265997316\",\n          \"payment_method_details\": {\n            \"type\": \"card\",\n            \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n            \"card\": {\n              \"bin\": \"424242\",\n              \"brand\": \"visa\",\n              \"cardholder_currency\": \"usd\",\n              \"country\": \"US\",\n              \"exp_month\": \"12\",\n              \"exp_year\": \"2028\",\n              \"fingerprint\": \"fp_abc123xyz789\",\n              \"funding\": \"credit\",\n              \"last4\": \"4242\",\n              \"network\": \"visa\",\n              \"security_checks\": {\n                \"address_line1_check\": \"unavailable\",\n                \"address_postal_code_check\": \"unavailable\",\n                \"cvc_check\": \"pass\"\n              },\n              \"three_d_secure\": {\n                \"authentication_flow\": \"frictionless\",\n                \"result\": \"success\",\n                \"result_reason\": \"authenticated\",\n                \"version\": \"2.2.0\",\n                \"eci\": \"05\",\n                \"cardholder_info\": null,\n                \"liability_shift\": true\n              },\n              \"token\": \"tok_card_296645958265997326\"\n            }\n          },\n          \"payment_session\": \"ps_296645958265997318\",\n          \"reference\": \"order_12345\",\n          \"status\": \"succeeded\"\n        },\n        \"url\": \"/v1/charges/chrg_296645958265997312\"\n      },\n      \"exchange_rate\": \"string\",\n      \"fee\": -106,\n      \"net_amount\": 9894,\n      \"net_amount_human_readable\": \"98.94\",\n      \"fee_breakdown\": [\n        {\n          \"amount\": -30,\n          \"currency\": \"usd\",\n          \"type\": \"acquirer\",\n          \"identifier\": \"charge\"\n        },\n        {\n          \"amount\": -30,\n          \"currency\": \"usd\",\n          \"type\": \"acquirer\",\n          \"identifier\": \"charge\"\n        }\n      ],\n      \"settlement_account\": \"sa_296645958265997349\",\n      \"settlement_account_details\": {\n        \"processor\": \"worldpay\",\n        \"currency\": \"usd\",\n        \"name\": \"Main USD account\",\n        \"entity\": \"ent_296645958265997352\",\n        \"entity_details\": {\n          \"legal_name\": \"Acme Inc.\",\n          \"country\": \"US\"\n        }\n      }\n    }\n  ],\n  \"has_more\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8cd703cf-0b5e-5dab-bf03-519eab71a599","name":"Invalid request parameters.","originalRequest":{"url":{"path":["cashflow","transactions"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"settlement_id","value":"stlmnt_296645958265997323"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"adc1652a-c1f3-5de0-b8e6-71f79fca5b80","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["cashflow","transactions"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"settlement_id","value":"stlmnt_296645958265997323"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3c6c1b3f-8543-534a-a2ff-0a427ce7b92c","name":"List queries are disabled for your account (\"Bulk queries are disabled.\").\n\nA 403 can also mean the key may not make this request; `code` says why.","originalRequest":{"url":{"path":["cashflow","transactions"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"settlement_id","value":"stlmnt_296645958265997323"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"69e26eb2-f7d2-5cf1-ba40-d54b620d4e12","name":"Another list query is already running for your account. Retry after the number of seconds in the `Retry-After` header.","originalRequest":{"url":{"path":["cashflow","transactions"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"settlement_id","value":"stlmnt_296645958265997323"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"disabled":false,"description":"Number of seconds to wait before retrying.","key":"Retry-After","value":"6186"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Only one bulk query per merchant can run at a time. Retry after the current query completes.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9954d056-9ea0-56d7-a763-d6952de6d26b","name":"Internal server error.","originalRequest":{"url":{"path":["cashflow","transactions"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"settlement_id","value":"stlmnt_296645958265997323"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2fec94dc-f733-5ec1-957d-3b52b1330551","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["cashflow","transactions"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"settlement_id","value":"stlmnt_296645958265997323"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"ae5c2a35-128c-5379-8add-dafe60d232ad","name":"Simulate a clearing","request":{"name":"Simulate a clearing","description":{"content":"Simulates the clearing of a charge. Only available in the sandbox. Clearing runs asynchronously. The 204 means clearing was accepted, and the charge's `cashflow_transaction` appears a few seconds later, with a `cashflow_transaction.created` event. The simulator books a 0.30 gateway fee in the settlement currency, a 0.1% acquiring fee on approved charges, and random network and interchange fees of up to 5% of the amount each.","type":"text/plain"},"url":{"path":["charges",":transaction_id","simulate","clear"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null},"response":[{"id":"ac13bf3f-9443-5034-8bfd-61f0c453854c","name":"Clearing accepted; it completes asynchronously.","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","clear"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"}],"method":"POST","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"4dff328c-dca9-5307-98b4-c7966eb4093f","name":"Invalid request parameters, or the charge has already been cleared.","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","clear"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fd5e6d52-a3a6-5ae9-b16a-9d256f642fa2","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","clear"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3009079a-5ea4-5003-b43a-703e34f4fab4","name":"The endpoint is only available in the sandbox.\n\nA 403 can also mean the key may not make this request; `code` says why.","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","clear"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"261dfaa8-cc14-52b0-8b69-252787a93e39","name":"Charge not found, or the charge ended in an error.","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","clear"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b16c8e00-7be9-5594-98d9-2932de4cb4e8","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","clear"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b99f921a-f79a-5a27-8fe1-1986ffaab715","name":"Unprocessable content. The charge has not been processed yet.","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","clear"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"Payment method is not set up for \\\"off_session\\\" mode\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"34d86ddd-c6b6-508a-bf38-484285fa6012","name":"Internal server error.","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","clear"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1efca394-94e6-5a72-99bd-38253855b832","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","clear"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"896efbef-878e-5982-ab90-a482f4232aba","name":"Charges","description":{"content":"Create and manage charges to collect payments from customers. Supports one-time payments, confirmations, and refunds.","type":"text/plain"},"item":[{"id":"96006055-36b3-5103-a3a7-ebe59d77b2ba","name":"Create a charge","request":{"name":"Create a charge","description":{"content":"Creates a charge.\n\nA charge that is declined or blocked is still created, but the response is HTTP 400 with an error of type `payment_method_error` (code `card_declined`) that includes the charge ID and the `decline_code`. Retrieve the charge to see it with status `failed` or `blocked`.\n\nSending raw card or bank account details in `source_data` or `payment_method_data` requires an API key enabled for raw payment data (PCI).","type":"text/plain"},"url":{"path":["charges"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"source_data\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"number\": \"4242424242424242\",\n      \"expiry_month\": \"12\",\n      \"expiry_year\": \"2028\",\n      \"cvv\": \"123\",\n      \"name\": \"John Smith\",\n      \"authentication_context\": {\n        \"customer_ip_address\": \"192.168.1.1\",\n        \"browser_details\": {\n          \"accept_header\": \"*/*\",\n          \"javascript_enabled\": true,\n          \"language\": \"en-US\",\n          \"user_agent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36\",\n          \"screen_width\": 1920,\n          \"screen_height\": 1080,\n          \"timezone_offset\": \"-300\",\n          \"java_enabled\": false,\n          \"color_depth\": 24\n        }\n      }\n    },\n    \"billing_details\": {\n      \"name\": \"John Smith\",\n      \"email\": \"john.smith@example.com\",\n      \"phone\": \"+14155551234\",\n      \"address\": {\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"city\": \"San Francisco\",\n        \"state\": \"CA\",\n        \"postal_code\": \"94102\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"payment_method_options\": {\n    \"authentication_options\": {\n      \"type\": \"three_ds\",\n      \"three_ds\": {\n        \"flow_indicator\": {\n          \"type\": \"frictionless\",\n          \"frictionless\": {\n            \"sca_exemption_type\": \"low_value\"\n          }\n        }\n      }\n    }\n  },\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"66a2ac8e-24a1-5d89-bb55-7e193cb42974","name":"Returns the created charge object.","originalRequest":{"url":{"path":["charges"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"source_data\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"number\": \"4242424242424242\",\n      \"expiry_month\": \"12\",\n      \"expiry_year\": \"2028\",\n      \"cvv\": \"123\",\n      \"name\": \"John Smith\",\n      \"authentication_context\": {\n        \"customer_ip_address\": \"192.168.1.1\",\n        \"browser_details\": {\n          \"accept_header\": \"*/*\",\n          \"javascript_enabled\": true,\n          \"language\": \"en-US\",\n          \"user_agent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36\",\n          \"screen_width\": 1920,\n          \"screen_height\": 1080,\n          \"timezone_offset\": \"-300\",\n          \"java_enabled\": false,\n          \"color_depth\": 24\n        }\n      }\n    },\n    \"billing_details\": {\n      \"name\": \"John Smith\",\n      \"email\": \"john.smith@example.com\",\n      \"phone\": \"+14155551234\",\n      \"address\": {\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"city\": \"San Francisco\",\n        \"state\": \"CA\",\n        \"postal_code\": \"94102\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"payment_method_options\": {\n    \"authentication_options\": {\n      \"type\": \"three_ds\",\n      \"three_ds\": {\n        \"flow_indicator\": {\n          \"type\": \"frictionless\",\n          \"frictionless\": {\n            \"sca_exemption_type\": \"low_value\"\n          }\n        }\n      }\n    }\n  },\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"chrg_296645958265997312\",\n  \"resource\": \"charge\",\n  \"amount\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"amount_refunded\": 0,\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"calculated_statement_descriptor\": \"ACME * ACME STORE\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"currency\": \"usd\",\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"cashflow_transaction\": \"cflw_tx_296645958265997312\",\n  \"description\": \"Payment for Order #12345\",\n  \"disputed\": false,\n  \"failure_code\": \"string\",\n  \"failure_message\": \"string\",\n  \"metadata\": {},\n  \"paid\": true,\n  \"payment_session\": \"ps_296645958265997318\",\n  \"hold\": \"string\",\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"fraud\": true,\n  \"retry_attempts\": [\n    {\n      \"id\": \"rtratt_296645958265997312_1_1\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"type\": \"fallback\",\n      \"failure_code\": \"card_declined\",\n      \"failure_message\": \"The card was declined.\",\n      \"underlying_network_details\": {\n        \"network\": \"visa\",\n        \"visa\": {\n          \"arn\": \"74234567890123456789012\",\n          \"auth_code\": \"123456\",\n          \"raw_response_code\": \"00\",\n          \"rrn\": \"123456789012\",\n          \"eci\": \"05\",\n          \"aci\": \"Y\",\n          \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n        }\n      },\n      \"underlying_network_id\": \"74234567890123456789012\",\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      },\n      \"payment_method_options\": {\n        \"card\": {\n          \"security_checks\": {\n            \"address_line1_check\": true,\n            \"address_postal_code_check\": true,\n            \"cvv_check\": true\n          }\n        }\n      }\n    },\n    {\n      \"id\": \"rtratt_296645958265997312_1_1\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"type\": \"fallback\",\n      \"failure_code\": \"card_declined\",\n      \"failure_message\": \"The card was declined.\",\n      \"underlying_network_details\": {\n        \"network\": \"visa\",\n        \"visa\": {\n          \"arn\": \"74234567890123456789012\",\n          \"auth_code\": \"123456\",\n          \"raw_response_code\": \"00\",\n          \"rrn\": \"123456789012\",\n          \"eci\": \"05\",\n          \"aci\": \"Y\",\n          \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n        }\n      },\n      \"underlying_network_id\": \"74234567890123456789012\",\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      },\n      \"payment_method_options\": {\n        \"card\": {\n          \"security_checks\": {\n            \"address_line1_check\": true,\n            \"address_postal_code_check\": true,\n            \"cvv_check\": true\n          }\n        }\n      }\n    }\n  ],\n  \"payment_method_details\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"bin\": \"424242\",\n      \"brand\": \"visa\",\n      \"cardholder_currency\": \"usd\",\n      \"country\": \"US\",\n      \"exp_month\": \"12\",\n      \"exp_year\": \"2028\",\n      \"fingerprint\": \"fp_abc123xyz789\",\n      \"funding\": \"prepaid\",\n      \"last4\": \"4242\",\n      \"network\": \"visa\",\n      \"category\": \"business\",\n      \"security_checks\": {\n        \"address_line1_check\": \"unavailable\",\n        \"address_postal_code_check\": \"unavailable\",\n        \"cvc_check\": \"pass\"\n      },\n      \"wallet\": {\n        \"type\": \"googlepay\",\n        \"googlepay\": {\n          \"type\": \"cryptogram_3ds\",\n          \"physical_card_last4\": \"4242\"\n        },\n        \"applepay\": {\n          \"physical_card_last4\": \"4242\"\n        },\n        \"ctp\": {\n          \"physical_card_last4\": \"string\",\n          \"physical_card_bin\": \"string\",\n          \"physical_card_exp_month\": \"string\",\n          \"physical_card_exp_year\": \"string\"\n        }\n      },\n      \"token\": \"tok_card_296645958265997326\",\n      \"three_d_secure\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"version\": \"2.2.0\",\n        \"eci\": \"05\",\n        \"cardholder_info\": \"string\",\n        \"liability_shift\": true\n      },\n      \"three_ds\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"status_reason\": \"string\",\n        \"protocol_version\": \"2.2.0\",\n        \"eci\": \"02\",\n        \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n        \"liability_shift\": true,\n        \"cardholder_info\": \"string\",\n        \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n        \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n        \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n        \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n        \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n      },\n      \"payout\": \"not_available\",\n      \"name_verification\": \"match\",\n      \"partial_approval\": {\n        \"status\": \"accepted\",\n        \"amount_requested\": 10000,\n        \"amount_authorized\": 7500,\n        \"amount_charged\": 7500,\n        \"product_id\": \"prod_12345\"\n      },\n      \"name\": \"John Smith\",\n      \"issuer\": \"Chase Bank\"\n    },\n    \"cashapp\": {\n      \"cashtag\": \"$acmecustomer\",\n      \"name\": \"Jenny Rosen\"\n    },\n    \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n    \"setup_future_usage\": \"on_session\"\n  },\n  \"payment_method_options\": {\n    \"card\": {\n      \"security_checks\": {\n        \"address_line1_check\": true,\n        \"address_postal_code_check\": true,\n        \"cvv_check\": true\n      }\n    }\n  },\n  \"refunded\": false,\n  \"refunds\": {\n    \"data\": [\n      {\n        \"id\": \"rfnd_296645958265997314\",\n        \"resource\": \"refund\",\n        \"amount\": 10000,\n        \"amount_human_readable\": \"100.00\",\n        \"charge\": \"chrg_296645958265997312\",\n        \"created\": \"2024-01-15T10:30:00Z\",\n        \"currency\": \"usd\",\n        \"customer\": \"cust_296645958265997317\",\n        \"customer_reference_id\": \"cust_ext_abc123\",\n        \"metadata\": {},\n        \"reference\": \"refund_order_12345\",\n        \"status\": \"succeeded\",\n        \"failure_code\": \"string\",\n        \"failure_message\": \"string\",\n        \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n        \"test_mode\": true,\n        \"underlying_network_id\": \"123456789012345\",\n        \"underlying_network_details\": {\n          \"network\": \"visa\",\n          \"visa\": {\n            \"arn\": \"74234567890123456789012\",\n            \"auth_code\": \"123456\",\n            \"raw_response_code\": \"00\",\n            \"rrn\": \"123456789012\",\n            \"eci\": \"05\",\n            \"aci\": \"Y\",\n            \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n          }\n        },\n        \"underlying_processing_details\": {\n          \"processor\": \"stripe\",\n          \"transaction_id\": \"pi_abc123xyz789\",\n          \"settlement_account\": \"sa_296645958265997349\",\n          \"settlement_account_details\": {\n            \"processor\": \"pay_com\",\n            \"currency\": \"usd\",\n            \"name\": \"Main Settlement Account\",\n            \"entity\": \"ent_296645958265997359\",\n            \"entity_details\": {\n              \"legal_name\": \"ACME Corp\",\n              \"country\": \"US\"\n            }\n          }\n        },\n        \"risk_assessment_details\": {\n          \"outcome\": \"allow\",\n          \"outcome_source\": \"score\",\n          \"rule_id\": \"rl_296645958265997337\",\n          \"rules_id\": [\n            \"rl_296645958265997337\"\n          ],\n          \"score\": \"31\",\n          \"flags\": [\n            \"no_correlation_history\",\n            \"multiple_identities_billing\",\n            \"multiple_identities_card\",\n            \"free_email_provider\",\n            \"risky_billing_time\",\n            \"velocity_multiple_addresses\",\n            \"velocity_multiple_names\"\n          ]\n        },\n        \"receipt\": null,\n        \"tax_details\": {\n          \"amount_total\": 825,\n          \"tax_behavior\": \"exclusive\",\n          \"tax_quote\": \"txq_296645958265997339\",\n          \"effective_tax_rate\": \"8.25\",\n          \"tax_transaction\": null\n        }\n      },\n      {\n        \"id\": \"rfnd_296645958265997314\",\n        \"resource\": \"refund\",\n        \"amount\": 10000,\n        \"amount_human_readable\": \"100.00\",\n        \"charge\": \"chrg_296645958265997312\",\n        \"created\": \"2024-01-15T10:30:00Z\",\n        \"currency\": \"usd\",\n        \"customer\": \"cust_296645958265997317\",\n        \"customer_reference_id\": \"cust_ext_abc123\",\n        \"metadata\": {},\n        \"reference\": \"refund_order_12345\",\n        \"status\": \"succeeded\",\n        \"failure_code\": \"string\",\n        \"failure_message\": \"string\",\n        \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n        \"test_mode\": false,\n        \"underlying_network_id\": \"123456789012345\",\n        \"underlying_network_details\": {\n          \"network\": \"visa\",\n          \"visa\": {\n            \"arn\": \"74234567890123456789012\",\n            \"auth_code\": \"123456\",\n            \"raw_response_code\": \"00\",\n            \"rrn\": \"123456789012\",\n            \"eci\": \"05\",\n            \"aci\": \"Y\",\n            \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n          }\n        },\n        \"underlying_processing_details\": {\n          \"processor\": \"stripe\",\n          \"transaction_id\": \"pi_abc123xyz789\",\n          \"settlement_account\": \"sa_296645958265997349\",\n          \"settlement_account_details\": {\n            \"processor\": \"pay_com\",\n            \"currency\": \"usd\",\n            \"name\": \"Main Settlement Account\",\n            \"entity\": \"ent_296645958265997359\",\n            \"entity_details\": {\n              \"legal_name\": \"ACME Corp\",\n              \"country\": \"US\"\n            }\n          }\n        },\n        \"risk_assessment_details\": {\n          \"outcome\": \"allow\",\n          \"outcome_source\": \"score\",\n          \"rule_id\": \"rl_296645958265997337\",\n          \"rules_id\": [\n            \"rl_296645958265997337\"\n          ],\n          \"score\": \"31\",\n          \"flags\": [\n            \"no_correlation_history\",\n            \"multiple_identities_billing\",\n            \"multiple_identities_card\",\n            \"free_email_provider\",\n            \"risky_billing_time\",\n            \"velocity_multiple_addresses\",\n            \"velocity_multiple_names\"\n          ]\n        },\n        \"receipt\": null,\n        \"tax_details\": {\n          \"amount_total\": 825,\n          \"tax_behavior\": \"exclusive\",\n          \"tax_quote\": \"txq_296645958265997339\",\n          \"effective_tax_rate\": \"8.25\",\n          \"tax_transaction\": null\n        }\n      }\n    ],\n    \"url\": \"/v1/charges/chrg_296645958265997312/refunds\"\n  },\n  \"reference\": \"order_12345\",\n  \"shipping\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"phone\": \"+14155551234\"\n  },\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"status\": \"blocked\",\n  \"underlying_network_details\": {\n    \"network\": \"visa\",\n    \"visa\": {\n      \"arn\": \"74234567890123456789012\",\n      \"auth_code\": \"123456\",\n      \"raw_response_code\": \"00\",\n      \"rrn\": \"123456789012\",\n      \"eci\": \"05\",\n      \"aci\": \"Y\",\n      \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n    }\n  },\n  \"underlying_network_id\": \"123456789012345\",\n  \"risk_assessment_details\": {\n    \"outcome\": \"allow\",\n    \"outcome_source\": \"score\",\n    \"rule_id\": \"rl_296645958265997337\",\n    \"rules_id\": [\n      \"rl_296645958265997337\"\n    ],\n    \"score\": \"31\",\n    \"flags\": [\n      \"no_correlation_history\",\n      \"multiple_identities_billing\",\n      \"multiple_identities_card\",\n      \"free_email_provider\",\n      \"risky_billing_time\",\n      \"velocity_multiple_addresses\",\n      \"velocity_multiple_names\"\n    ]\n  },\n  \"test_mode\": false,\n  \"receipt\": null,\n  \"underlying_processing_details\": {\n    \"processor\": \"stripe\",\n    \"transaction_id\": \"pi_abc123xyz789\",\n    \"settlement_account\": \"sa_296645958265997349\",\n    \"settlement_account_details\": {\n      \"processor\": \"pay_com\",\n      \"currency\": \"usd\",\n      \"name\": \"Main Settlement Account\",\n      \"entity\": \"ent_296645958265997359\",\n      \"entity_details\": {\n        \"legal_name\": \"ACME Corp\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"tax_details\": {\n    \"amount_total\": 825,\n    \"tax_behavior\": \"exclusive\",\n    \"tax_quote\": \"txq_296645958265997339\",\n    \"effective_tax_rate\": \"8.25\",\n    \"tax_transaction\": null\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"95c27d1b-082a-521b-ad54-a0414eb821ca","name":"Invalid request parameters, or the charge was declined or blocked (`payment_method_error`).","originalRequest":{"url":{"path":["charges"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"source_data\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"number\": \"4242424242424242\",\n      \"expiry_month\": \"12\",\n      \"expiry_year\": \"2028\",\n      \"cvv\": \"123\",\n      \"name\": \"John Smith\",\n      \"authentication_context\": {\n        \"customer_ip_address\": \"192.168.1.1\",\n        \"browser_details\": {\n          \"accept_header\": \"*/*\",\n          \"javascript_enabled\": true,\n          \"language\": \"en-US\",\n          \"user_agent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36\",\n          \"screen_width\": 1920,\n          \"screen_height\": 1080,\n          \"timezone_offset\": \"-300\",\n          \"java_enabled\": false,\n          \"color_depth\": 24\n        }\n      }\n    },\n    \"billing_details\": {\n      \"name\": \"John Smith\",\n      \"email\": \"john.smith@example.com\",\n      \"phone\": \"+14155551234\",\n      \"address\": {\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"city\": \"San Francisco\",\n        \"state\": \"CA\",\n        \"postal_code\": \"94102\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"payment_method_options\": {\n    \"authentication_options\": {\n      \"type\": \"three_ds\",\n      \"three_ds\": {\n        \"flow_indicator\": {\n          \"type\": \"frictionless\",\n          \"frictionless\": {\n            \"sca_exemption_type\": \"low_value\"\n          }\n        }\n      }\n    }\n  },\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a810da1f-9312-5eac-9b93-8c3dcc555dc5","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["charges"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"source_data\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"number\": \"4242424242424242\",\n      \"expiry_month\": \"12\",\n      \"expiry_year\": \"2028\",\n      \"cvv\": \"123\",\n      \"name\": \"John Smith\",\n      \"authentication_context\": {\n        \"customer_ip_address\": \"192.168.1.1\",\n        \"browser_details\": {\n          \"accept_header\": \"*/*\",\n          \"javascript_enabled\": true,\n          \"language\": \"en-US\",\n          \"user_agent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36\",\n          \"screen_width\": 1920,\n          \"screen_height\": 1080,\n          \"timezone_offset\": \"-300\",\n          \"java_enabled\": false,\n          \"color_depth\": 24\n        }\n      }\n    },\n    \"billing_details\": {\n      \"name\": \"John Smith\",\n      \"email\": \"john.smith@example.com\",\n      \"phone\": \"+14155551234\",\n      \"address\": {\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"city\": \"San Francisco\",\n        \"state\": \"CA\",\n        \"postal_code\": \"94102\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"payment_method_options\": {\n    \"authentication_options\": {\n      \"type\": \"three_ds\",\n      \"three_ds\": {\n        \"flow_indicator\": {\n          \"type\": \"frictionless\",\n          \"frictionless\": {\n            \"sca_exemption_type\": \"low_value\"\n          }\n        }\n      }\n    }\n  },\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"52920170-de56-5f9f-a2ea-c404ff15e835","name":"The API key does not have access to the requested resource.\n\nA 403 can also mean the key may not make this request; `code` says why.","originalRequest":{"url":{"path":["charges"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"source_data\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"number\": \"4242424242424242\",\n      \"expiry_month\": \"12\",\n      \"expiry_year\": \"2028\",\n      \"cvv\": \"123\",\n      \"name\": \"John Smith\",\n      \"authentication_context\": {\n        \"customer_ip_address\": \"192.168.1.1\",\n        \"browser_details\": {\n          \"accept_header\": \"*/*\",\n          \"javascript_enabled\": true,\n          \"language\": \"en-US\",\n          \"user_agent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36\",\n          \"screen_width\": 1920,\n          \"screen_height\": 1080,\n          \"timezone_offset\": \"-300\",\n          \"java_enabled\": false,\n          \"color_depth\": 24\n        }\n      }\n    },\n    \"billing_details\": {\n      \"name\": \"John Smith\",\n      \"email\": \"john.smith@example.com\",\n      \"phone\": \"+14155551234\",\n      \"address\": {\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"city\": \"San Francisco\",\n        \"state\": \"CA\",\n        \"postal_code\": \"94102\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"payment_method_options\": {\n    \"authentication_options\": {\n      \"type\": \"three_ds\",\n      \"three_ds\": {\n        \"flow_indicator\": {\n          \"type\": \"frictionless\",\n          \"frictionless\": {\n            \"sca_exemption_type\": \"low_value\"\n          }\n        }\n      }\n    }\n  },\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4df3c59d-ed5b-59c1-be3e-eb926f212595","name":"The payment method or token in `source` or `payment_method` was not found.","originalRequest":{"url":{"path":["charges"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"source_data\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"number\": \"4242424242424242\",\n      \"expiry_month\": \"12\",\n      \"expiry_year\": \"2028\",\n      \"cvv\": \"123\",\n      \"name\": \"John Smith\",\n      \"authentication_context\": {\n        \"customer_ip_address\": \"192.168.1.1\",\n        \"browser_details\": {\n          \"accept_header\": \"*/*\",\n          \"javascript_enabled\": true,\n          \"language\": \"en-US\",\n          \"user_agent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36\",\n          \"screen_width\": 1920,\n          \"screen_height\": 1080,\n          \"timezone_offset\": \"-300\",\n          \"java_enabled\": false,\n          \"color_depth\": 24\n        }\n      }\n    },\n    \"billing_details\": {\n      \"name\": \"John Smith\",\n      \"email\": \"john.smith@example.com\",\n      \"phone\": \"+14155551234\",\n      \"address\": {\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"city\": \"San Francisco\",\n        \"state\": \"CA\",\n        \"postal_code\": \"94102\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"payment_method_options\": {\n    \"authentication_options\": {\n      \"type\": \"three_ds\",\n      \"three_ds\": {\n        \"flow_indicator\": {\n          \"type\": \"frictionless\",\n          \"frictionless\": {\n            \"sca_exemption_type\": \"low_value\"\n          }\n        }\n      }\n    }\n  },\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"65e2a03b-a8b4-53fd-8674-e284c6d836cb","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["charges"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"source_data\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"number\": \"4242424242424242\",\n      \"expiry_month\": \"12\",\n      \"expiry_year\": \"2028\",\n      \"cvv\": \"123\",\n      \"name\": \"John Smith\",\n      \"authentication_context\": {\n        \"customer_ip_address\": \"192.168.1.1\",\n        \"browser_details\": {\n          \"accept_header\": \"*/*\",\n          \"javascript_enabled\": true,\n          \"language\": \"en-US\",\n          \"user_agent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36\",\n          \"screen_width\": 1920,\n          \"screen_height\": 1080,\n          \"timezone_offset\": \"-300\",\n          \"java_enabled\": false,\n          \"color_depth\": 24\n        }\n      }\n    },\n    \"billing_details\": {\n      \"name\": \"John Smith\",\n      \"email\": \"john.smith@example.com\",\n      \"phone\": \"+14155551234\",\n      \"address\": {\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"city\": \"San Francisco\",\n        \"state\": \"CA\",\n        \"postal_code\": \"94102\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"payment_method_options\": {\n    \"authentication_options\": {\n      \"type\": \"three_ds\",\n      \"three_ds\": {\n        \"flow_indicator\": {\n          \"type\": \"frictionless\",\n          \"frictionless\": {\n            \"sca_exemption_type\": \"low_value\"\n          }\n        }\n      }\n    }\n  },\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"aa5a2edb-0e9f-56a0-9de9-bb3ecde78404","name":"Unprocessable content. The processor does not support the charge, or your account cannot accept charges.","originalRequest":{"url":{"path":["charges"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"source_data\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"number\": \"4242424242424242\",\n      \"expiry_month\": \"12\",\n      \"expiry_year\": \"2028\",\n      \"cvv\": \"123\",\n      \"name\": \"John Smith\",\n      \"authentication_context\": {\n        \"customer_ip_address\": \"192.168.1.1\",\n        \"browser_details\": {\n          \"accept_header\": \"*/*\",\n          \"javascript_enabled\": true,\n          \"language\": \"en-US\",\n          \"user_agent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36\",\n          \"screen_width\": 1920,\n          \"screen_height\": 1080,\n          \"timezone_offset\": \"-300\",\n          \"java_enabled\": false,\n          \"color_depth\": 24\n        }\n      }\n    },\n    \"billing_details\": {\n      \"name\": \"John Smith\",\n      \"email\": \"john.smith@example.com\",\n      \"phone\": \"+14155551234\",\n      \"address\": {\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"city\": \"San Francisco\",\n        \"state\": \"CA\",\n        \"postal_code\": \"94102\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"payment_method_options\": {\n    \"authentication_options\": {\n      \"type\": \"three_ds\",\n      \"three_ds\": {\n        \"flow_indicator\": {\n          \"type\": \"frictionless\",\n          \"frictionless\": {\n            \"sca_exemption_type\": \"low_value\"\n          }\n        }\n      }\n    }\n  },\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"Payment method is not set up for \\\"off_session\\\" mode\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5698e905-702d-57a7-900d-c0adbf50eec8","name":"Internal server error.","originalRequest":{"url":{"path":["charges"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"source_data\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"number\": \"4242424242424242\",\n      \"expiry_month\": \"12\",\n      \"expiry_year\": \"2028\",\n      \"cvv\": \"123\",\n      \"name\": \"John Smith\",\n      \"authentication_context\": {\n        \"customer_ip_address\": \"192.168.1.1\",\n        \"browser_details\": {\n          \"accept_header\": \"*/*\",\n          \"javascript_enabled\": true,\n          \"language\": \"en-US\",\n          \"user_agent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36\",\n          \"screen_width\": 1920,\n          \"screen_height\": 1080,\n          \"timezone_offset\": \"-300\",\n          \"java_enabled\": false,\n          \"color_depth\": 24\n        }\n      }\n    },\n    \"billing_details\": {\n      \"name\": \"John Smith\",\n      \"email\": \"john.smith@example.com\",\n      \"phone\": \"+14155551234\",\n      \"address\": {\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"city\": \"San Francisco\",\n        \"state\": \"CA\",\n        \"postal_code\": \"94102\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"payment_method_options\": {\n    \"authentication_options\": {\n      \"type\": \"three_ds\",\n      \"three_ds\": {\n        \"flow_indicator\": {\n          \"type\": \"frictionless\",\n          \"frictionless\": {\n            \"sca_exemption_type\": \"low_value\"\n          }\n        }\n      }\n    }\n  },\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a8c84c3e-09b8-556b-9390-b8c9387fc1cd","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["charges"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"source_data\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"number\": \"4242424242424242\",\n      \"expiry_month\": \"12\",\n      \"expiry_year\": \"2028\",\n      \"cvv\": \"123\",\n      \"name\": \"John Smith\",\n      \"authentication_context\": {\n        \"customer_ip_address\": \"192.168.1.1\",\n        \"browser_details\": {\n          \"accept_header\": \"*/*\",\n          \"javascript_enabled\": true,\n          \"language\": \"en-US\",\n          \"user_agent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36\",\n          \"screen_width\": 1920,\n          \"screen_height\": 1080,\n          \"timezone_offset\": \"-300\",\n          \"java_enabled\": false,\n          \"color_depth\": 24\n        }\n      }\n    },\n    \"billing_details\": {\n      \"name\": \"John Smith\",\n      \"email\": \"john.smith@example.com\",\n      \"phone\": \"+14155551234\",\n      \"address\": {\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"city\": \"San Francisco\",\n        \"state\": \"CA\",\n        \"postal_code\": \"94102\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"payment_method_options\": {\n    \"authentication_options\": {\n      \"type\": \"three_ds\",\n      \"three_ds\": {\n        \"flow_indicator\": {\n          \"type\": \"frictionless\",\n          \"frictionless\": {\n            \"sca_exemption_type\": \"low_value\"\n          }\n        }\n      }\n    }\n  },\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"e554be22-cfdb-5b87-906e-7c153d09b3bc","name":"List charges","request":{"name":"List charges","description":{"content":"Returns a list of charges, sorted by creation time, oldest first.\n\n- Only one list query per merchant can run at a time; a concurrent query returns 429.","type":"text/plain"},"url":{"path":["charges"],"host":["{{pay_base_url}}"],"query":[{"disabled":false,"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z","description":"Return objects created on or after this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.greater_than`."},{"disabled":false,"key":"created.greater_than","value":"2024-10-10T00:00:00Z","description":"Return objects created after this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.greater_than_or_equals`."},{"disabled":false,"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z","description":"Return objects created on or before this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.less_than`."},{"disabled":false,"key":"created.less_than","value":"2024-10-10T00:00:00Z","description":"Return objects created before this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.less_than_or_equals`."},{"disabled":false,"key":"limit","value":"10","description":"Maximum number of objects to return. Defaults to 10."},{"disabled":false,"key":"customer_reference_id","value":"cust_ext_abc123","description":"Your unique identifier for the customer."},{"disabled":false,"key":"id","value":"chrg_296645958265997312","description":"Return only the charge with this identifier."},{"disabled":false,"key":"currency","value":"usd","description":"Return charges in this currency. Three-letter ISO currency code, in lowercase."},{"disabled":false,"key":"created","value":"2024-01-15T10:30:00Z","description":"Return charges created at exactly this time, in ISO 8601 format."},{"disabled":false,"key":"amount","value":"10000","description":"Return charges with this amount, in the smallest currency unit."},{"disabled":false,"key":"amount.greater_than","value":"500","description":"Return charges whose requested or approved amount is greater than this value, in the smallest currency unit."},{"disabled":false,"key":"amount.greater_than_or_equals","value":"100","description":"Return charges whose requested or approved amount is greater than or equal to this value, in the smallest currency unit."},{"disabled":false,"key":"amount.less_than","value":"5000","description":"Return charges whose requested or approved amount is less than this value, in the smallest currency unit."},{"disabled":false,"key":"amount.less_than_or_equals","value":"10000","description":"Return charges whose requested or approved amount is less than or equal to this value, in the smallest currency unit."},{"disabled":false,"key":"payment_method_details.card.last_four_digits","value":"4242","description":"Return charges made with a card whose last four digits match this value."},{"disabled":false,"key":"payment_method_details.card.bin","value":"424242","description":"Return charges made with a card whose first six digits (BIN) match this value."},{"disabled":false,"key":"underlying_network_details.auth_code","value":"123456","description":"Return charges with this authorization code."},{"disabled":false,"key":"underlying_network_details.arn","value":"74234567890123456789012","description":"Return charges with this Acquirer Reference Number (ARN)."},{"disabled":false,"key":"ending_before","value":"string","description":"A cursor for pagination. Returns objects created before the object with this ID. Must be the ID of an object of the type being listed (for example a `chrg_` ID when listing charges); other IDs return 400. Lists are sorted by creation time, oldest first. Mutually exclusive with `starting_after`."},{"disabled":false,"key":"starting_after","value":"string","description":"A cursor for pagination. Returns objects created after the object with this ID. Must be the ID of an object of the type being listed (for example a `chrg_` ID when listing charges); other IDs return 400. Lists are sorted by creation time, oldest first. Mutually exclusive with `ending_before`."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"89c91f9f-ff32-55dd-b96a-62498ead6fde","name":"Returns a list of charge objects.","originalRequest":{"url":{"path":["charges"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"id","value":"chrg_296645958265997312"},{"key":"currency","value":"usd"},{"key":"created","value":"2024-01-15T10:30:00Z"},{"key":"amount","value":"10000"},{"key":"amount.greater_than","value":"500"},{"key":"amount.greater_than_or_equals","value":"100"},{"key":"amount.less_than","value":"5000"},{"key":"amount.less_than_or_equals","value":"10000"},{"key":"payment_method_details.card.last_four_digits","value":"4242"},{"key":"payment_method_details.card.bin","value":"424242"},{"key":"underlying_network_details.auth_code","value":"123456"},{"key":"underlying_network_details.arn","value":"74234567890123456789012"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"resource\": \"charges\",\n  \"data\": [\n    {\n      \"id\": \"chrg_296645958265997312\",\n      \"resource\": \"charge\",\n      \"amount\": 10000,\n      \"amount_human_readable\": \"100.00\",\n      \"amount_refunded\": 0,\n      \"billing_details\": {\n        \"address\": {\n          \"city\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"country\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"line1\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"line2\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"postal_code\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"state\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          }\n        },\n        \"name\": \"John Smith\",\n        \"email\": \"john.smith@example.com\",\n        \"phone\": \"+14155551234\",\n        \"dob\": \"1985-07-15\",\n        \"national_identification_number\": \"123-45-6789\"\n      },\n      \"calculated_statement_descriptor\": \"ACME * ACME STORE\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"currency\": \"usd\",\n      \"customer\": \"cust_296645958265997317\",\n      \"customer_reference_id\": \"cust_ext_abc123\",\n      \"cashflow_transaction\": \"cflw_tx_296645958265997312\",\n      \"description\": \"Payment for Order #12345\",\n      \"disputed\": false,\n      \"failure_code\": \"string\",\n      \"failure_message\": \"string\",\n      \"metadata\": {},\n      \"paid\": false,\n      \"payment_session\": \"ps_296645958265997318\",\n      \"hold\": \"string\",\n      \"payment_method\": \"pm_card_296645958265997316\",\n      \"fraud\": true,\n      \"retry_attempts\": [\n        {\n          \"id\": \"rtratt_296645958265997312_1_1\",\n          \"created\": \"2024-01-15T10:30:00Z\",\n          \"type\": \"fallback\",\n          \"failure_code\": \"card_declined\",\n          \"failure_message\": \"The card was declined.\",\n          \"underlying_network_details\": {\n            \"network\": \"visa\",\n            \"visa\": {\n              \"arn\": \"74234567890123456789012\",\n              \"auth_code\": \"123456\",\n              \"raw_response_code\": \"00\",\n              \"rrn\": \"123456789012\",\n              \"eci\": \"05\",\n              \"aci\": \"Y\",\n              \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n            }\n          },\n          \"underlying_network_id\": \"74234567890123456789012\",\n          \"underlying_processing_details\": {\n            \"processor\": \"stripe\",\n            \"transaction_id\": \"pi_abc123xyz789\",\n            \"settlement_account\": \"sa_296645958265997349\",\n            \"settlement_account_details\": {\n              \"processor\": \"pay_com\",\n              \"currency\": \"usd\",\n              \"name\": \"Main Settlement Account\",\n              \"entity\": \"ent_296645958265997359\",\n              \"entity_details\": {\n                \"legal_name\": \"ACME Corp\",\n                \"country\": \"US\"\n              }\n            }\n          },\n          \"payment_method_options\": {\n            \"card\": {\n              \"security_checks\": {\n                \"address_line1_check\": true,\n                \"address_postal_code_check\": true,\n                \"cvv_check\": true\n              }\n            }\n          }\n        },\n        {\n          \"id\": \"rtratt_296645958265997312_1_1\",\n          \"created\": \"2024-01-15T10:30:00Z\",\n          \"type\": \"fallback\",\n          \"failure_code\": \"card_declined\",\n          \"failure_message\": \"The card was declined.\",\n          \"underlying_network_details\": {\n            \"network\": \"visa\",\n            \"visa\": {\n              \"arn\": \"74234567890123456789012\",\n              \"auth_code\": \"123456\",\n              \"raw_response_code\": \"00\",\n              \"rrn\": \"123456789012\",\n              \"eci\": \"05\",\n              \"aci\": \"Y\",\n              \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n            }\n          },\n          \"underlying_network_id\": \"74234567890123456789012\",\n          \"underlying_processing_details\": {\n            \"processor\": \"stripe\",\n            \"transaction_id\": \"pi_abc123xyz789\",\n            \"settlement_account\": \"sa_296645958265997349\",\n            \"settlement_account_details\": {\n              \"processor\": \"pay_com\",\n              \"currency\": \"usd\",\n              \"name\": \"Main Settlement Account\",\n              \"entity\": \"ent_296645958265997359\",\n              \"entity_details\": {\n                \"legal_name\": \"ACME Corp\",\n                \"country\": \"US\"\n              }\n            }\n          },\n          \"payment_method_options\": {\n            \"card\": {\n              \"security_checks\": {\n                \"address_line1_check\": true,\n                \"address_postal_code_check\": true,\n                \"cvv_check\": true\n              }\n            }\n          }\n        }\n      ],\n      \"payment_method_details\": {\n        \"type\": \"card\",\n        \"card\": {\n          \"bin\": \"424242\",\n          \"brand\": \"visa\",\n          \"cardholder_currency\": \"usd\",\n          \"country\": \"US\",\n          \"exp_month\": \"12\",\n          \"exp_year\": \"2028\",\n          \"fingerprint\": \"fp_abc123xyz789\",\n          \"funding\": \"unknown\",\n          \"last4\": \"4242\",\n          \"network\": \"visa\",\n          \"category\": \"business\",\n          \"security_checks\": {\n            \"address_line1_check\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"address_postal_code_check\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"cvc_check\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"wallet\": {\n            \"type\": \"googlepay\",\n            \"googlepay\": {\n              \"type\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"physical_card_last4\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            \"applepay\": {\n              \"physical_card_last4\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            \"ctp\": {\n              \"physical_card_last4\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"physical_card_bin\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"physical_card_exp_month\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"physical_card_exp_year\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            }\n          },\n          \"token\": \"tok_card_296645958265997326\",\n          \"three_d_secure\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"three_ds\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"payout\": \"not_available\",\n          \"name_verification\": \"match\",\n          \"partial_approval\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"name\": \"John Smith\",\n          \"issuer\": \"Chase Bank\"\n        },\n        \"cashapp\": {\n          \"cashtag\": \"$acmecustomer\",\n          \"name\": \"Jenny Rosen\"\n        },\n        \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n        \"setup_future_usage\": \"on_session\"\n      },\n      \"payment_method_options\": {\n        \"card\": {\n          \"security_checks\": {\n            \"address_line1_check\": true,\n            \"address_postal_code_check\": true,\n            \"cvv_check\": true\n          }\n        }\n      },\n      \"refunded\": true,\n      \"refunds\": {\n        \"data\": [\n          {\n            \"id\": \"rfnd_296645958265997314\",\n            \"resource\": \"refund\",\n            \"amount\": 10000,\n            \"amount_human_readable\": \"100.00\",\n            \"charge\": \"chrg_296645958265997312\",\n            \"created\": \"2024-01-15T10:30:00Z\",\n            \"currency\": \"usd\",\n            \"customer\": \"cust_296645958265997317\",\n            \"customer_reference_id\": \"cust_ext_abc123\",\n            \"metadata\": {},\n            \"reference\": \"refund_order_12345\",\n            \"status\": \"succeeded\",\n            \"failure_code\": \"string\",\n            \"failure_message\": \"string\",\n            \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n            \"test_mode\": false,\n            \"underlying_network_id\": \"123456789012345\",\n            \"underlying_network_details\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"underlying_processing_details\": {\n              \"processor\": \"stripe\",\n              \"transaction_id\": \"pi_abc123xyz789\",\n              \"settlement_account\": \"sa_296645958265997349\",\n              \"settlement_account_details\": {\n                \"processor\": \"pay_com\",\n                \"currency\": \"usd\",\n                \"name\": \"Main Settlement Account\",\n                \"entity\": \"ent_296645958265997359\",\n                \"entity_details\": {\n                  \"legal_name\": \"ACME Corp\",\n                  \"country\": \"US\"\n                }\n              }\n            },\n            \"risk_assessment_details\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"receipt\": null,\n            \"tax_details\": {\n              \"amount_total\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"tax_behavior\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"tax_quote\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"effective_tax_rate\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"tax_transaction\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            }\n          },\n          {\n            \"id\": \"rfnd_296645958265997314\",\n            \"resource\": \"refund\",\n            \"amount\": 10000,\n            \"amount_human_readable\": \"100.00\",\n            \"charge\": \"chrg_296645958265997312\",\n            \"created\": \"2024-01-15T10:30:00Z\",\n            \"currency\": \"usd\",\n            \"customer\": \"cust_296645958265997317\",\n            \"customer_reference_id\": \"cust_ext_abc123\",\n            \"metadata\": {},\n            \"reference\": \"refund_order_12345\",\n            \"status\": \"succeeded\",\n            \"failure_code\": \"string\",\n            \"failure_message\": \"string\",\n            \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n            \"test_mode\": true,\n            \"underlying_network_id\": \"123456789012345\",\n            \"underlying_network_details\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"underlying_processing_details\": {\n              \"processor\": \"stripe\",\n              \"transaction_id\": \"pi_abc123xyz789\",\n              \"settlement_account\": \"sa_296645958265997349\",\n              \"settlement_account_details\": {\n                \"processor\": \"pay_com\",\n                \"currency\": \"usd\",\n                \"name\": \"Main Settlement Account\",\n                \"entity\": \"ent_296645958265997359\",\n                \"entity_details\": {\n                  \"legal_name\": \"ACME Corp\",\n                  \"country\": \"US\"\n                }\n              }\n            },\n            \"risk_assessment_details\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"receipt\": null,\n            \"tax_details\": {\n              \"amount_total\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"tax_behavior\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"tax_quote\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"effective_tax_rate\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"tax_transaction\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            }\n          }\n        ],\n        \"url\": \"/v1/charges/chrg_296645958265997312/refunds\"\n      },\n      \"reference\": \"order_12345\",\n      \"shipping\": {\n        \"address\": {\n          \"city\": \"San Francisco\",\n          \"country\": \"US\",\n          \"line1\": \"123 Main Street\",\n          \"line2\": \"Suite 400\",\n          \"postal_code\": \"94102\",\n          \"state\": \"CA\"\n        },\n        \"name\": \"John Smith\",\n        \"phone\": \"+14155551234\"\n      },\n      \"statement_descriptor_suffix\": \"ACME STORE\",\n      \"status\": \"succeeded\",\n      \"underlying_network_details\": {\n        \"network\": \"visa\",\n        \"visa\": {\n          \"arn\": \"74234567890123456789012\",\n          \"auth_code\": \"123456\",\n          \"raw_response_code\": \"00\",\n          \"rrn\": \"123456789012\",\n          \"eci\": \"05\",\n          \"aci\": \"Y\",\n          \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n        }\n      },\n      \"underlying_network_id\": \"123456789012345\",\n      \"risk_assessment_details\": {\n        \"outcome\": \"allow\",\n        \"outcome_source\": \"score\",\n        \"rule_id\": \"rl_296645958265997337\",\n        \"rules_id\": [\n          \"rl_296645958265997337\"\n        ],\n        \"score\": \"31\",\n        \"flags\": [\n          \"no_correlation_history\",\n          \"multiple_identities_billing\",\n          \"multiple_identities_card\",\n          \"free_email_provider\",\n          \"risky_billing_time\",\n          \"velocity_multiple_addresses\",\n          \"velocity_multiple_names\"\n        ]\n      },\n      \"test_mode\": true,\n      \"receipt\": null,\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      },\n      \"tax_details\": {\n        \"amount_total\": 825,\n        \"tax_behavior\": \"exclusive\",\n        \"tax_quote\": \"txq_296645958265997339\",\n        \"effective_tax_rate\": \"8.25\",\n        \"tax_transaction\": null\n      }\n    },\n    {\n      \"id\": \"chrg_296645958265997312\",\n      \"resource\": \"charge\",\n      \"amount\": 10000,\n      \"amount_human_readable\": \"100.00\",\n      \"amount_refunded\": 0,\n      \"billing_details\": {\n        \"address\": {\n          \"city\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"country\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"line1\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"line2\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"postal_code\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"state\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          }\n        },\n        \"name\": \"John Smith\",\n        \"email\": \"john.smith@example.com\",\n        \"phone\": \"+14155551234\",\n        \"dob\": \"1985-07-15\",\n        \"national_identification_number\": \"123-45-6789\"\n      },\n      \"calculated_statement_descriptor\": \"ACME * ACME STORE\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"currency\": \"usd\",\n      \"customer\": \"cust_296645958265997317\",\n      \"customer_reference_id\": \"cust_ext_abc123\",\n      \"cashflow_transaction\": \"cflw_tx_296645958265997312\",\n      \"description\": \"Payment for Order #12345\",\n      \"disputed\": true,\n      \"failure_code\": \"string\",\n      \"failure_message\": \"string\",\n      \"metadata\": {},\n      \"paid\": false,\n      \"payment_session\": \"ps_296645958265997318\",\n      \"hold\": \"string\",\n      \"payment_method\": \"pm_card_296645958265997316\",\n      \"fraud\": false,\n      \"retry_attempts\": [\n        {\n          \"id\": \"rtratt_296645958265997312_1_1\",\n          \"created\": \"2024-01-15T10:30:00Z\",\n          \"type\": \"fallback\",\n          \"failure_code\": \"card_declined\",\n          \"failure_message\": \"The card was declined.\",\n          \"underlying_network_details\": {\n            \"network\": \"visa\",\n            \"visa\": {\n              \"arn\": \"74234567890123456789012\",\n              \"auth_code\": \"123456\",\n              \"raw_response_code\": \"00\",\n              \"rrn\": \"123456789012\",\n              \"eci\": \"05\",\n              \"aci\": \"Y\",\n              \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n            }\n          },\n          \"underlying_network_id\": \"74234567890123456789012\",\n          \"underlying_processing_details\": {\n            \"processor\": \"stripe\",\n            \"transaction_id\": \"pi_abc123xyz789\",\n            \"settlement_account\": \"sa_296645958265997349\",\n            \"settlement_account_details\": {\n              \"processor\": \"pay_com\",\n              \"currency\": \"usd\",\n              \"name\": \"Main Settlement Account\",\n              \"entity\": \"ent_296645958265997359\",\n              \"entity_details\": {\n                \"legal_name\": \"ACME Corp\",\n                \"country\": \"US\"\n              }\n            }\n          },\n          \"payment_method_options\": {\n            \"card\": {\n              \"security_checks\": {\n                \"address_line1_check\": true,\n                \"address_postal_code_check\": true,\n                \"cvv_check\": true\n              }\n            }\n          }\n        },\n        {\n          \"id\": \"rtratt_296645958265997312_1_1\",\n          \"created\": \"2024-01-15T10:30:00Z\",\n          \"type\": \"fallback\",\n          \"failure_code\": \"card_declined\",\n          \"failure_message\": \"The card was declined.\",\n          \"underlying_network_details\": {\n            \"network\": \"visa\",\n            \"visa\": {\n              \"arn\": \"74234567890123456789012\",\n              \"auth_code\": \"123456\",\n              \"raw_response_code\": \"00\",\n              \"rrn\": \"123456789012\",\n              \"eci\": \"05\",\n              \"aci\": \"Y\",\n              \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n            }\n          },\n          \"underlying_network_id\": \"74234567890123456789012\",\n          \"underlying_processing_details\": {\n            \"processor\": \"stripe\",\n            \"transaction_id\": \"pi_abc123xyz789\",\n            \"settlement_account\": \"sa_296645958265997349\",\n            \"settlement_account_details\": {\n              \"processor\": \"pay_com\",\n              \"currency\": \"usd\",\n              \"name\": \"Main Settlement Account\",\n              \"entity\": \"ent_296645958265997359\",\n              \"entity_details\": {\n                \"legal_name\": \"ACME Corp\",\n                \"country\": \"US\"\n              }\n            }\n          },\n          \"payment_method_options\": {\n            \"card\": {\n              \"security_checks\": {\n                \"address_line1_check\": true,\n                \"address_postal_code_check\": true,\n                \"cvv_check\": true\n              }\n            }\n          }\n        }\n      ],\n      \"payment_method_details\": {\n        \"type\": \"card\",\n        \"card\": {\n          \"bin\": \"424242\",\n          \"brand\": \"visa\",\n          \"cardholder_currency\": \"usd\",\n          \"country\": \"US\",\n          \"exp_month\": \"12\",\n          \"exp_year\": \"2028\",\n          \"fingerprint\": \"fp_abc123xyz789\",\n          \"funding\": \"unknown\",\n          \"last4\": \"4242\",\n          \"network\": \"visa\",\n          \"category\": \"consumer\",\n          \"security_checks\": {\n            \"address_line1_check\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"address_postal_code_check\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"cvc_check\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"wallet\": {\n            \"type\": \"googlepay\",\n            \"googlepay\": {\n              \"type\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"physical_card_last4\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            \"applepay\": {\n              \"physical_card_last4\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            \"ctp\": {\n              \"physical_card_last4\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"physical_card_bin\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"physical_card_exp_month\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"physical_card_exp_year\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            }\n          },\n          \"token\": \"tok_card_296645958265997326\",\n          \"three_d_secure\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"three_ds\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"payout\": \"not_available\",\n          \"name_verification\": \"match\",\n          \"partial_approval\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"name\": \"John Smith\",\n          \"issuer\": \"Chase Bank\"\n        },\n        \"cashapp\": {\n          \"cashtag\": \"$acmecustomer\",\n          \"name\": \"Jenny Rosen\"\n        },\n        \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n        \"setup_future_usage\": \"on_session\"\n      },\n      \"payment_method_options\": {\n        \"card\": {\n          \"security_checks\": {\n            \"address_line1_check\": true,\n            \"address_postal_code_check\": true,\n            \"cvv_check\": true\n          }\n        }\n      },\n      \"refunded\": false,\n      \"refunds\": {\n        \"data\": [\n          {\n            \"id\": \"rfnd_296645958265997314\",\n            \"resource\": \"refund\",\n            \"amount\": 10000,\n            \"amount_human_readable\": \"100.00\",\n            \"charge\": \"chrg_296645958265997312\",\n            \"created\": \"2024-01-15T10:30:00Z\",\n            \"currency\": \"usd\",\n            \"customer\": \"cust_296645958265997317\",\n            \"customer_reference_id\": \"cust_ext_abc123\",\n            \"metadata\": {},\n            \"reference\": \"refund_order_12345\",\n            \"status\": \"succeeded\",\n            \"failure_code\": \"string\",\n            \"failure_message\": \"string\",\n            \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n            \"test_mode\": false,\n            \"underlying_network_id\": \"123456789012345\",\n            \"underlying_network_details\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"underlying_processing_details\": {\n              \"processor\": \"stripe\",\n              \"transaction_id\": \"pi_abc123xyz789\",\n              \"settlement_account\": \"sa_296645958265997349\",\n              \"settlement_account_details\": {\n                \"processor\": \"pay_com\",\n                \"currency\": \"usd\",\n                \"name\": \"Main Settlement Account\",\n                \"entity\": \"ent_296645958265997359\",\n                \"entity_details\": {\n                  \"legal_name\": \"ACME Corp\",\n                  \"country\": \"US\"\n                }\n              }\n            },\n            \"risk_assessment_details\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"receipt\": null,\n            \"tax_details\": {\n              \"amount_total\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"tax_behavior\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"tax_quote\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"effective_tax_rate\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"tax_transaction\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            }\n          },\n          {\n            \"id\": \"rfnd_296645958265997314\",\n            \"resource\": \"refund\",\n            \"amount\": 10000,\n            \"amount_human_readable\": \"100.00\",\n            \"charge\": \"chrg_296645958265997312\",\n            \"created\": \"2024-01-15T10:30:00Z\",\n            \"currency\": \"usd\",\n            \"customer\": \"cust_296645958265997317\",\n            \"customer_reference_id\": \"cust_ext_abc123\",\n            \"metadata\": {},\n            \"reference\": \"refund_order_12345\",\n            \"status\": \"succeeded\",\n            \"failure_code\": \"string\",\n            \"failure_message\": \"string\",\n            \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n            \"test_mode\": true,\n            \"underlying_network_id\": \"123456789012345\",\n            \"underlying_network_details\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"underlying_processing_details\": {\n              \"processor\": \"stripe\",\n              \"transaction_id\": \"pi_abc123xyz789\",\n              \"settlement_account\": \"sa_296645958265997349\",\n              \"settlement_account_details\": {\n                \"processor\": \"pay_com\",\n                \"currency\": \"usd\",\n                \"name\": \"Main Settlement Account\",\n                \"entity\": \"ent_296645958265997359\",\n                \"entity_details\": {\n                  \"legal_name\": \"ACME Corp\",\n                  \"country\": \"US\"\n                }\n              }\n            },\n            \"risk_assessment_details\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"receipt\": null,\n            \"tax_details\": {\n              \"amount_total\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"tax_behavior\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"tax_quote\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"effective_tax_rate\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"tax_transaction\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            }\n          }\n        ],\n        \"url\": \"/v1/charges/chrg_296645958265997312/refunds\"\n      },\n      \"reference\": \"order_12345\",\n      \"shipping\": {\n        \"address\": {\n          \"city\": \"San Francisco\",\n          \"country\": \"US\",\n          \"line1\": \"123 Main Street\",\n          \"line2\": \"Suite 400\",\n          \"postal_code\": \"94102\",\n          \"state\": \"CA\"\n        },\n        \"name\": \"John Smith\",\n        \"phone\": \"+14155551234\"\n      },\n      \"statement_descriptor_suffix\": \"ACME STORE\",\n      \"status\": \"requires_partial_approval_action\",\n      \"underlying_network_details\": {\n        \"network\": \"visa\",\n        \"visa\": {\n          \"arn\": \"74234567890123456789012\",\n          \"auth_code\": \"123456\",\n          \"raw_response_code\": \"00\",\n          \"rrn\": \"123456789012\",\n          \"eci\": \"05\",\n          \"aci\": \"Y\",\n          \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n        }\n      },\n      \"underlying_network_id\": \"123456789012345\",\n      \"risk_assessment_details\": {\n        \"outcome\": \"allow\",\n        \"outcome_source\": \"score\",\n        \"rule_id\": \"rl_296645958265997337\",\n        \"rules_id\": [\n          \"rl_296645958265997337\"\n        ],\n        \"score\": \"31\",\n        \"flags\": [\n          \"no_correlation_history\",\n          \"multiple_identities_billing\",\n          \"multiple_identities_card\",\n          \"free_email_provider\",\n          \"risky_billing_time\",\n          \"velocity_multiple_addresses\",\n          \"velocity_multiple_names\"\n        ]\n      },\n      \"test_mode\": true,\n      \"receipt\": null,\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      },\n      \"tax_details\": {\n        \"amount_total\": 825,\n        \"tax_behavior\": \"exclusive\",\n        \"tax_quote\": \"txq_296645958265997339\",\n        \"effective_tax_rate\": \"8.25\",\n        \"tax_transaction\": null\n      }\n    }\n  ],\n  \"has_more\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"22db6151-3bb1-5171-a3ad-a832dc74648e","name":"Invalid request parameters.","originalRequest":{"url":{"path":["charges"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"id","value":"chrg_296645958265997312"},{"key":"currency","value":"usd"},{"key":"created","value":"2024-01-15T10:30:00Z"},{"key":"amount","value":"10000"},{"key":"amount.greater_than","value":"500"},{"key":"amount.greater_than_or_equals","value":"100"},{"key":"amount.less_than","value":"5000"},{"key":"amount.less_than_or_equals","value":"10000"},{"key":"payment_method_details.card.last_four_digits","value":"4242"},{"key":"payment_method_details.card.bin","value":"424242"},{"key":"underlying_network_details.auth_code","value":"123456"},{"key":"underlying_network_details.arn","value":"74234567890123456789012"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"89c82d58-ed9b-563c-8010-ebafb4281ad6","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["charges"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"id","value":"chrg_296645958265997312"},{"key":"currency","value":"usd"},{"key":"created","value":"2024-01-15T10:30:00Z"},{"key":"amount","value":"10000"},{"key":"amount.greater_than","value":"500"},{"key":"amount.greater_than_or_equals","value":"100"},{"key":"amount.less_than","value":"5000"},{"key":"amount.less_than_or_equals","value":"10000"},{"key":"payment_method_details.card.last_four_digits","value":"4242"},{"key":"payment_method_details.card.bin","value":"424242"},{"key":"underlying_network_details.auth_code","value":"123456"},{"key":"underlying_network_details.arn","value":"74234567890123456789012"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"83a2e3ed-0561-515f-a1a0-1e7f20381f95","name":"List queries are disabled for your account (`Bulk queries are disabled.`).\n\nA 403 can also mean the key may not make this request; `code` says why.","originalRequest":{"url":{"path":["charges"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"id","value":"chrg_296645958265997312"},{"key":"currency","value":"usd"},{"key":"created","value":"2024-01-15T10:30:00Z"},{"key":"amount","value":"10000"},{"key":"amount.greater_than","value":"500"},{"key":"amount.greater_than_or_equals","value":"100"},{"key":"amount.less_than","value":"5000"},{"key":"amount.less_than_or_equals","value":"10000"},{"key":"payment_method_details.card.last_four_digits","value":"4242"},{"key":"payment_method_details.card.bin","value":"424242"},{"key":"underlying_network_details.auth_code","value":"123456"},{"key":"underlying_network_details.arn","value":"74234567890123456789012"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7b38bee9-f4a2-5ad2-ade5-6b89446c45ce","name":"Another list query is already running for your account. Retry after the number of seconds in the `Retry-After` header.","originalRequest":{"url":{"path":["charges"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"id","value":"chrg_296645958265997312"},{"key":"currency","value":"usd"},{"key":"created","value":"2024-01-15T10:30:00Z"},{"key":"amount","value":"10000"},{"key":"amount.greater_than","value":"500"},{"key":"amount.greater_than_or_equals","value":"100"},{"key":"amount.less_than","value":"5000"},{"key":"amount.less_than_or_equals","value":"10000"},{"key":"payment_method_details.card.last_four_digits","value":"4242"},{"key":"payment_method_details.card.bin","value":"424242"},{"key":"underlying_network_details.auth_code","value":"123456"},{"key":"underlying_network_details.arn","value":"74234567890123456789012"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"disabled":false,"description":"Number of seconds to wait before retrying.","key":"Retry-After","value":"6186"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Only one bulk query per merchant can run at a time. Retry after the current query completes.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"65680a2e-ae68-5492-8c7b-93a7dd255dce","name":"Internal server error.","originalRequest":{"url":{"path":["charges"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"id","value":"chrg_296645958265997312"},{"key":"currency","value":"usd"},{"key":"created","value":"2024-01-15T10:30:00Z"},{"key":"amount","value":"10000"},{"key":"amount.greater_than","value":"500"},{"key":"amount.greater_than_or_equals","value":"100"},{"key":"amount.less_than","value":"5000"},{"key":"amount.less_than_or_equals","value":"10000"},{"key":"payment_method_details.card.last_four_digits","value":"4242"},{"key":"payment_method_details.card.bin","value":"424242"},{"key":"underlying_network_details.auth_code","value":"123456"},{"key":"underlying_network_details.arn","value":"74234567890123456789012"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"347264ab-e2ab-5624-862f-435c4ab7ad8a","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["charges"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"id","value":"chrg_296645958265997312"},{"key":"currency","value":"usd"},{"key":"created","value":"2024-01-15T10:30:00Z"},{"key":"amount","value":"10000"},{"key":"amount.greater_than","value":"500"},{"key":"amount.greater_than_or_equals","value":"100"},{"key":"amount.less_than","value":"5000"},{"key":"amount.less_than_or_equals","value":"10000"},{"key":"payment_method_details.card.last_four_digits","value":"4242"},{"key":"payment_method_details.card.bin","value":"424242"},{"key":"underlying_network_details.auth_code","value":"123456"},{"key":"underlying_network_details.arn","value":"74234567890123456789012"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"31e77a31-7198-54ad-baee-db5f6c68c27f","name":"Retrieve a charge by reference","request":{"name":"Retrieve a charge by reference","description":{"content":"Retrieves the details of a charge by the `reference` you set when creating it.","type":"text/plain"},"url":{"path":["charges","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"order_12345","key":"reference_id","description":"(Required) The unique reference that was provided when the charge was created."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"d40063f0-6c4d-52fd-b973-7e9d63f6d036","name":"Returns the charge object.","originalRequest":{"url":{"path":["charges","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"order_12345","key":"reference_id","description":"(Required) The unique reference that was provided when the charge was created."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"chrg_296645958265997312\",\n  \"resource\": \"charge\",\n  \"amount\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"amount_refunded\": 0,\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"calculated_statement_descriptor\": \"ACME * ACME STORE\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"currency\": \"usd\",\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"cashflow_transaction\": \"cflw_tx_296645958265997312\",\n  \"description\": \"Payment for Order #12345\",\n  \"disputed\": false,\n  \"failure_code\": \"string\",\n  \"failure_message\": \"string\",\n  \"metadata\": {},\n  \"paid\": true,\n  \"payment_session\": \"ps_296645958265997318\",\n  \"hold\": \"string\",\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"fraud\": true,\n  \"retry_attempts\": [\n    {\n      \"id\": \"rtratt_296645958265997312_1_1\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"type\": \"fallback\",\n      \"failure_code\": \"card_declined\",\n      \"failure_message\": \"The card was declined.\",\n      \"underlying_network_details\": {\n        \"network\": \"visa\",\n        \"visa\": {\n          \"arn\": \"74234567890123456789012\",\n          \"auth_code\": \"123456\",\n          \"raw_response_code\": \"00\",\n          \"rrn\": \"123456789012\",\n          \"eci\": \"05\",\n          \"aci\": \"Y\",\n          \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n        }\n      },\n      \"underlying_network_id\": \"74234567890123456789012\",\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      },\n      \"payment_method_options\": {\n        \"card\": {\n          \"security_checks\": {\n            \"address_line1_check\": true,\n            \"address_postal_code_check\": true,\n            \"cvv_check\": true\n          }\n        }\n      }\n    },\n    {\n      \"id\": \"rtratt_296645958265997312_1_1\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"type\": \"fallback\",\n      \"failure_code\": \"card_declined\",\n      \"failure_message\": \"The card was declined.\",\n      \"underlying_network_details\": {\n        \"network\": \"visa\",\n        \"visa\": {\n          \"arn\": \"74234567890123456789012\",\n          \"auth_code\": \"123456\",\n          \"raw_response_code\": \"00\",\n          \"rrn\": \"123456789012\",\n          \"eci\": \"05\",\n          \"aci\": \"Y\",\n          \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n        }\n      },\n      \"underlying_network_id\": \"74234567890123456789012\",\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      },\n      \"payment_method_options\": {\n        \"card\": {\n          \"security_checks\": {\n            \"address_line1_check\": true,\n            \"address_postal_code_check\": true,\n            \"cvv_check\": true\n          }\n        }\n      }\n    }\n  ],\n  \"payment_method_details\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"bin\": \"424242\",\n      \"brand\": \"visa\",\n      \"cardholder_currency\": \"usd\",\n      \"country\": \"US\",\n      \"exp_month\": \"12\",\n      \"exp_year\": \"2028\",\n      \"fingerprint\": \"fp_abc123xyz789\",\n      \"funding\": \"prepaid\",\n      \"last4\": \"4242\",\n      \"network\": \"visa\",\n      \"category\": \"business\",\n      \"security_checks\": {\n        \"address_line1_check\": \"unavailable\",\n        \"address_postal_code_check\": \"unavailable\",\n        \"cvc_check\": \"pass\"\n      },\n      \"wallet\": {\n        \"type\": \"googlepay\",\n        \"googlepay\": {\n          \"type\": \"cryptogram_3ds\",\n          \"physical_card_last4\": \"4242\"\n        },\n        \"applepay\": {\n          \"physical_card_last4\": \"4242\"\n        },\n        \"ctp\": {\n          \"physical_card_last4\": \"string\",\n          \"physical_card_bin\": \"string\",\n          \"physical_card_exp_month\": \"string\",\n          \"physical_card_exp_year\": \"string\"\n        }\n      },\n      \"token\": \"tok_card_296645958265997326\",\n      \"three_d_secure\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"version\": \"2.2.0\",\n        \"eci\": \"05\",\n        \"cardholder_info\": \"string\",\n        \"liability_shift\": true\n      },\n      \"three_ds\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"status_reason\": \"string\",\n        \"protocol_version\": \"2.2.0\",\n        \"eci\": \"02\",\n        \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n        \"liability_shift\": true,\n        \"cardholder_info\": \"string\",\n        \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n        \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n        \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n        \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n        \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n      },\n      \"payout\": \"not_available\",\n      \"name_verification\": \"match\",\n      \"partial_approval\": {\n        \"status\": \"accepted\",\n        \"amount_requested\": 10000,\n        \"amount_authorized\": 7500,\n        \"amount_charged\": 7500,\n        \"product_id\": \"prod_12345\"\n      },\n      \"name\": \"John Smith\",\n      \"issuer\": \"Chase Bank\"\n    },\n    \"cashapp\": {\n      \"cashtag\": \"$acmecustomer\",\n      \"name\": \"Jenny Rosen\"\n    },\n    \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n    \"setup_future_usage\": \"on_session\"\n  },\n  \"payment_method_options\": {\n    \"card\": {\n      \"security_checks\": {\n        \"address_line1_check\": true,\n        \"address_postal_code_check\": true,\n        \"cvv_check\": true\n      }\n    }\n  },\n  \"refunded\": false,\n  \"refunds\": {\n    \"data\": [\n      {\n        \"id\": \"rfnd_296645958265997314\",\n        \"resource\": \"refund\",\n        \"amount\": 10000,\n        \"amount_human_readable\": \"100.00\",\n        \"charge\": \"chrg_296645958265997312\",\n        \"created\": \"2024-01-15T10:30:00Z\",\n        \"currency\": \"usd\",\n        \"customer\": \"cust_296645958265997317\",\n        \"customer_reference_id\": \"cust_ext_abc123\",\n        \"metadata\": {},\n        \"reference\": \"refund_order_12345\",\n        \"status\": \"succeeded\",\n        \"failure_code\": \"string\",\n        \"failure_message\": \"string\",\n        \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n        \"test_mode\": true,\n        \"underlying_network_id\": \"123456789012345\",\n        \"underlying_network_details\": {\n          \"network\": \"visa\",\n          \"visa\": {\n            \"arn\": \"74234567890123456789012\",\n            \"auth_code\": \"123456\",\n            \"raw_response_code\": \"00\",\n            \"rrn\": \"123456789012\",\n            \"eci\": \"05\",\n            \"aci\": \"Y\",\n            \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n          }\n        },\n        \"underlying_processing_details\": {\n          \"processor\": \"stripe\",\n          \"transaction_id\": \"pi_abc123xyz789\",\n          \"settlement_account\": \"sa_296645958265997349\",\n          \"settlement_account_details\": {\n            \"processor\": \"pay_com\",\n            \"currency\": \"usd\",\n            \"name\": \"Main Settlement Account\",\n            \"entity\": \"ent_296645958265997359\",\n            \"entity_details\": {\n              \"legal_name\": \"ACME Corp\",\n              \"country\": \"US\"\n            }\n          }\n        },\n        \"risk_assessment_details\": {\n          \"outcome\": \"allow\",\n          \"outcome_source\": \"score\",\n          \"rule_id\": \"rl_296645958265997337\",\n          \"rules_id\": [\n            \"rl_296645958265997337\"\n          ],\n          \"score\": \"31\",\n          \"flags\": [\n            \"no_correlation_history\",\n            \"multiple_identities_billing\",\n            \"multiple_identities_card\",\n            \"free_email_provider\",\n            \"risky_billing_time\",\n            \"velocity_multiple_addresses\",\n            \"velocity_multiple_names\"\n          ]\n        },\n        \"receipt\": null,\n        \"tax_details\": {\n          \"amount_total\": 825,\n          \"tax_behavior\": \"exclusive\",\n          \"tax_quote\": \"txq_296645958265997339\",\n          \"effective_tax_rate\": \"8.25\",\n          \"tax_transaction\": null\n        }\n      },\n      {\n        \"id\": \"rfnd_296645958265997314\",\n        \"resource\": \"refund\",\n        \"amount\": 10000,\n        \"amount_human_readable\": \"100.00\",\n        \"charge\": \"chrg_296645958265997312\",\n        \"created\": \"2024-01-15T10:30:00Z\",\n        \"currency\": \"usd\",\n        \"customer\": \"cust_296645958265997317\",\n        \"customer_reference_id\": \"cust_ext_abc123\",\n        \"metadata\": {},\n        \"reference\": \"refund_order_12345\",\n        \"status\": \"succeeded\",\n        \"failure_code\": \"string\",\n        \"failure_message\": \"string\",\n        \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n        \"test_mode\": false,\n        \"underlying_network_id\": \"123456789012345\",\n        \"underlying_network_details\": {\n          \"network\": \"visa\",\n          \"visa\": {\n            \"arn\": \"74234567890123456789012\",\n            \"auth_code\": \"123456\",\n            \"raw_response_code\": \"00\",\n            \"rrn\": \"123456789012\",\n            \"eci\": \"05\",\n            \"aci\": \"Y\",\n            \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n          }\n        },\n        \"underlying_processing_details\": {\n          \"processor\": \"stripe\",\n          \"transaction_id\": \"pi_abc123xyz789\",\n          \"settlement_account\": \"sa_296645958265997349\",\n          \"settlement_account_details\": {\n            \"processor\": \"pay_com\",\n            \"currency\": \"usd\",\n            \"name\": \"Main Settlement Account\",\n            \"entity\": \"ent_296645958265997359\",\n            \"entity_details\": {\n              \"legal_name\": \"ACME Corp\",\n              \"country\": \"US\"\n            }\n          }\n        },\n        \"risk_assessment_details\": {\n          \"outcome\": \"allow\",\n          \"outcome_source\": \"score\",\n          \"rule_id\": \"rl_296645958265997337\",\n          \"rules_id\": [\n            \"rl_296645958265997337\"\n          ],\n          \"score\": \"31\",\n          \"flags\": [\n            \"no_correlation_history\",\n            \"multiple_identities_billing\",\n            \"multiple_identities_card\",\n            \"free_email_provider\",\n            \"risky_billing_time\",\n            \"velocity_multiple_addresses\",\n            \"velocity_multiple_names\"\n          ]\n        },\n        \"receipt\": null,\n        \"tax_details\": {\n          \"amount_total\": 825,\n          \"tax_behavior\": \"exclusive\",\n          \"tax_quote\": \"txq_296645958265997339\",\n          \"effective_tax_rate\": \"8.25\",\n          \"tax_transaction\": null\n        }\n      }\n    ],\n    \"url\": \"/v1/charges/chrg_296645958265997312/refunds\"\n  },\n  \"reference\": \"order_12345\",\n  \"shipping\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"phone\": \"+14155551234\"\n  },\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"status\": \"blocked\",\n  \"underlying_network_details\": {\n    \"network\": \"visa\",\n    \"visa\": {\n      \"arn\": \"74234567890123456789012\",\n      \"auth_code\": \"123456\",\n      \"raw_response_code\": \"00\",\n      \"rrn\": \"123456789012\",\n      \"eci\": \"05\",\n      \"aci\": \"Y\",\n      \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n    }\n  },\n  \"underlying_network_id\": \"123456789012345\",\n  \"risk_assessment_details\": {\n    \"outcome\": \"allow\",\n    \"outcome_source\": \"score\",\n    \"rule_id\": \"rl_296645958265997337\",\n    \"rules_id\": [\n      \"rl_296645958265997337\"\n    ],\n    \"score\": \"31\",\n    \"flags\": [\n      \"no_correlation_history\",\n      \"multiple_identities_billing\",\n      \"multiple_identities_card\",\n      \"free_email_provider\",\n      \"risky_billing_time\",\n      \"velocity_multiple_addresses\",\n      \"velocity_multiple_names\"\n    ]\n  },\n  \"test_mode\": false,\n  \"receipt\": null,\n  \"underlying_processing_details\": {\n    \"processor\": \"stripe\",\n    \"transaction_id\": \"pi_abc123xyz789\",\n    \"settlement_account\": \"sa_296645958265997349\",\n    \"settlement_account_details\": {\n      \"processor\": \"pay_com\",\n      \"currency\": \"usd\",\n      \"name\": \"Main Settlement Account\",\n      \"entity\": \"ent_296645958265997359\",\n      \"entity_details\": {\n        \"legal_name\": \"ACME Corp\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"tax_details\": {\n    \"amount_total\": 825,\n    \"tax_behavior\": \"exclusive\",\n    \"tax_quote\": \"txq_296645958265997339\",\n    \"effective_tax_rate\": \"8.25\",\n    \"tax_transaction\": null\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"03c88046-804f-5ebf-83cc-6866c4f84c16","name":"Invalid request parameters.","originalRequest":{"url":{"path":["charges","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"order_12345","key":"reference_id","description":"(Required) The unique reference that was provided when the charge was created."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"09f250b5-73ba-5030-9d72-dbdeb59ca635","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["charges","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"order_12345","key":"reference_id","description":"(Required) The unique reference that was provided when the charge was created."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"37eff975-eb5d-5349-907c-7a182f4c3009","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["charges","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"order_12345","key":"reference_id","description":"(Required) The unique reference that was provided when the charge was created."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f537daf3-f2ac-5528-89a1-3d5a9ed7af87","name":"Charge not found.","originalRequest":{"url":{"path":["charges","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"order_12345","key":"reference_id","description":"(Required) The unique reference that was provided when the charge was created."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"847288d6-7939-5fcc-a389-10ff5dd4b73f","name":"Internal server error.","originalRequest":{"url":{"path":["charges","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"order_12345","key":"reference_id","description":"(Required) The unique reference that was provided when the charge was created."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"51e0aa1f-dc95-5461-ba99-4226a0fe876d","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["charges","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"order_12345","key":"reference_id","description":"(Required) The unique reference that was provided when the charge was created."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"61e6ba57-8f08-587a-8c1a-ea0fd53b5527","name":"Retrieve a charge","request":{"name":"Retrieve a charge","description":{"content":"Retrieves the details of a charge.","type":"text/plain"},"url":{"path":["charges",":transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"8aa4357e-7fb1-5e9b-9de2-72f10272466d","name":"Returns the charge object.","originalRequest":{"url":{"path":["charges",":transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"chrg_296645958265997312\",\n  \"resource\": \"charge\",\n  \"amount\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"amount_refunded\": 0,\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"calculated_statement_descriptor\": \"ACME * ACME STORE\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"currency\": \"usd\",\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"cashflow_transaction\": \"cflw_tx_296645958265997312\",\n  \"description\": \"Payment for Order #12345\",\n  \"disputed\": false,\n  \"failure_code\": \"string\",\n  \"failure_message\": \"string\",\n  \"metadata\": {},\n  \"paid\": true,\n  \"payment_session\": \"ps_296645958265997318\",\n  \"hold\": \"string\",\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"fraud\": true,\n  \"retry_attempts\": [\n    {\n      \"id\": \"rtratt_296645958265997312_1_1\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"type\": \"fallback\",\n      \"failure_code\": \"card_declined\",\n      \"failure_message\": \"The card was declined.\",\n      \"underlying_network_details\": {\n        \"network\": \"visa\",\n        \"visa\": {\n          \"arn\": \"74234567890123456789012\",\n          \"auth_code\": \"123456\",\n          \"raw_response_code\": \"00\",\n          \"rrn\": \"123456789012\",\n          \"eci\": \"05\",\n          \"aci\": \"Y\",\n          \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n        }\n      },\n      \"underlying_network_id\": \"74234567890123456789012\",\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      },\n      \"payment_method_options\": {\n        \"card\": {\n          \"security_checks\": {\n            \"address_line1_check\": true,\n            \"address_postal_code_check\": true,\n            \"cvv_check\": true\n          }\n        }\n      }\n    },\n    {\n      \"id\": \"rtratt_296645958265997312_1_1\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"type\": \"fallback\",\n      \"failure_code\": \"card_declined\",\n      \"failure_message\": \"The card was declined.\",\n      \"underlying_network_details\": {\n        \"network\": \"visa\",\n        \"visa\": {\n          \"arn\": \"74234567890123456789012\",\n          \"auth_code\": \"123456\",\n          \"raw_response_code\": \"00\",\n          \"rrn\": \"123456789012\",\n          \"eci\": \"05\",\n          \"aci\": \"Y\",\n          \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n        }\n      },\n      \"underlying_network_id\": \"74234567890123456789012\",\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      },\n      \"payment_method_options\": {\n        \"card\": {\n          \"security_checks\": {\n            \"address_line1_check\": true,\n            \"address_postal_code_check\": true,\n            \"cvv_check\": true\n          }\n        }\n      }\n    }\n  ],\n  \"payment_method_details\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"bin\": \"424242\",\n      \"brand\": \"visa\",\n      \"cardholder_currency\": \"usd\",\n      \"country\": \"US\",\n      \"exp_month\": \"12\",\n      \"exp_year\": \"2028\",\n      \"fingerprint\": \"fp_abc123xyz789\",\n      \"funding\": \"prepaid\",\n      \"last4\": \"4242\",\n      \"network\": \"visa\",\n      \"category\": \"business\",\n      \"security_checks\": {\n        \"address_line1_check\": \"unavailable\",\n        \"address_postal_code_check\": \"unavailable\",\n        \"cvc_check\": \"pass\"\n      },\n      \"wallet\": {\n        \"type\": \"googlepay\",\n        \"googlepay\": {\n          \"type\": \"cryptogram_3ds\",\n          \"physical_card_last4\": \"4242\"\n        },\n        \"applepay\": {\n          \"physical_card_last4\": \"4242\"\n        },\n        \"ctp\": {\n          \"physical_card_last4\": \"string\",\n          \"physical_card_bin\": \"string\",\n          \"physical_card_exp_month\": \"string\",\n          \"physical_card_exp_year\": \"string\"\n        }\n      },\n      \"token\": \"tok_card_296645958265997326\",\n      \"three_d_secure\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"version\": \"2.2.0\",\n        \"eci\": \"05\",\n        \"cardholder_info\": \"string\",\n        \"liability_shift\": true\n      },\n      \"three_ds\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"status_reason\": \"string\",\n        \"protocol_version\": \"2.2.0\",\n        \"eci\": \"02\",\n        \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n        \"liability_shift\": true,\n        \"cardholder_info\": \"string\",\n        \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n        \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n        \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n        \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n        \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n      },\n      \"payout\": \"not_available\",\n      \"name_verification\": \"match\",\n      \"partial_approval\": {\n        \"status\": \"accepted\",\n        \"amount_requested\": 10000,\n        \"amount_authorized\": 7500,\n        \"amount_charged\": 7500,\n        \"product_id\": \"prod_12345\"\n      },\n      \"name\": \"John Smith\",\n      \"issuer\": \"Chase Bank\"\n    },\n    \"cashapp\": {\n      \"cashtag\": \"$acmecustomer\",\n      \"name\": \"Jenny Rosen\"\n    },\n    \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n    \"setup_future_usage\": \"on_session\"\n  },\n  \"payment_method_options\": {\n    \"card\": {\n      \"security_checks\": {\n        \"address_line1_check\": true,\n        \"address_postal_code_check\": true,\n        \"cvv_check\": true\n      }\n    }\n  },\n  \"refunded\": false,\n  \"refunds\": {\n    \"data\": [\n      {\n        \"id\": \"rfnd_296645958265997314\",\n        \"resource\": \"refund\",\n        \"amount\": 10000,\n        \"amount_human_readable\": \"100.00\",\n        \"charge\": \"chrg_296645958265997312\",\n        \"created\": \"2024-01-15T10:30:00Z\",\n        \"currency\": \"usd\",\n        \"customer\": \"cust_296645958265997317\",\n        \"customer_reference_id\": \"cust_ext_abc123\",\n        \"metadata\": {},\n        \"reference\": \"refund_order_12345\",\n        \"status\": \"succeeded\",\n        \"failure_code\": \"string\",\n        \"failure_message\": \"string\",\n        \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n        \"test_mode\": true,\n        \"underlying_network_id\": \"123456789012345\",\n        \"underlying_network_details\": {\n          \"network\": \"visa\",\n          \"visa\": {\n            \"arn\": \"74234567890123456789012\",\n            \"auth_code\": \"123456\",\n            \"raw_response_code\": \"00\",\n            \"rrn\": \"123456789012\",\n            \"eci\": \"05\",\n            \"aci\": \"Y\",\n            \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n          }\n        },\n        \"underlying_processing_details\": {\n          \"processor\": \"stripe\",\n          \"transaction_id\": \"pi_abc123xyz789\",\n          \"settlement_account\": \"sa_296645958265997349\",\n          \"settlement_account_details\": {\n            \"processor\": \"pay_com\",\n            \"currency\": \"usd\",\n            \"name\": \"Main Settlement Account\",\n            \"entity\": \"ent_296645958265997359\",\n            \"entity_details\": {\n              \"legal_name\": \"ACME Corp\",\n              \"country\": \"US\"\n            }\n          }\n        },\n        \"risk_assessment_details\": {\n          \"outcome\": \"allow\",\n          \"outcome_source\": \"score\",\n          \"rule_id\": \"rl_296645958265997337\",\n          \"rules_id\": [\n            \"rl_296645958265997337\"\n          ],\n          \"score\": \"31\",\n          \"flags\": [\n            \"no_correlation_history\",\n            \"multiple_identities_billing\",\n            \"multiple_identities_card\",\n            \"free_email_provider\",\n            \"risky_billing_time\",\n            \"velocity_multiple_addresses\",\n            \"velocity_multiple_names\"\n          ]\n        },\n        \"receipt\": null,\n        \"tax_details\": {\n          \"amount_total\": 825,\n          \"tax_behavior\": \"exclusive\",\n          \"tax_quote\": \"txq_296645958265997339\",\n          \"effective_tax_rate\": \"8.25\",\n          \"tax_transaction\": null\n        }\n      },\n      {\n        \"id\": \"rfnd_296645958265997314\",\n        \"resource\": \"refund\",\n        \"amount\": 10000,\n        \"amount_human_readable\": \"100.00\",\n        \"charge\": \"chrg_296645958265997312\",\n        \"created\": \"2024-01-15T10:30:00Z\",\n        \"currency\": \"usd\",\n        \"customer\": \"cust_296645958265997317\",\n        \"customer_reference_id\": \"cust_ext_abc123\",\n        \"metadata\": {},\n        \"reference\": \"refund_order_12345\",\n        \"status\": \"succeeded\",\n        \"failure_code\": \"string\",\n        \"failure_message\": \"string\",\n        \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n        \"test_mode\": false,\n        \"underlying_network_id\": \"123456789012345\",\n        \"underlying_network_details\": {\n          \"network\": \"visa\",\n          \"visa\": {\n            \"arn\": \"74234567890123456789012\",\n            \"auth_code\": \"123456\",\n            \"raw_response_code\": \"00\",\n            \"rrn\": \"123456789012\",\n            \"eci\": \"05\",\n            \"aci\": \"Y\",\n            \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n          }\n        },\n        \"underlying_processing_details\": {\n          \"processor\": \"stripe\",\n          \"transaction_id\": \"pi_abc123xyz789\",\n          \"settlement_account\": \"sa_296645958265997349\",\n          \"settlement_account_details\": {\n            \"processor\": \"pay_com\",\n            \"currency\": \"usd\",\n            \"name\": \"Main Settlement Account\",\n            \"entity\": \"ent_296645958265997359\",\n            \"entity_details\": {\n              \"legal_name\": \"ACME Corp\",\n              \"country\": \"US\"\n            }\n          }\n        },\n        \"risk_assessment_details\": {\n          \"outcome\": \"allow\",\n          \"outcome_source\": \"score\",\n          \"rule_id\": \"rl_296645958265997337\",\n          \"rules_id\": [\n            \"rl_296645958265997337\"\n          ],\n          \"score\": \"31\",\n          \"flags\": [\n            \"no_correlation_history\",\n            \"multiple_identities_billing\",\n            \"multiple_identities_card\",\n            \"free_email_provider\",\n            \"risky_billing_time\",\n            \"velocity_multiple_addresses\",\n            \"velocity_multiple_names\"\n          ]\n        },\n        \"receipt\": null,\n        \"tax_details\": {\n          \"amount_total\": 825,\n          \"tax_behavior\": \"exclusive\",\n          \"tax_quote\": \"txq_296645958265997339\",\n          \"effective_tax_rate\": \"8.25\",\n          \"tax_transaction\": null\n        }\n      }\n    ],\n    \"url\": \"/v1/charges/chrg_296645958265997312/refunds\"\n  },\n  \"reference\": \"order_12345\",\n  \"shipping\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"phone\": \"+14155551234\"\n  },\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"status\": \"blocked\",\n  \"underlying_network_details\": {\n    \"network\": \"visa\",\n    \"visa\": {\n      \"arn\": \"74234567890123456789012\",\n      \"auth_code\": \"123456\",\n      \"raw_response_code\": \"00\",\n      \"rrn\": \"123456789012\",\n      \"eci\": \"05\",\n      \"aci\": \"Y\",\n      \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n    }\n  },\n  \"underlying_network_id\": \"123456789012345\",\n  \"risk_assessment_details\": {\n    \"outcome\": \"allow\",\n    \"outcome_source\": \"score\",\n    \"rule_id\": \"rl_296645958265997337\",\n    \"rules_id\": [\n      \"rl_296645958265997337\"\n    ],\n    \"score\": \"31\",\n    \"flags\": [\n      \"no_correlation_history\",\n      \"multiple_identities_billing\",\n      \"multiple_identities_card\",\n      \"free_email_provider\",\n      \"risky_billing_time\",\n      \"velocity_multiple_addresses\",\n      \"velocity_multiple_names\"\n    ]\n  },\n  \"test_mode\": false,\n  \"receipt\": null,\n  \"underlying_processing_details\": {\n    \"processor\": \"stripe\",\n    \"transaction_id\": \"pi_abc123xyz789\",\n    \"settlement_account\": \"sa_296645958265997349\",\n    \"settlement_account_details\": {\n      \"processor\": \"pay_com\",\n      \"currency\": \"usd\",\n      \"name\": \"Main Settlement Account\",\n      \"entity\": \"ent_296645958265997359\",\n      \"entity_details\": {\n        \"legal_name\": \"ACME Corp\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"tax_details\": {\n    \"amount_total\": 825,\n    \"tax_behavior\": \"exclusive\",\n    \"tax_quote\": \"txq_296645958265997339\",\n    \"effective_tax_rate\": \"8.25\",\n    \"tax_transaction\": null\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"87f58c37-d12a-5523-87b3-b9e411e24667","name":"Invalid request parameters.","originalRequest":{"url":{"path":["charges",":transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4a4a7c9c-f2ca-5c77-afd3-6fd03976c775","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["charges",":transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2288500c-8b02-51f3-8dfd-33039f093432","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["charges",":transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"da398d71-1152-576f-baf1-5ce37ca945c2","name":"Charge not found.","originalRequest":{"url":{"path":["charges",":transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"573189f7-9185-5c61-a5af-3f64820aef9b","name":"Internal server error.","originalRequest":{"url":{"path":["charges",":transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bf5b1278-afae-555f-b918-89ea637bc637","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["charges",":transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"f3c313df-e55f-5943-acc3-898ef534c0ba","name":"Update a charge","request":{"name":"Update a charge","description":{"content":"Updates the `description`, `reference` or `metadata` of a charge. Fields you do not send are left unchanged. Fields cannot be cleared: empty values are rejected or ignored.\n\nThis operation is not idempotent: an `idempotency-key` header is ignored.","type":"text/plain"},"url":{"path":["charges",":transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":null,"body":{"mode":"raw","raw":"{\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"54f03cb0-eacc-5999-8533-15ba36859bfc","name":"Returns the updated charge object.","originalRequest":{"url":{"path":["charges",":transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"chrg_296645958265997312\",\n  \"resource\": \"charge\",\n  \"amount\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"amount_refunded\": 0,\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"calculated_statement_descriptor\": \"ACME * ACME STORE\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"currency\": \"usd\",\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"cashflow_transaction\": \"cflw_tx_296645958265997312\",\n  \"description\": \"Payment for Order #12345\",\n  \"disputed\": false,\n  \"failure_code\": \"string\",\n  \"failure_message\": \"string\",\n  \"metadata\": {},\n  \"paid\": true,\n  \"payment_session\": \"ps_296645958265997318\",\n  \"hold\": \"string\",\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"fraud\": true,\n  \"retry_attempts\": [\n    {\n      \"id\": \"rtratt_296645958265997312_1_1\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"type\": \"fallback\",\n      \"failure_code\": \"card_declined\",\n      \"failure_message\": \"The card was declined.\",\n      \"underlying_network_details\": {\n        \"network\": \"visa\",\n        \"visa\": {\n          \"arn\": \"74234567890123456789012\",\n          \"auth_code\": \"123456\",\n          \"raw_response_code\": \"00\",\n          \"rrn\": \"123456789012\",\n          \"eci\": \"05\",\n          \"aci\": \"Y\",\n          \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n        }\n      },\n      \"underlying_network_id\": \"74234567890123456789012\",\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      },\n      \"payment_method_options\": {\n        \"card\": {\n          \"security_checks\": {\n            \"address_line1_check\": true,\n            \"address_postal_code_check\": true,\n            \"cvv_check\": true\n          }\n        }\n      }\n    },\n    {\n      \"id\": \"rtratt_296645958265997312_1_1\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"type\": \"fallback\",\n      \"failure_code\": \"card_declined\",\n      \"failure_message\": \"The card was declined.\",\n      \"underlying_network_details\": {\n        \"network\": \"visa\",\n        \"visa\": {\n          \"arn\": \"74234567890123456789012\",\n          \"auth_code\": \"123456\",\n          \"raw_response_code\": \"00\",\n          \"rrn\": \"123456789012\",\n          \"eci\": \"05\",\n          \"aci\": \"Y\",\n          \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n        }\n      },\n      \"underlying_network_id\": \"74234567890123456789012\",\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      },\n      \"payment_method_options\": {\n        \"card\": {\n          \"security_checks\": {\n            \"address_line1_check\": true,\n            \"address_postal_code_check\": true,\n            \"cvv_check\": true\n          }\n        }\n      }\n    }\n  ],\n  \"payment_method_details\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"bin\": \"424242\",\n      \"brand\": \"visa\",\n      \"cardholder_currency\": \"usd\",\n      \"country\": \"US\",\n      \"exp_month\": \"12\",\n      \"exp_year\": \"2028\",\n      \"fingerprint\": \"fp_abc123xyz789\",\n      \"funding\": \"prepaid\",\n      \"last4\": \"4242\",\n      \"network\": \"visa\",\n      \"category\": \"business\",\n      \"security_checks\": {\n        \"address_line1_check\": \"unavailable\",\n        \"address_postal_code_check\": \"unavailable\",\n        \"cvc_check\": \"pass\"\n      },\n      \"wallet\": {\n        \"type\": \"googlepay\",\n        \"googlepay\": {\n          \"type\": \"cryptogram_3ds\",\n          \"physical_card_last4\": \"4242\"\n        },\n        \"applepay\": {\n          \"physical_card_last4\": \"4242\"\n        },\n        \"ctp\": {\n          \"physical_card_last4\": \"string\",\n          \"physical_card_bin\": \"string\",\n          \"physical_card_exp_month\": \"string\",\n          \"physical_card_exp_year\": \"string\"\n        }\n      },\n      \"token\": \"tok_card_296645958265997326\",\n      \"three_d_secure\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"version\": \"2.2.0\",\n        \"eci\": \"05\",\n        \"cardholder_info\": \"string\",\n        \"liability_shift\": true\n      },\n      \"three_ds\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"status_reason\": \"string\",\n        \"protocol_version\": \"2.2.0\",\n        \"eci\": \"02\",\n        \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n        \"liability_shift\": true,\n        \"cardholder_info\": \"string\",\n        \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n        \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n        \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n        \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n        \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n      },\n      \"payout\": \"not_available\",\n      \"name_verification\": \"match\",\n      \"partial_approval\": {\n        \"status\": \"accepted\",\n        \"amount_requested\": 10000,\n        \"amount_authorized\": 7500,\n        \"amount_charged\": 7500,\n        \"product_id\": \"prod_12345\"\n      },\n      \"name\": \"John Smith\",\n      \"issuer\": \"Chase Bank\"\n    },\n    \"cashapp\": {\n      \"cashtag\": \"$acmecustomer\",\n      \"name\": \"Jenny Rosen\"\n    },\n    \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n    \"setup_future_usage\": \"on_session\"\n  },\n  \"payment_method_options\": {\n    \"card\": {\n      \"security_checks\": {\n        \"address_line1_check\": true,\n        \"address_postal_code_check\": true,\n        \"cvv_check\": true\n      }\n    }\n  },\n  \"refunded\": false,\n  \"refunds\": {\n    \"data\": [\n      {\n        \"id\": \"rfnd_296645958265997314\",\n        \"resource\": \"refund\",\n        \"amount\": 10000,\n        \"amount_human_readable\": \"100.00\",\n        \"charge\": \"chrg_296645958265997312\",\n        \"created\": \"2024-01-15T10:30:00Z\",\n        \"currency\": \"usd\",\n        \"customer\": \"cust_296645958265997317\",\n        \"customer_reference_id\": \"cust_ext_abc123\",\n        \"metadata\": {},\n        \"reference\": \"refund_order_12345\",\n        \"status\": \"succeeded\",\n        \"failure_code\": \"string\",\n        \"failure_message\": \"string\",\n        \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n        \"test_mode\": true,\n        \"underlying_network_id\": \"123456789012345\",\n        \"underlying_network_details\": {\n          \"network\": \"visa\",\n          \"visa\": {\n            \"arn\": \"74234567890123456789012\",\n            \"auth_code\": \"123456\",\n            \"raw_response_code\": \"00\",\n            \"rrn\": \"123456789012\",\n            \"eci\": \"05\",\n            \"aci\": \"Y\",\n            \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n          }\n        },\n        \"underlying_processing_details\": {\n          \"processor\": \"stripe\",\n          \"transaction_id\": \"pi_abc123xyz789\",\n          \"settlement_account\": \"sa_296645958265997349\",\n          \"settlement_account_details\": {\n            \"processor\": \"pay_com\",\n            \"currency\": \"usd\",\n            \"name\": \"Main Settlement Account\",\n            \"entity\": \"ent_296645958265997359\",\n            \"entity_details\": {\n              \"legal_name\": \"ACME Corp\",\n              \"country\": \"US\"\n            }\n          }\n        },\n        \"risk_assessment_details\": {\n          \"outcome\": \"allow\",\n          \"outcome_source\": \"score\",\n          \"rule_id\": \"rl_296645958265997337\",\n          \"rules_id\": [\n            \"rl_296645958265997337\"\n          ],\n          \"score\": \"31\",\n          \"flags\": [\n            \"no_correlation_history\",\n            \"multiple_identities_billing\",\n            \"multiple_identities_card\",\n            \"free_email_provider\",\n            \"risky_billing_time\",\n            \"velocity_multiple_addresses\",\n            \"velocity_multiple_names\"\n          ]\n        },\n        \"receipt\": null,\n        \"tax_details\": {\n          \"amount_total\": 825,\n          \"tax_behavior\": \"exclusive\",\n          \"tax_quote\": \"txq_296645958265997339\",\n          \"effective_tax_rate\": \"8.25\",\n          \"tax_transaction\": null\n        }\n      },\n      {\n        \"id\": \"rfnd_296645958265997314\",\n        \"resource\": \"refund\",\n        \"amount\": 10000,\n        \"amount_human_readable\": \"100.00\",\n        \"charge\": \"chrg_296645958265997312\",\n        \"created\": \"2024-01-15T10:30:00Z\",\n        \"currency\": \"usd\",\n        \"customer\": \"cust_296645958265997317\",\n        \"customer_reference_id\": \"cust_ext_abc123\",\n        \"metadata\": {},\n        \"reference\": \"refund_order_12345\",\n        \"status\": \"succeeded\",\n        \"failure_code\": \"string\",\n        \"failure_message\": \"string\",\n        \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n        \"test_mode\": false,\n        \"underlying_network_id\": \"123456789012345\",\n        \"underlying_network_details\": {\n          \"network\": \"visa\",\n          \"visa\": {\n            \"arn\": \"74234567890123456789012\",\n            \"auth_code\": \"123456\",\n            \"raw_response_code\": \"00\",\n            \"rrn\": \"123456789012\",\n            \"eci\": \"05\",\n            \"aci\": \"Y\",\n            \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n          }\n        },\n        \"underlying_processing_details\": {\n          \"processor\": \"stripe\",\n          \"transaction_id\": \"pi_abc123xyz789\",\n          \"settlement_account\": \"sa_296645958265997349\",\n          \"settlement_account_details\": {\n            \"processor\": \"pay_com\",\n            \"currency\": \"usd\",\n            \"name\": \"Main Settlement Account\",\n            \"entity\": \"ent_296645958265997359\",\n            \"entity_details\": {\n              \"legal_name\": \"ACME Corp\",\n              \"country\": \"US\"\n            }\n          }\n        },\n        \"risk_assessment_details\": {\n          \"outcome\": \"allow\",\n          \"outcome_source\": \"score\",\n          \"rule_id\": \"rl_296645958265997337\",\n          \"rules_id\": [\n            \"rl_296645958265997337\"\n          ],\n          \"score\": \"31\",\n          \"flags\": [\n            \"no_correlation_history\",\n            \"multiple_identities_billing\",\n            \"multiple_identities_card\",\n            \"free_email_provider\",\n            \"risky_billing_time\",\n            \"velocity_multiple_addresses\",\n            \"velocity_multiple_names\"\n          ]\n        },\n        \"receipt\": null,\n        \"tax_details\": {\n          \"amount_total\": 825,\n          \"tax_behavior\": \"exclusive\",\n          \"tax_quote\": \"txq_296645958265997339\",\n          \"effective_tax_rate\": \"8.25\",\n          \"tax_transaction\": null\n        }\n      }\n    ],\n    \"url\": \"/v1/charges/chrg_296645958265997312/refunds\"\n  },\n  \"reference\": \"order_12345\",\n  \"shipping\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"phone\": \"+14155551234\"\n  },\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"status\": \"blocked\",\n  \"underlying_network_details\": {\n    \"network\": \"visa\",\n    \"visa\": {\n      \"arn\": \"74234567890123456789012\",\n      \"auth_code\": \"123456\",\n      \"raw_response_code\": \"00\",\n      \"rrn\": \"123456789012\",\n      \"eci\": \"05\",\n      \"aci\": \"Y\",\n      \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n    }\n  },\n  \"underlying_network_id\": \"123456789012345\",\n  \"risk_assessment_details\": {\n    \"outcome\": \"allow\",\n    \"outcome_source\": \"score\",\n    \"rule_id\": \"rl_296645958265997337\",\n    \"rules_id\": [\n      \"rl_296645958265997337\"\n    ],\n    \"score\": \"31\",\n    \"flags\": [\n      \"no_correlation_history\",\n      \"multiple_identities_billing\",\n      \"multiple_identities_card\",\n      \"free_email_provider\",\n      \"risky_billing_time\",\n      \"velocity_multiple_addresses\",\n      \"velocity_multiple_names\"\n    ]\n  },\n  \"test_mode\": false,\n  \"receipt\": null,\n  \"underlying_processing_details\": {\n    \"processor\": \"stripe\",\n    \"transaction_id\": \"pi_abc123xyz789\",\n    \"settlement_account\": \"sa_296645958265997349\",\n    \"settlement_account_details\": {\n      \"processor\": \"pay_com\",\n      \"currency\": \"usd\",\n      \"name\": \"Main Settlement Account\",\n      \"entity\": \"ent_296645958265997359\",\n      \"entity_details\": {\n        \"legal_name\": \"ACME Corp\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"tax_details\": {\n    \"amount_total\": 825,\n    \"tax_behavior\": \"exclusive\",\n    \"tax_quote\": \"txq_296645958265997339\",\n    \"effective_tax_rate\": \"8.25\",\n    \"tax_transaction\": null\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1cf0b2cc-01e2-5833-88ec-2a60203dec88","name":"Invalid request parameters.","originalRequest":{"url":{"path":["charges",":transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"65d46f48-d87d-5a9e-b896-35b75dd0b2b9","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["charges",":transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cb48ba9b-411d-5b92-ab1b-0cf7ed3d2324","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["charges",":transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3b4fb1ef-4c5b-5e24-add7-236843c344c2","name":"Charge not found.","originalRequest":{"url":{"path":["charges",":transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1b8b72b6-fbc9-53c0-89f2-84bc418984be","name":"Internal server error.","originalRequest":{"url":{"path":["charges",":transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"51cfe0ed-6711-5650-a978-639ca2af0ebb","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["charges",":transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"description\": \"Payment for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"8ec7d6c0-2830-5c72-b9c0-8e9103d9656e","name":"Refund a charge","request":{"name":"Refund a charge","description":{"content":"Refunds a charge, in full or in part, to the payment method that was used. The charge is taken from the path.\n\nA refund that is declined or blocked is still created, but the response is HTTP 400 with an error of type `payment_method_error` that includes the refund ID.","type":"text/plain"},"url":{"path":["charges",":transaction_id","refund"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"amount_to_refund\": 10000,\n  \"reference\": \"refund_order_12345\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"e2b61326-3341-59cd-b5c3-0e2ba1f0a65a","name":"Returns the created refund object.","originalRequest":{"url":{"path":["charges",":transaction_id","refund"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount_to_refund\": 10000,\n  \"reference\": \"refund_order_12345\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"rfnd_296645958265997314\",\n  \"resource\": \"refund\",\n  \"amount\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"charge\": \"chrg_296645958265997312\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"currency\": \"usd\",\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"metadata\": {},\n  \"reference\": \"refund_order_12345\",\n  \"status\": \"succeeded\",\n  \"failure_code\": \"string\",\n  \"failure_message\": \"string\",\n  \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n  \"test_mode\": false,\n  \"underlying_network_id\": \"123456789012345\",\n  \"underlying_network_details\": {\n    \"network\": \"visa\",\n    \"visa\": {\n      \"arn\": \"74234567890123456789012\",\n      \"auth_code\": \"123456\",\n      \"raw_response_code\": \"00\",\n      \"rrn\": \"123456789012\",\n      \"eci\": \"05\",\n      \"aci\": \"Y\",\n      \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n    }\n  },\n  \"underlying_processing_details\": {\n    \"processor\": \"stripe\",\n    \"transaction_id\": \"pi_abc123xyz789\",\n    \"settlement_account\": \"sa_296645958265997349\",\n    \"settlement_account_details\": {\n      \"processor\": \"pay_com\",\n      \"currency\": \"usd\",\n      \"name\": \"Main Settlement Account\",\n      \"entity\": \"ent_296645958265997359\",\n      \"entity_details\": {\n        \"legal_name\": \"ACME Corp\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"risk_assessment_details\": {\n    \"outcome\": \"allow\",\n    \"outcome_source\": \"score\",\n    \"rule_id\": \"rl_296645958265997337\",\n    \"rules_id\": [\n      \"rl_296645958265997337\"\n    ],\n    \"score\": \"31\",\n    \"flags\": [\n      \"no_correlation_history\",\n      \"multiple_identities_billing\",\n      \"multiple_identities_card\",\n      \"free_email_provider\",\n      \"risky_billing_time\",\n      \"velocity_multiple_addresses\",\n      \"velocity_multiple_names\"\n    ]\n  },\n  \"receipt\": null,\n  \"tax_details\": {\n    \"amount_total\": 825,\n    \"tax_behavior\": \"exclusive\",\n    \"tax_quote\": \"txq_296645958265997339\",\n    \"effective_tax_rate\": \"8.25\",\n    \"tax_transaction\": null\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"080496cc-edf9-52d6-a9d3-485cbf5f229e","name":"Invalid request parameters, or the refund was declined or blocked (`payment_method_error`).","originalRequest":{"url":{"path":["charges",":transaction_id","refund"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount_to_refund\": 10000,\n  \"reference\": \"refund_order_12345\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fe32aca8-6fe6-5153-b550-fb8c13a4797d","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["charges",":transaction_id","refund"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount_to_refund\": 10000,\n  \"reference\": \"refund_order_12345\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0be9b9d0-6d9e-5185-9120-1c8f7f8a13a6","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["charges",":transaction_id","refund"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount_to_refund\": 10000,\n  \"reference\": \"refund_order_12345\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"90599809-ea83-5ee6-b76c-626d844ac433","name":"Charge not found.","originalRequest":{"url":{"path":["charges",":transaction_id","refund"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount_to_refund\": 10000,\n  \"reference\": \"refund_order_12345\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"343f7c25-182c-568d-82b8-2bcece2e21d8","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["charges",":transaction_id","refund"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount_to_refund\": 10000,\n  \"reference\": \"refund_order_12345\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"759b9309-1c2c-5904-ac3a-5ec8a6d620c0","name":"Unprocessable content. The requested amount exceeds the refundable amount, or no refundable amount is left.","originalRequest":{"url":{"path":["charges",":transaction_id","refund"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount_to_refund\": 10000,\n  \"reference\": \"refund_order_12345\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"Payment method is not set up for \\\"off_session\\\" mode\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"eb36f967-ed3e-5b38-b080-9f9c5bad67a9","name":"Internal server error.","originalRequest":{"url":{"path":["charges",":transaction_id","refund"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount_to_refund\": 10000,\n  \"reference\": \"refund_order_12345\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3fb52226-167b-5f31-8ab1-018ef25b0016","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["charges",":transaction_id","refund"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount_to_refund\": 10000,\n  \"reference\": \"refund_order_12345\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"f403d83a-6a65-5be6-9f9b-b0df5811da99","name":"Confirm a charge","request":{"name":"Confirm a charge","description":{"content":"Completes a charge whose status is `requires_confirmation`, after its 3D Secure authentication succeeded or was bypassed.\n\nIf authentication failed or the charge is declined, the response is HTTP 400 with an error of type `payment_method_error`; when authentication failed, `decline_code` is `authentication_failure` and `authentication_session` holds the session ID.","type":"text/plain"},"url":{"path":["charges",":transaction_id","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null},"response":[{"id":"0bcfb2a7-f183-59a7-ba83-70768c16b67c","name":"Returns the confirmed charge object.","originalRequest":{"url":{"path":["charges",":transaction_id","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"chrg_296645958265997312\",\n  \"resource\": \"charge\",\n  \"amount\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"amount_refunded\": 0,\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"calculated_statement_descriptor\": \"ACME * ACME STORE\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"currency\": \"usd\",\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"cashflow_transaction\": \"cflw_tx_296645958265997312\",\n  \"description\": \"Payment for Order #12345\",\n  \"disputed\": false,\n  \"failure_code\": \"string\",\n  \"failure_message\": \"string\",\n  \"metadata\": {},\n  \"paid\": true,\n  \"payment_session\": \"ps_296645958265997318\",\n  \"hold\": \"string\",\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"fraud\": true,\n  \"retry_attempts\": [\n    {\n      \"id\": \"rtratt_296645958265997312_1_1\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"type\": \"fallback\",\n      \"failure_code\": \"card_declined\",\n      \"failure_message\": \"The card was declined.\",\n      \"underlying_network_details\": {\n        \"network\": \"visa\",\n        \"visa\": {\n          \"arn\": \"74234567890123456789012\",\n          \"auth_code\": \"123456\",\n          \"raw_response_code\": \"00\",\n          \"rrn\": \"123456789012\",\n          \"eci\": \"05\",\n          \"aci\": \"Y\",\n          \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n        }\n      },\n      \"underlying_network_id\": \"74234567890123456789012\",\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      },\n      \"payment_method_options\": {\n        \"card\": {\n          \"security_checks\": {\n            \"address_line1_check\": true,\n            \"address_postal_code_check\": true,\n            \"cvv_check\": true\n          }\n        }\n      }\n    },\n    {\n      \"id\": \"rtratt_296645958265997312_1_1\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"type\": \"fallback\",\n      \"failure_code\": \"card_declined\",\n      \"failure_message\": \"The card was declined.\",\n      \"underlying_network_details\": {\n        \"network\": \"visa\",\n        \"visa\": {\n          \"arn\": \"74234567890123456789012\",\n          \"auth_code\": \"123456\",\n          \"raw_response_code\": \"00\",\n          \"rrn\": \"123456789012\",\n          \"eci\": \"05\",\n          \"aci\": \"Y\",\n          \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n        }\n      },\n      \"underlying_network_id\": \"74234567890123456789012\",\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      },\n      \"payment_method_options\": {\n        \"card\": {\n          \"security_checks\": {\n            \"address_line1_check\": true,\n            \"address_postal_code_check\": true,\n            \"cvv_check\": true\n          }\n        }\n      }\n    }\n  ],\n  \"payment_method_details\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"bin\": \"424242\",\n      \"brand\": \"visa\",\n      \"cardholder_currency\": \"usd\",\n      \"country\": \"US\",\n      \"exp_month\": \"12\",\n      \"exp_year\": \"2028\",\n      \"fingerprint\": \"fp_abc123xyz789\",\n      \"funding\": \"prepaid\",\n      \"last4\": \"4242\",\n      \"network\": \"visa\",\n      \"category\": \"business\",\n      \"security_checks\": {\n        \"address_line1_check\": \"unavailable\",\n        \"address_postal_code_check\": \"unavailable\",\n        \"cvc_check\": \"pass\"\n      },\n      \"wallet\": {\n        \"type\": \"googlepay\",\n        \"googlepay\": {\n          \"type\": \"cryptogram_3ds\",\n          \"physical_card_last4\": \"4242\"\n        },\n        \"applepay\": {\n          \"physical_card_last4\": \"4242\"\n        },\n        \"ctp\": {\n          \"physical_card_last4\": \"string\",\n          \"physical_card_bin\": \"string\",\n          \"physical_card_exp_month\": \"string\",\n          \"physical_card_exp_year\": \"string\"\n        }\n      },\n      \"token\": \"tok_card_296645958265997326\",\n      \"three_d_secure\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"version\": \"2.2.0\",\n        \"eci\": \"05\",\n        \"cardholder_info\": \"string\",\n        \"liability_shift\": true\n      },\n      \"three_ds\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"status_reason\": \"string\",\n        \"protocol_version\": \"2.2.0\",\n        \"eci\": \"02\",\n        \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n        \"liability_shift\": true,\n        \"cardholder_info\": \"string\",\n        \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n        \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n        \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n        \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n        \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n      },\n      \"payout\": \"not_available\",\n      \"name_verification\": \"match\",\n      \"partial_approval\": {\n        \"status\": \"accepted\",\n        \"amount_requested\": 10000,\n        \"amount_authorized\": 7500,\n        \"amount_charged\": 7500,\n        \"product_id\": \"prod_12345\"\n      },\n      \"name\": \"John Smith\",\n      \"issuer\": \"Chase Bank\"\n    },\n    \"cashapp\": {\n      \"cashtag\": \"$acmecustomer\",\n      \"name\": \"Jenny Rosen\"\n    },\n    \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n    \"setup_future_usage\": \"on_session\"\n  },\n  \"payment_method_options\": {\n    \"card\": {\n      \"security_checks\": {\n        \"address_line1_check\": true,\n        \"address_postal_code_check\": true,\n        \"cvv_check\": true\n      }\n    }\n  },\n  \"refunded\": false,\n  \"refunds\": {\n    \"data\": [\n      {\n        \"id\": \"rfnd_296645958265997314\",\n        \"resource\": \"refund\",\n        \"amount\": 10000,\n        \"amount_human_readable\": \"100.00\",\n        \"charge\": \"chrg_296645958265997312\",\n        \"created\": \"2024-01-15T10:30:00Z\",\n        \"currency\": \"usd\",\n        \"customer\": \"cust_296645958265997317\",\n        \"customer_reference_id\": \"cust_ext_abc123\",\n        \"metadata\": {},\n        \"reference\": \"refund_order_12345\",\n        \"status\": \"succeeded\",\n        \"failure_code\": \"string\",\n        \"failure_message\": \"string\",\n        \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n        \"test_mode\": true,\n        \"underlying_network_id\": \"123456789012345\",\n        \"underlying_network_details\": {\n          \"network\": \"visa\",\n          \"visa\": {\n            \"arn\": \"74234567890123456789012\",\n            \"auth_code\": \"123456\",\n            \"raw_response_code\": \"00\",\n            \"rrn\": \"123456789012\",\n            \"eci\": \"05\",\n            \"aci\": \"Y\",\n            \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n          }\n        },\n        \"underlying_processing_details\": {\n          \"processor\": \"stripe\",\n          \"transaction_id\": \"pi_abc123xyz789\",\n          \"settlement_account\": \"sa_296645958265997349\",\n          \"settlement_account_details\": {\n            \"processor\": \"pay_com\",\n            \"currency\": \"usd\",\n            \"name\": \"Main Settlement Account\",\n            \"entity\": \"ent_296645958265997359\",\n            \"entity_details\": {\n              \"legal_name\": \"ACME Corp\",\n              \"country\": \"US\"\n            }\n          }\n        },\n        \"risk_assessment_details\": {\n          \"outcome\": \"allow\",\n          \"outcome_source\": \"score\",\n          \"rule_id\": \"rl_296645958265997337\",\n          \"rules_id\": [\n            \"rl_296645958265997337\"\n          ],\n          \"score\": \"31\",\n          \"flags\": [\n            \"no_correlation_history\",\n            \"multiple_identities_billing\",\n            \"multiple_identities_card\",\n            \"free_email_provider\",\n            \"risky_billing_time\",\n            \"velocity_multiple_addresses\",\n            \"velocity_multiple_names\"\n          ]\n        },\n        \"receipt\": null,\n        \"tax_details\": {\n          \"amount_total\": 825,\n          \"tax_behavior\": \"exclusive\",\n          \"tax_quote\": \"txq_296645958265997339\",\n          \"effective_tax_rate\": \"8.25\",\n          \"tax_transaction\": null\n        }\n      },\n      {\n        \"id\": \"rfnd_296645958265997314\",\n        \"resource\": \"refund\",\n        \"amount\": 10000,\n        \"amount_human_readable\": \"100.00\",\n        \"charge\": \"chrg_296645958265997312\",\n        \"created\": \"2024-01-15T10:30:00Z\",\n        \"currency\": \"usd\",\n        \"customer\": \"cust_296645958265997317\",\n        \"customer_reference_id\": \"cust_ext_abc123\",\n        \"metadata\": {},\n        \"reference\": \"refund_order_12345\",\n        \"status\": \"succeeded\",\n        \"failure_code\": \"string\",\n        \"failure_message\": \"string\",\n        \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n        \"test_mode\": false,\n        \"underlying_network_id\": \"123456789012345\",\n        \"underlying_network_details\": {\n          \"network\": \"visa\",\n          \"visa\": {\n            \"arn\": \"74234567890123456789012\",\n            \"auth_code\": \"123456\",\n            \"raw_response_code\": \"00\",\n            \"rrn\": \"123456789012\",\n            \"eci\": \"05\",\n            \"aci\": \"Y\",\n            \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n          }\n        },\n        \"underlying_processing_details\": {\n          \"processor\": \"stripe\",\n          \"transaction_id\": \"pi_abc123xyz789\",\n          \"settlement_account\": \"sa_296645958265997349\",\n          \"settlement_account_details\": {\n            \"processor\": \"pay_com\",\n            \"currency\": \"usd\",\n            \"name\": \"Main Settlement Account\",\n            \"entity\": \"ent_296645958265997359\",\n            \"entity_details\": {\n              \"legal_name\": \"ACME Corp\",\n              \"country\": \"US\"\n            }\n          }\n        },\n        \"risk_assessment_details\": {\n          \"outcome\": \"allow\",\n          \"outcome_source\": \"score\",\n          \"rule_id\": \"rl_296645958265997337\",\n          \"rules_id\": [\n            \"rl_296645958265997337\"\n          ],\n          \"score\": \"31\",\n          \"flags\": [\n            \"no_correlation_history\",\n            \"multiple_identities_billing\",\n            \"multiple_identities_card\",\n            \"free_email_provider\",\n            \"risky_billing_time\",\n            \"velocity_multiple_addresses\",\n            \"velocity_multiple_names\"\n          ]\n        },\n        \"receipt\": null,\n        \"tax_details\": {\n          \"amount_total\": 825,\n          \"tax_behavior\": \"exclusive\",\n          \"tax_quote\": \"txq_296645958265997339\",\n          \"effective_tax_rate\": \"8.25\",\n          \"tax_transaction\": null\n        }\n      }\n    ],\n    \"url\": \"/v1/charges/chrg_296645958265997312/refunds\"\n  },\n  \"reference\": \"order_12345\",\n  \"shipping\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"phone\": \"+14155551234\"\n  },\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"status\": \"blocked\",\n  \"underlying_network_details\": {\n    \"network\": \"visa\",\n    \"visa\": {\n      \"arn\": \"74234567890123456789012\",\n      \"auth_code\": \"123456\",\n      \"raw_response_code\": \"00\",\n      \"rrn\": \"123456789012\",\n      \"eci\": \"05\",\n      \"aci\": \"Y\",\n      \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n    }\n  },\n  \"underlying_network_id\": \"123456789012345\",\n  \"risk_assessment_details\": {\n    \"outcome\": \"allow\",\n    \"outcome_source\": \"score\",\n    \"rule_id\": \"rl_296645958265997337\",\n    \"rules_id\": [\n      \"rl_296645958265997337\"\n    ],\n    \"score\": \"31\",\n    \"flags\": [\n      \"no_correlation_history\",\n      \"multiple_identities_billing\",\n      \"multiple_identities_card\",\n      \"free_email_provider\",\n      \"risky_billing_time\",\n      \"velocity_multiple_addresses\",\n      \"velocity_multiple_names\"\n    ]\n  },\n  \"test_mode\": false,\n  \"receipt\": null,\n  \"underlying_processing_details\": {\n    \"processor\": \"stripe\",\n    \"transaction_id\": \"pi_abc123xyz789\",\n    \"settlement_account\": \"sa_296645958265997349\",\n    \"settlement_account_details\": {\n      \"processor\": \"pay_com\",\n      \"currency\": \"usd\",\n      \"name\": \"Main Settlement Account\",\n      \"entity\": \"ent_296645958265997359\",\n      \"entity_details\": {\n        \"legal_name\": \"ACME Corp\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"tax_details\": {\n    \"amount_total\": 825,\n    \"tax_behavior\": \"exclusive\",\n    \"tax_quote\": \"txq_296645958265997339\",\n    \"effective_tax_rate\": \"8.25\",\n    \"tax_transaction\": null\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"63fefee6-b833-5362-bb00-b4f19617d171","name":"Invalid request parameters, the charge was already processed, or the charge was declined (`payment_method_error`).","originalRequest":{"url":{"path":["charges",":transaction_id","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"48d94c9e-2869-5cf2-9d2c-6d38f2cd9040","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["charges",":transaction_id","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0c125858-5f77-55ff-b324-0eda1de205d3","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["charges",":transaction_id","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e57a5ae8-da33-550b-a959-52cbfaddf7eb","name":"Charge not found.","originalRequest":{"url":{"path":["charges",":transaction_id","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d609bfc6-25c3-5bc3-86d7-176f65b99a1f","name":"Request timeout.","originalRequest":{"url":{"path":["charges",":transaction_id","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"text/plain"}],"method":"POST","body":{}},"status":"Request Timeout","code":408,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"Request timeout","cookie":[],"_postman_previewlanguage":"text"},{"id":"6d1426da-07a3-5de8-b512-49c2894d6ee7","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["charges",":transaction_id","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6b2e35ff-93bb-52a4-afa4-09165e4ed6b6","name":"Internal server error.","originalRequest":{"url":{"path":["charges",":transaction_id","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"06ff81cd-0fe3-546e-8408-e94766f3749a","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["charges",":transaction_id","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"66bf3de8-2c7b-56f4-9f1c-fd74e384f096","name":"List refunds for a charge","request":{"name":"List refunds for a charge","description":{"content":"Returns the refunds of a charge, as an array.","type":"text/plain"},"url":{"path":["charges",":transaction_id","refunds"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"85cfb408-1d43-5a00-9f4c-76117bb0cac6","name":"Returns a list of refund objects.","originalRequest":{"url":{"path":["charges",":transaction_id","refunds"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": \"rfnd_296645958265997314\",\n    \"resource\": \"refund\",\n    \"amount\": 10000,\n    \"amount_human_readable\": \"100.00\",\n    \"charge\": \"chrg_296645958265997312\",\n    \"created\": \"2024-01-15T10:30:00Z\",\n    \"currency\": \"usd\",\n    \"customer\": \"cust_296645958265997317\",\n    \"customer_reference_id\": \"cust_ext_abc123\",\n    \"metadata\": {},\n    \"reference\": \"refund_order_12345\",\n    \"status\": \"succeeded\",\n    \"failure_code\": \"string\",\n    \"failure_message\": \"string\",\n    \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n    \"test_mode\": false,\n    \"underlying_network_id\": \"123456789012345\",\n    \"underlying_network_details\": {\n      \"network\": \"visa\",\n      \"visa\": {\n        \"arn\": \"74234567890123456789012\",\n        \"auth_code\": \"123456\",\n        \"raw_response_code\": \"00\",\n        \"rrn\": \"123456789012\",\n        \"eci\": \"05\",\n        \"aci\": \"Y\",\n        \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n      }\n    },\n    \"underlying_processing_details\": {\n      \"processor\": \"stripe\",\n      \"transaction_id\": \"pi_abc123xyz789\",\n      \"settlement_account\": \"sa_296645958265997349\",\n      \"settlement_account_details\": {\n        \"processor\": \"pay_com\",\n        \"currency\": \"usd\",\n        \"name\": \"Main Settlement Account\",\n        \"entity\": \"ent_296645958265997359\",\n        \"entity_details\": {\n          \"legal_name\": \"ACME Corp\",\n          \"country\": \"US\"\n        }\n      }\n    },\n    \"risk_assessment_details\": {\n      \"outcome\": \"allow\",\n      \"outcome_source\": \"score\",\n      \"rule_id\": \"rl_296645958265997337\",\n      \"rules_id\": [\n        \"rl_296645958265997337\"\n      ],\n      \"score\": \"31\",\n      \"flags\": [\n        \"no_correlation_history\",\n        \"multiple_identities_billing\",\n        \"multiple_identities_card\",\n        \"free_email_provider\",\n        \"risky_billing_time\",\n        \"velocity_multiple_addresses\",\n        \"velocity_multiple_names\"\n      ]\n    },\n    \"receipt\": null,\n    \"tax_details\": {\n      \"amount_total\": 825,\n      \"tax_behavior\": \"exclusive\",\n      \"tax_quote\": \"txq_296645958265997339\",\n      \"effective_tax_rate\": \"8.25\",\n      \"tax_transaction\": null\n    }\n  },\n  {\n    \"id\": \"rfnd_296645958265997314\",\n    \"resource\": \"refund\",\n    \"amount\": 10000,\n    \"amount_human_readable\": \"100.00\",\n    \"charge\": \"chrg_296645958265997312\",\n    \"created\": \"2024-01-15T10:30:00Z\",\n    \"currency\": \"usd\",\n    \"customer\": \"cust_296645958265997317\",\n    \"customer_reference_id\": \"cust_ext_abc123\",\n    \"metadata\": {},\n    \"reference\": \"refund_order_12345\",\n    \"status\": \"succeeded\",\n    \"failure_code\": \"string\",\n    \"failure_message\": \"string\",\n    \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n    \"test_mode\": false,\n    \"underlying_network_id\": \"123456789012345\",\n    \"underlying_network_details\": {\n      \"network\": \"visa\",\n      \"visa\": {\n        \"arn\": \"74234567890123456789012\",\n        \"auth_code\": \"123456\",\n        \"raw_response_code\": \"00\",\n        \"rrn\": \"123456789012\",\n        \"eci\": \"05\",\n        \"aci\": \"Y\",\n        \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n      }\n    },\n    \"underlying_processing_details\": {\n      \"processor\": \"stripe\",\n      \"transaction_id\": \"pi_abc123xyz789\",\n      \"settlement_account\": \"sa_296645958265997349\",\n      \"settlement_account_details\": {\n        \"processor\": \"pay_com\",\n        \"currency\": \"usd\",\n        \"name\": \"Main Settlement Account\",\n        \"entity\": \"ent_296645958265997359\",\n        \"entity_details\": {\n          \"legal_name\": \"ACME Corp\",\n          \"country\": \"US\"\n        }\n      }\n    },\n    \"risk_assessment_details\": {\n      \"outcome\": \"allow\",\n      \"outcome_source\": \"score\",\n      \"rule_id\": \"rl_296645958265997337\",\n      \"rules_id\": [\n        \"rl_296645958265997337\"\n      ],\n      \"score\": \"31\",\n      \"flags\": [\n        \"no_correlation_history\",\n        \"multiple_identities_billing\",\n        \"multiple_identities_card\",\n        \"free_email_provider\",\n        \"risky_billing_time\",\n        \"velocity_multiple_addresses\",\n        \"velocity_multiple_names\"\n      ]\n    },\n    \"receipt\": null,\n    \"tax_details\": {\n      \"amount_total\": 825,\n      \"tax_behavior\": \"exclusive\",\n      \"tax_quote\": \"txq_296645958265997339\",\n      \"effective_tax_rate\": \"8.25\",\n      \"tax_transaction\": null\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"181e5319-fbc1-540c-b6b1-f2ca201676e8","name":"Invalid request parameters.","originalRequest":{"url":{"path":["charges",":transaction_id","refunds"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"52f516b8-6e4e-5879-b106-95c215b69af2","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["charges",":transaction_id","refunds"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d9b8540c-2b10-5eda-b26d-023c5d682f0e","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["charges",":transaction_id","refunds"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5c561065-238b-583f-be57-86d21edf0f85","name":"Internal server error.","originalRequest":{"url":{"path":["charges",":transaction_id","refunds"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"02c169ad-f984-53ed-b86f-c5c4c96c6ea9","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["charges",":transaction_id","refunds"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"9a6cf572-726d-5331-94c7-3f602a92cf0e","name":"Holds","description":{"content":"Place holds on funds to reserve an amount before capturing. Useful for authorization-then-capture payment flows.","type":"text/plain"},"item":[{"id":"03335ec2-94bb-51f0-8d1d-bec34b298c56","name":"Create a hold","request":{"name":"Create a hold","description":{"content":"Creates a hold: authorizes an amount on the customer's payment method, to be captured later.\n\nA hold that is declined or blocked is still created, but the response is HTTP 400 with an error of type `payment_method_error` (code `card_declined`) that includes the hold ID and the `decline_code`. Retrieve the hold to see it with status `failed` or `blocked`.\n\nSending raw card details in `source_data` or `payment_method_data` requires an API key enabled for raw payment data (PCI).","type":"text/plain"},"url":{"path":["holds"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"source_data\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"number\": \"4242424242424242\",\n      \"expiry_month\": \"12\",\n      \"expiry_year\": \"2028\",\n      \"cvv\": \"123\",\n      \"name\": \"John Smith\",\n      \"authentication_context\": {\n        \"customer_ip_address\": \"192.168.1.1\",\n        \"browser_details\": {\n          \"accept_header\": \"*/*\",\n          \"javascript_enabled\": true,\n          \"language\": \"en-US\",\n          \"user_agent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36\",\n          \"screen_width\": 1920,\n          \"screen_height\": 1080,\n          \"timezone_offset\": \"-300\",\n          \"java_enabled\": false,\n          \"color_depth\": 24\n        }\n      }\n    },\n    \"billing_details\": {\n      \"name\": \"John Smith\",\n      \"email\": \"john.smith@example.com\",\n      \"phone\": \"+14155551234\",\n      \"address\": {\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"city\": \"San Francisco\",\n        \"state\": \"CA\",\n        \"postal_code\": \"94102\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"description\": \"Hold for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"payment_method_options\": {\n    \"authentication_options\": {\n      \"type\": \"three_ds\",\n      \"three_ds\": {\n        \"flow_indicator\": {\n          \"type\": \"frictionless\",\n          \"frictionless\": {\n            \"sca_exemption_type\": \"low_value\"\n          }\n        }\n      }\n    }\n  },\n  \"metadata\": {\n    \"order_id\": \"12345\"\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"e48a0f12-9bc1-5a35-a387-580d484229b3","name":"Returns the created hold object.","originalRequest":{"url":{"path":["holds"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"source_data\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"number\": \"4242424242424242\",\n      \"expiry_month\": \"12\",\n      \"expiry_year\": \"2028\",\n      \"cvv\": \"123\",\n      \"name\": \"John Smith\",\n      \"authentication_context\": {\n        \"customer_ip_address\": \"192.168.1.1\",\n        \"browser_details\": {\n          \"accept_header\": \"*/*\",\n          \"javascript_enabled\": true,\n          \"language\": \"en-US\",\n          \"user_agent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36\",\n          \"screen_width\": 1920,\n          \"screen_height\": 1080,\n          \"timezone_offset\": \"-300\",\n          \"java_enabled\": false,\n          \"color_depth\": 24\n        }\n      }\n    },\n    \"billing_details\": {\n      \"name\": \"John Smith\",\n      \"email\": \"john.smith@example.com\",\n      \"phone\": \"+14155551234\",\n      \"address\": {\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"city\": \"San Francisco\",\n        \"state\": \"CA\",\n        \"postal_code\": \"94102\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"description\": \"Hold for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"payment_method_options\": {\n    \"authentication_options\": {\n      \"type\": \"three_ds\",\n      \"three_ds\": {\n        \"flow_indicator\": {\n          \"type\": \"frictionless\",\n          \"frictionless\": {\n            \"sca_exemption_type\": \"low_value\"\n          }\n        }\n      }\n    }\n  },\n  \"metadata\": {\n    \"order_id\": \"12345\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"hld_296645958265997313\",\n  \"resource\": \"hold\",\n  \"amount\": 10000,\n  \"amount_capturable\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"currency\": \"usd\",\n  \"captured\": true,\n  \"canceled\": true,\n  \"canceled_at\": \"string\",\n  \"cancellation_reason\": \"null\",\n  \"charges\": {\n    \"data\": [\n      {\n        \"id\": \"chrg_296645958265997312\",\n        \"resource\": \"charge\",\n        \"amount\": 10000,\n        \"amount_human_readable\": \"100.00\",\n        \"amount_refunded\": 0,\n        \"billing_details\": {\n          \"address\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"name\": \"John Smith\",\n          \"email\": \"john.smith@example.com\",\n          \"phone\": \"+14155551234\",\n          \"dob\": \"1985-07-15\",\n          \"national_identification_number\": \"123-45-6789\"\n        },\n        \"calculated_statement_descriptor\": \"ACME * ACME STORE\",\n        \"created\": \"2024-01-15T10:30:00Z\",\n        \"currency\": \"usd\",\n        \"customer\": \"cust_296645958265997317\",\n        \"customer_reference_id\": \"cust_ext_abc123\",\n        \"cashflow_transaction\": \"cflw_tx_296645958265997312\",\n        \"description\": \"Payment for Order #12345\",\n        \"disputed\": false,\n        \"failure_code\": \"string\",\n        \"failure_message\": \"string\",\n        \"metadata\": {},\n        \"paid\": true,\n        \"payment_session\": \"ps_296645958265997318\",\n        \"hold\": \"string\",\n        \"payment_method\": \"pm_card_296645958265997316\",\n        \"fraud\": true,\n        \"retry_attempts\": [\n          {\n            \"id\": \"rtratt_296645958265997312_1_1\",\n            \"created\": \"2024-01-15T10:30:00Z\",\n            \"type\": \"fallback\",\n            \"failure_code\": \"card_declined\",\n            \"failure_message\": \"The card was declined.\",\n            \"underlying_network_details\": {\n              \"network\": \"visa\",\n              \"visa\": {\n                \"arn\": \"74234567890123456789012\",\n                \"auth_code\": \"123456\",\n                \"raw_response_code\": \"00\",\n                \"rrn\": \"123456789012\",\n                \"eci\": \"05\",\n                \"aci\": \"Y\",\n                \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n              }\n            },\n            \"underlying_network_id\": \"74234567890123456789012\",\n            \"underlying_processing_details\": {\n              \"processor\": \"stripe\",\n              \"transaction_id\": \"pi_abc123xyz789\",\n              \"settlement_account\": \"sa_296645958265997349\",\n              \"settlement_account_details\": {\n                \"processor\": \"pay_com\",\n                \"currency\": \"usd\",\n                \"name\": \"Main Settlement Account\",\n                \"entity\": \"ent_296645958265997359\",\n                \"entity_details\": {\n                  \"legal_name\": \"ACME Corp\",\n                  \"country\": \"US\"\n                }\n              }\n            },\n            \"payment_method_options\": {\n              \"card\": {\n                \"security_checks\": {\n                  \"address_line1_check\": true,\n                  \"address_postal_code_check\": true,\n                  \"cvv_check\": true\n                }\n              }\n            }\n          },\n          {\n            \"id\": \"rtratt_296645958265997312_1_1\",\n            \"created\": \"2024-01-15T10:30:00Z\",\n            \"type\": \"fallback\",\n            \"failure_code\": \"card_declined\",\n            \"failure_message\": \"The card was declined.\",\n            \"underlying_network_details\": {\n              \"network\": \"visa\",\n              \"visa\": {\n                \"arn\": \"74234567890123456789012\",\n                \"auth_code\": \"123456\",\n                \"raw_response_code\": \"00\",\n                \"rrn\": \"123456789012\",\n                \"eci\": \"05\",\n                \"aci\": \"Y\",\n                \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n              }\n            },\n            \"underlying_network_id\": \"74234567890123456789012\",\n            \"underlying_processing_details\": {\n              \"processor\": \"stripe\",\n              \"transaction_id\": \"pi_abc123xyz789\",\n              \"settlement_account\": \"sa_296645958265997349\",\n              \"settlement_account_details\": {\n                \"processor\": \"pay_com\",\n                \"currency\": \"usd\",\n                \"name\": \"Main Settlement Account\",\n                \"entity\": \"ent_296645958265997359\",\n                \"entity_details\": {\n                  \"legal_name\": \"ACME Corp\",\n                  \"country\": \"US\"\n                }\n              }\n            },\n            \"payment_method_options\": {\n              \"card\": {\n                \"security_checks\": {\n                  \"address_line1_check\": true,\n                  \"address_postal_code_check\": true,\n                  \"cvv_check\": true\n                }\n              }\n            }\n          }\n        ],\n        \"payment_method_details\": {\n          \"type\": \"card\",\n          \"card\": {\n            \"bin\": \"424242\",\n            \"brand\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"cardholder_currency\": \"usd\",\n            \"country\": \"US\",\n            \"exp_month\": \"12\",\n            \"exp_year\": \"2028\",\n            \"fingerprint\": \"fp_abc123xyz789\",\n            \"funding\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"last4\": \"4242\",\n            \"network\": \"visa\",\n            \"category\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"security_checks\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"wallet\": {\n              \"type\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"googlepay\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"applepay\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"ctp\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            \"token\": \"tok_card_296645958265997326\",\n            \"three_d_secure\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"three_ds\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"payout\": \"not_available\",\n            \"name_verification\": \"match\",\n            \"partial_approval\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"name\": \"John Smith\",\n            \"issuer\": \"Chase Bank\"\n          },\n          \"cashapp\": {\n            \"cashtag\": \"$acmecustomer\",\n            \"name\": \"Jenny Rosen\"\n          },\n          \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n          \"setup_future_usage\": \"on_session\"\n        },\n        \"payment_method_options\": {\n          \"card\": {\n            \"security_checks\": {\n              \"address_line1_check\": true,\n              \"address_postal_code_check\": true,\n              \"cvv_check\": true\n            }\n          }\n        },\n        \"refunded\": false,\n        \"refunds\": {\n          \"data\": [\n            {\n              \"id\": \"rfnd_296645958265997314\",\n              \"resource\": \"refund\",\n              \"amount\": 10000,\n              \"amount_human_readable\": \"100.00\",\n              \"charge\": \"chrg_296645958265997312\",\n              \"created\": \"2024-01-15T10:30:00Z\",\n              \"currency\": \"usd\",\n              \"customer\": \"cust_296645958265997317\",\n              \"customer_reference_id\": \"cust_ext_abc123\",\n              \"metadata\": {},\n              \"reference\": \"refund_order_12345\",\n              \"status\": \"succeeded\",\n              \"failure_code\": \"string\",\n              \"failure_message\": \"string\",\n              \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n              \"test_mode\": false,\n              \"underlying_network_id\": \"123456789012345\",\n              \"underlying_network_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"underlying_processing_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"risk_assessment_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"receipt\": null,\n              \"tax_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            {\n              \"id\": \"rfnd_296645958265997314\",\n              \"resource\": \"refund\",\n              \"amount\": 10000,\n              \"amount_human_readable\": \"100.00\",\n              \"charge\": \"chrg_296645958265997312\",\n              \"created\": \"2024-01-15T10:30:00Z\",\n              \"currency\": \"usd\",\n              \"customer\": \"cust_296645958265997317\",\n              \"customer_reference_id\": \"cust_ext_abc123\",\n              \"metadata\": {},\n              \"reference\": \"refund_order_12345\",\n              \"status\": \"succeeded\",\n              \"failure_code\": \"string\",\n              \"failure_message\": \"string\",\n              \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n              \"test_mode\": true,\n              \"underlying_network_id\": \"123456789012345\",\n              \"underlying_network_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"underlying_processing_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"risk_assessment_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"receipt\": null,\n              \"tax_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            }\n          ],\n          \"url\": \"/v1/charges/chrg_296645958265997312/refunds\"\n        },\n        \"reference\": \"order_12345\",\n        \"shipping\": {\n          \"address\": {\n            \"city\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"country\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"line1\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"line2\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"postal_code\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"state\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"name\": \"John Smith\",\n          \"phone\": \"+14155551234\"\n        },\n        \"statement_descriptor_suffix\": \"ACME STORE\",\n        \"status\": \"failed\",\n        \"underlying_network_details\": {\n          \"network\": \"visa\",\n          \"visa\": {\n            \"arn\": \"74234567890123456789012\",\n            \"auth_code\": \"123456\",\n            \"raw_response_code\": \"00\",\n            \"rrn\": \"123456789012\",\n            \"eci\": \"05\",\n            \"aci\": \"Y\",\n            \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n          }\n        },\n        \"underlying_network_id\": \"123456789012345\",\n        \"risk_assessment_details\": {\n          \"outcome\": \"allow\",\n          \"outcome_source\": \"score\",\n          \"rule_id\": \"rl_296645958265997337\",\n          \"rules_id\": [\n            \"rl_296645958265997337\"\n          ],\n          \"score\": \"31\",\n          \"flags\": [\n            \"no_correlation_history\",\n            \"multiple_identities_billing\",\n            \"multiple_identities_card\",\n            \"free_email_provider\",\n            \"risky_billing_time\",\n            \"velocity_multiple_addresses\",\n            \"velocity_multiple_names\"\n          ]\n        },\n        \"test_mode\": true,\n        \"receipt\": null,\n        \"underlying_processing_details\": {\n          \"processor\": \"stripe\",\n          \"transaction_id\": \"pi_abc123xyz789\",\n          \"settlement_account\": \"sa_296645958265997349\",\n          \"settlement_account_details\": {\n            \"processor\": \"pay_com\",\n            \"currency\": \"usd\",\n            \"name\": \"Main Settlement Account\",\n            \"entity\": \"ent_296645958265997359\",\n            \"entity_details\": {\n              \"legal_name\": \"ACME Corp\",\n              \"country\": \"US\"\n            }\n          }\n        },\n        \"tax_details\": {\n          \"amount_total\": 825,\n          \"tax_behavior\": \"exclusive\",\n          \"tax_quote\": \"txq_296645958265997339\",\n          \"effective_tax_rate\": \"8.25\",\n          \"tax_transaction\": null\n        }\n      },\n      {\n        \"id\": \"chrg_296645958265997312\",\n        \"resource\": \"charge\",\n        \"amount\": 10000,\n        \"amount_human_readable\": \"100.00\",\n        \"amount_refunded\": 0,\n        \"billing_details\": {\n          \"address\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"name\": \"John Smith\",\n          \"email\": \"john.smith@example.com\",\n          \"phone\": \"+14155551234\",\n          \"dob\": \"1985-07-15\",\n          \"national_identification_number\": \"123-45-6789\"\n        },\n        \"calculated_statement_descriptor\": \"ACME * ACME STORE\",\n        \"created\": \"2024-01-15T10:30:00Z\",\n        \"currency\": \"usd\",\n        \"customer\": \"cust_296645958265997317\",\n        \"customer_reference_id\": \"cust_ext_abc123\",\n        \"cashflow_transaction\": \"cflw_tx_296645958265997312\",\n        \"description\": \"Payment for Order #12345\",\n        \"disputed\": false,\n        \"failure_code\": \"string\",\n        \"failure_message\": \"string\",\n        \"metadata\": {},\n        \"paid\": true,\n        \"payment_session\": \"ps_296645958265997318\",\n        \"hold\": \"string\",\n        \"payment_method\": \"pm_card_296645958265997316\",\n        \"fraud\": true,\n        \"retry_attempts\": [\n          {\n            \"id\": \"rtratt_296645958265997312_1_1\",\n            \"created\": \"2024-01-15T10:30:00Z\",\n            \"type\": \"fallback\",\n            \"failure_code\": \"card_declined\",\n            \"failure_message\": \"The card was declined.\",\n            \"underlying_network_details\": {\n              \"network\": \"visa\",\n              \"visa\": {\n                \"arn\": \"74234567890123456789012\",\n                \"auth_code\": \"123456\",\n                \"raw_response_code\": \"00\",\n                \"rrn\": \"123456789012\",\n                \"eci\": \"05\",\n                \"aci\": \"Y\",\n                \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n              }\n            },\n            \"underlying_network_id\": \"74234567890123456789012\",\n            \"underlying_processing_details\": {\n              \"processor\": \"stripe\",\n              \"transaction_id\": \"pi_abc123xyz789\",\n              \"settlement_account\": \"sa_296645958265997349\",\n              \"settlement_account_details\": {\n                \"processor\": \"pay_com\",\n                \"currency\": \"usd\",\n                \"name\": \"Main Settlement Account\",\n                \"entity\": \"ent_296645958265997359\",\n                \"entity_details\": {\n                  \"legal_name\": \"ACME Corp\",\n                  \"country\": \"US\"\n                }\n              }\n            },\n            \"payment_method_options\": {\n              \"card\": {\n                \"security_checks\": {\n                  \"address_line1_check\": true,\n                  \"address_postal_code_check\": true,\n                  \"cvv_check\": true\n                }\n              }\n            }\n          },\n          {\n            \"id\": \"rtratt_296645958265997312_1_1\",\n            \"created\": \"2024-01-15T10:30:00Z\",\n            \"type\": \"fallback\",\n            \"failure_code\": \"card_declined\",\n            \"failure_message\": \"The card was declined.\",\n            \"underlying_network_details\": {\n              \"network\": \"visa\",\n              \"visa\": {\n                \"arn\": \"74234567890123456789012\",\n                \"auth_code\": \"123456\",\n                \"raw_response_code\": \"00\",\n                \"rrn\": \"123456789012\",\n                \"eci\": \"05\",\n                \"aci\": \"Y\",\n                \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n              }\n            },\n            \"underlying_network_id\": \"74234567890123456789012\",\n            \"underlying_processing_details\": {\n              \"processor\": \"stripe\",\n              \"transaction_id\": \"pi_abc123xyz789\",\n              \"settlement_account\": \"sa_296645958265997349\",\n              \"settlement_account_details\": {\n                \"processor\": \"pay_com\",\n                \"currency\": \"usd\",\n                \"name\": \"Main Settlement Account\",\n                \"entity\": \"ent_296645958265997359\",\n                \"entity_details\": {\n                  \"legal_name\": \"ACME Corp\",\n                  \"country\": \"US\"\n                }\n              }\n            },\n            \"payment_method_options\": {\n              \"card\": {\n                \"security_checks\": {\n                  \"address_line1_check\": true,\n                  \"address_postal_code_check\": true,\n                  \"cvv_check\": true\n                }\n              }\n            }\n          }\n        ],\n        \"payment_method_details\": {\n          \"type\": \"card\",\n          \"card\": {\n            \"bin\": \"424242\",\n            \"brand\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"cardholder_currency\": \"usd\",\n            \"country\": \"US\",\n            \"exp_month\": \"12\",\n            \"exp_year\": \"2028\",\n            \"fingerprint\": \"fp_abc123xyz789\",\n            \"funding\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"last4\": \"4242\",\n            \"network\": \"visa\",\n            \"category\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"security_checks\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"wallet\": {\n              \"type\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"googlepay\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"applepay\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"ctp\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            \"token\": \"tok_card_296645958265997326\",\n            \"three_d_secure\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"three_ds\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"payout\": \"not_available\",\n            \"name_verification\": \"match\",\n            \"partial_approval\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"name\": \"John Smith\",\n            \"issuer\": \"Chase Bank\"\n          },\n          \"cashapp\": {\n            \"cashtag\": \"$acmecustomer\",\n            \"name\": \"Jenny Rosen\"\n          },\n          \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n          \"setup_future_usage\": \"on_session\"\n        },\n        \"payment_method_options\": {\n          \"card\": {\n            \"security_checks\": {\n              \"address_line1_check\": true,\n              \"address_postal_code_check\": true,\n              \"cvv_check\": true\n            }\n          }\n        },\n        \"refunded\": true,\n        \"refunds\": {\n          \"data\": [\n            {\n              \"id\": \"rfnd_296645958265997314\",\n              \"resource\": \"refund\",\n              \"amount\": 10000,\n              \"amount_human_readable\": \"100.00\",\n              \"charge\": \"chrg_296645958265997312\",\n              \"created\": \"2024-01-15T10:30:00Z\",\n              \"currency\": \"usd\",\n              \"customer\": \"cust_296645958265997317\",\n              \"customer_reference_id\": \"cust_ext_abc123\",\n              \"metadata\": {},\n              \"reference\": \"refund_order_12345\",\n              \"status\": \"succeeded\",\n              \"failure_code\": \"string\",\n              \"failure_message\": \"string\",\n              \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n              \"test_mode\": false,\n              \"underlying_network_id\": \"123456789012345\",\n              \"underlying_network_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"underlying_processing_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"risk_assessment_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"receipt\": null,\n              \"tax_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            {\n              \"id\": \"rfnd_296645958265997314\",\n              \"resource\": \"refund\",\n              \"amount\": 10000,\n              \"amount_human_readable\": \"100.00\",\n              \"charge\": \"chrg_296645958265997312\",\n              \"created\": \"2024-01-15T10:30:00Z\",\n              \"currency\": \"usd\",\n              \"customer\": \"cust_296645958265997317\",\n              \"customer_reference_id\": \"cust_ext_abc123\",\n              \"metadata\": {},\n              \"reference\": \"refund_order_12345\",\n              \"status\": \"succeeded\",\n              \"failure_code\": \"string\",\n              \"failure_message\": \"string\",\n              \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n              \"test_mode\": true,\n              \"underlying_network_id\": \"123456789012345\",\n              \"underlying_network_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"underlying_processing_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"risk_assessment_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"receipt\": null,\n              \"tax_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            }\n          ],\n          \"url\": \"/v1/charges/chrg_296645958265997312/refunds\"\n        },\n        \"reference\": \"order_12345\",\n        \"shipping\": {\n          \"address\": {\n            \"city\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"country\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"line1\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"line2\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"postal_code\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"state\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"name\": \"John Smith\",\n          \"phone\": \"+14155551234\"\n        },\n        \"statement_descriptor_suffix\": \"ACME STORE\",\n        \"status\": \"pending\",\n        \"underlying_network_details\": {\n          \"network\": \"visa\",\n          \"visa\": {\n            \"arn\": \"74234567890123456789012\",\n            \"auth_code\": \"123456\",\n            \"raw_response_code\": \"00\",\n            \"rrn\": \"123456789012\",\n            \"eci\": \"05\",\n            \"aci\": \"Y\",\n            \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n          }\n        },\n        \"underlying_network_id\": \"123456789012345\",\n        \"risk_assessment_details\": {\n          \"outcome\": \"allow\",\n          \"outcome_source\": \"score\",\n          \"rule_id\": \"rl_296645958265997337\",\n          \"rules_id\": [\n            \"rl_296645958265997337\"\n          ],\n          \"score\": \"31\",\n          \"flags\": [\n            \"no_correlation_history\",\n            \"multiple_identities_billing\",\n            \"multiple_identities_card\",\n            \"free_email_provider\",\n            \"risky_billing_time\",\n            \"velocity_multiple_addresses\",\n            \"velocity_multiple_names\"\n          ]\n        },\n        \"test_mode\": false,\n        \"receipt\": null,\n        \"underlying_processing_details\": {\n          \"processor\": \"stripe\",\n          \"transaction_id\": \"pi_abc123xyz789\",\n          \"settlement_account\": \"sa_296645958265997349\",\n          \"settlement_account_details\": {\n            \"processor\": \"pay_com\",\n            \"currency\": \"usd\",\n            \"name\": \"Main Settlement Account\",\n            \"entity\": \"ent_296645958265997359\",\n            \"entity_details\": {\n              \"legal_name\": \"ACME Corp\",\n              \"country\": \"US\"\n            }\n          }\n        },\n        \"tax_details\": {\n          \"amount_total\": 825,\n          \"tax_behavior\": \"exclusive\",\n          \"tax_quote\": \"txq_296645958265997339\",\n          \"effective_tax_rate\": \"8.25\",\n          \"tax_transaction\": null\n        }\n      }\n    ],\n    \"url\": \"/v1/holds/hld_296645958265997313/charges\"\n  },\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"description\": \"Payment for Order #12345\",\n  \"failure_code\": \"string\",\n  \"failure_message\": \"string\",\n  \"metadata\": {},\n  \"payment_session\": \"ps_296645958265997318\",\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"payment_method_details\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"bin\": \"424242\",\n      \"brand\": \"visa\",\n      \"cardholder_currency\": \"usd\",\n      \"country\": \"US\",\n      \"exp_month\": \"12\",\n      \"exp_year\": \"2028\",\n      \"fingerprint\": \"fp_abc123xyz789\",\n      \"funding\": \"credit\",\n      \"last4\": \"4242\",\n      \"network\": \"visa\",\n      \"category\": \"consumer\",\n      \"security_checks\": {\n        \"address_line1_check\": \"unavailable\",\n        \"address_postal_code_check\": \"unavailable\",\n        \"cvc_check\": \"pass\"\n      },\n      \"wallet\": {\n        \"type\": \"googlepay\",\n        \"googlepay\": {\n          \"type\": \"cryptogram_3ds\",\n          \"physical_card_last4\": \"4242\"\n        },\n        \"applepay\": {\n          \"physical_card_last4\": \"4242\"\n        },\n        \"ctp\": {\n          \"physical_card_last4\": \"string\",\n          \"physical_card_bin\": \"string\",\n          \"physical_card_exp_month\": \"string\",\n          \"physical_card_exp_year\": \"string\"\n        }\n      },\n      \"token\": \"tok_card_296645958265997326\",\n      \"three_d_secure\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"version\": \"2.2.0\",\n        \"eci\": \"05\",\n        \"cardholder_info\": \"string\",\n        \"liability_shift\": true\n      },\n      \"three_ds\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"status_reason\": \"string\",\n        \"protocol_version\": \"2.2.0\",\n        \"eci\": \"02\",\n        \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n        \"liability_shift\": true,\n        \"cardholder_info\": \"string\",\n        \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n        \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n        \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n        \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n        \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n      },\n      \"payout\": \"not_available\",\n      \"name_verification\": \"match\",\n      \"partial_approval\": {\n        \"status\": \"accepted\",\n        \"amount_requested\": 10000,\n        \"amount_authorized\": 7500,\n        \"amount_charged\": 7500,\n        \"product_id\": \"prod_12345\"\n      },\n      \"name\": \"John Smith\",\n      \"issuer\": \"Chase Bank\"\n    },\n    \"cashapp\": {\n      \"cashtag\": \"$acmecustomer\",\n      \"name\": \"Jenny Rosen\"\n    },\n    \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n    \"setup_future_usage\": \"on_session\"\n  },\n  \"payment_method_options\": {\n    \"card\": {\n      \"security_checks\": {\n        \"address_line1_check\": true,\n        \"address_postal_code_check\": true,\n        \"cvv_check\": true\n      }\n    }\n  },\n  \"reference\": \"order_12345\",\n  \"shipping\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"phone\": \"+14155551234\"\n  },\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"status\": \"requires_confirmation\",\n  \"underlying_network_details\": {\n    \"network\": \"visa\",\n    \"visa\": {\n      \"arn\": \"74234567890123456789012\",\n      \"auth_code\": \"123456\",\n      \"raw_response_code\": \"00\",\n      \"rrn\": \"123456789012\",\n      \"eci\": \"05\",\n      \"aci\": \"Y\",\n      \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n    }\n  },\n  \"underlying_network_id\": \"123456789012345\",\n  \"test_mode\": false,\n  \"retry_attempts\": [\n    {\n      \"id\": \"rtratt_296645958265997312_1_1\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"type\": \"fallback\",\n      \"failure_code\": \"card_declined\",\n      \"failure_message\": \"The card was declined.\",\n      \"underlying_network_details\": {\n        \"network\": \"visa\",\n        \"visa\": {\n          \"arn\": \"74234567890123456789012\",\n          \"auth_code\": \"123456\",\n          \"raw_response_code\": \"00\",\n          \"rrn\": \"123456789012\",\n          \"eci\": \"05\",\n          \"aci\": \"Y\",\n          \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n        }\n      },\n      \"underlying_network_id\": \"74234567890123456789012\",\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      },\n      \"payment_method_options\": {\n        \"card\": {\n          \"security_checks\": {\n            \"address_line1_check\": true,\n            \"address_postal_code_check\": true,\n            \"cvv_check\": true\n          }\n        }\n      }\n    },\n    {\n      \"id\": \"rtratt_296645958265997312_1_1\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"type\": \"fallback\",\n      \"failure_code\": \"card_declined\",\n      \"failure_message\": \"The card was declined.\",\n      \"underlying_network_details\": {\n        \"network\": \"visa\",\n        \"visa\": {\n          \"arn\": \"74234567890123456789012\",\n          \"auth_code\": \"123456\",\n          \"raw_response_code\": \"00\",\n          \"rrn\": \"123456789012\",\n          \"eci\": \"05\",\n          \"aci\": \"Y\",\n          \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n        }\n      },\n      \"underlying_network_id\": \"74234567890123456789012\",\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      },\n      \"payment_method_options\": {\n        \"card\": {\n          \"security_checks\": {\n            \"address_line1_check\": true,\n            \"address_postal_code_check\": true,\n            \"cvv_check\": true\n          }\n        }\n      }\n    }\n  ],\n  \"risk_assessment_details\": {\n    \"outcome\": \"allow\",\n    \"outcome_source\": \"score\",\n    \"rule_id\": \"rl_296645958265997337\",\n    \"rules_id\": [\n      \"rl_296645958265997337\"\n    ],\n    \"score\": \"31\",\n    \"flags\": [\n      \"no_correlation_history\",\n      \"multiple_identities_billing\",\n      \"multiple_identities_card\",\n      \"free_email_provider\",\n      \"risky_billing_time\",\n      \"velocity_multiple_addresses\",\n      \"velocity_multiple_names\"\n    ]\n  },\n  \"underlying_processing_details\": {\n    \"processor\": \"stripe\",\n    \"transaction_id\": \"pi_abc123xyz789\",\n    \"settlement_account\": \"sa_296645958265997349\",\n    \"settlement_account_details\": {\n      \"processor\": \"pay_com\",\n      \"currency\": \"usd\",\n      \"name\": \"Main Settlement Account\",\n      \"entity\": \"ent_296645958265997359\",\n      \"entity_details\": {\n        \"legal_name\": \"ACME Corp\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"tax_details\": {\n    \"amount_total\": 825,\n    \"tax_behavior\": \"exclusive\",\n    \"tax_quote\": \"txq_296645958265997339\",\n    \"effective_tax_rate\": \"8.25\",\n    \"tax_transaction\": null\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ea52fb21-9e48-593d-abc5-917a008656e2","name":"Invalid request parameters, or the hold was declined or blocked (`payment_method_error`).","originalRequest":{"url":{"path":["holds"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"source_data\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"number\": \"4242424242424242\",\n      \"expiry_month\": \"12\",\n      \"expiry_year\": \"2028\",\n      \"cvv\": \"123\",\n      \"name\": \"John Smith\",\n      \"authentication_context\": {\n        \"customer_ip_address\": \"192.168.1.1\",\n        \"browser_details\": {\n          \"accept_header\": \"*/*\",\n          \"javascript_enabled\": true,\n          \"language\": \"en-US\",\n          \"user_agent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36\",\n          \"screen_width\": 1920,\n          \"screen_height\": 1080,\n          \"timezone_offset\": \"-300\",\n          \"java_enabled\": false,\n          \"color_depth\": 24\n        }\n      }\n    },\n    \"billing_details\": {\n      \"name\": \"John Smith\",\n      \"email\": \"john.smith@example.com\",\n      \"phone\": \"+14155551234\",\n      \"address\": {\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"city\": \"San Francisco\",\n        \"state\": \"CA\",\n        \"postal_code\": \"94102\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"description\": \"Hold for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"payment_method_options\": {\n    \"authentication_options\": {\n      \"type\": \"three_ds\",\n      \"three_ds\": {\n        \"flow_indicator\": {\n          \"type\": \"frictionless\",\n          \"frictionless\": {\n            \"sca_exemption_type\": \"low_value\"\n          }\n        }\n      }\n    }\n  },\n  \"metadata\": {\n    \"order_id\": \"12345\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"27ca2b07-8d98-57d3-b9ed-513e8f3f9520","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["holds"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"source_data\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"number\": \"4242424242424242\",\n      \"expiry_month\": \"12\",\n      \"expiry_year\": \"2028\",\n      \"cvv\": \"123\",\n      \"name\": \"John Smith\",\n      \"authentication_context\": {\n        \"customer_ip_address\": \"192.168.1.1\",\n        \"browser_details\": {\n          \"accept_header\": \"*/*\",\n          \"javascript_enabled\": true,\n          \"language\": \"en-US\",\n          \"user_agent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36\",\n          \"screen_width\": 1920,\n          \"screen_height\": 1080,\n          \"timezone_offset\": \"-300\",\n          \"java_enabled\": false,\n          \"color_depth\": 24\n        }\n      }\n    },\n    \"billing_details\": {\n      \"name\": \"John Smith\",\n      \"email\": \"john.smith@example.com\",\n      \"phone\": \"+14155551234\",\n      \"address\": {\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"city\": \"San Francisco\",\n        \"state\": \"CA\",\n        \"postal_code\": \"94102\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"description\": \"Hold for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"payment_method_options\": {\n    \"authentication_options\": {\n      \"type\": \"three_ds\",\n      \"three_ds\": {\n        \"flow_indicator\": {\n          \"type\": \"frictionless\",\n          \"frictionless\": {\n            \"sca_exemption_type\": \"low_value\"\n          }\n        }\n      }\n    }\n  },\n  \"metadata\": {\n    \"order_id\": \"12345\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"31b9560d-c295-5fc3-9f5b-95551261b34f","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["holds"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"source_data\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"number\": \"4242424242424242\",\n      \"expiry_month\": \"12\",\n      \"expiry_year\": \"2028\",\n      \"cvv\": \"123\",\n      \"name\": \"John Smith\",\n      \"authentication_context\": {\n        \"customer_ip_address\": \"192.168.1.1\",\n        \"browser_details\": {\n          \"accept_header\": \"*/*\",\n          \"javascript_enabled\": true,\n          \"language\": \"en-US\",\n          \"user_agent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36\",\n          \"screen_width\": 1920,\n          \"screen_height\": 1080,\n          \"timezone_offset\": \"-300\",\n          \"java_enabled\": false,\n          \"color_depth\": 24\n        }\n      }\n    },\n    \"billing_details\": {\n      \"name\": \"John Smith\",\n      \"email\": \"john.smith@example.com\",\n      \"phone\": \"+14155551234\",\n      \"address\": {\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"city\": \"San Francisco\",\n        \"state\": \"CA\",\n        \"postal_code\": \"94102\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"description\": \"Hold for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"payment_method_options\": {\n    \"authentication_options\": {\n      \"type\": \"three_ds\",\n      \"three_ds\": {\n        \"flow_indicator\": {\n          \"type\": \"frictionless\",\n          \"frictionless\": {\n            \"sca_exemption_type\": \"low_value\"\n          }\n        }\n      }\n    }\n  },\n  \"metadata\": {\n    \"order_id\": \"12345\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c0345030-3ac0-53b5-b097-67cf1aab34f2","name":"The payment method or token in `source` or `payment_method` was not found.","originalRequest":{"url":{"path":["holds"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"source_data\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"number\": \"4242424242424242\",\n      \"expiry_month\": \"12\",\n      \"expiry_year\": \"2028\",\n      \"cvv\": \"123\",\n      \"name\": \"John Smith\",\n      \"authentication_context\": {\n        \"customer_ip_address\": \"192.168.1.1\",\n        \"browser_details\": {\n          \"accept_header\": \"*/*\",\n          \"javascript_enabled\": true,\n          \"language\": \"en-US\",\n          \"user_agent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36\",\n          \"screen_width\": 1920,\n          \"screen_height\": 1080,\n          \"timezone_offset\": \"-300\",\n          \"java_enabled\": false,\n          \"color_depth\": 24\n        }\n      }\n    },\n    \"billing_details\": {\n      \"name\": \"John Smith\",\n      \"email\": \"john.smith@example.com\",\n      \"phone\": \"+14155551234\",\n      \"address\": {\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"city\": \"San Francisco\",\n        \"state\": \"CA\",\n        \"postal_code\": \"94102\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"description\": \"Hold for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"payment_method_options\": {\n    \"authentication_options\": {\n      \"type\": \"three_ds\",\n      \"three_ds\": {\n        \"flow_indicator\": {\n          \"type\": \"frictionless\",\n          \"frictionless\": {\n            \"sca_exemption_type\": \"low_value\"\n          }\n        }\n      }\n    }\n  },\n  \"metadata\": {\n    \"order_id\": \"12345\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9391507f-c046-5cfb-b688-06547a818523","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["holds"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"source_data\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"number\": \"4242424242424242\",\n      \"expiry_month\": \"12\",\n      \"expiry_year\": \"2028\",\n      \"cvv\": \"123\",\n      \"name\": \"John Smith\",\n      \"authentication_context\": {\n        \"customer_ip_address\": \"192.168.1.1\",\n        \"browser_details\": {\n          \"accept_header\": \"*/*\",\n          \"javascript_enabled\": true,\n          \"language\": \"en-US\",\n          \"user_agent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36\",\n          \"screen_width\": 1920,\n          \"screen_height\": 1080,\n          \"timezone_offset\": \"-300\",\n          \"java_enabled\": false,\n          \"color_depth\": 24\n        }\n      }\n    },\n    \"billing_details\": {\n      \"name\": \"John Smith\",\n      \"email\": \"john.smith@example.com\",\n      \"phone\": \"+14155551234\",\n      \"address\": {\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"city\": \"San Francisco\",\n        \"state\": \"CA\",\n        \"postal_code\": \"94102\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"description\": \"Hold for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"payment_method_options\": {\n    \"authentication_options\": {\n      \"type\": \"three_ds\",\n      \"three_ds\": {\n        \"flow_indicator\": {\n          \"type\": \"frictionless\",\n          \"frictionless\": {\n            \"sca_exemption_type\": \"low_value\"\n          }\n        }\n      }\n    }\n  },\n  \"metadata\": {\n    \"order_id\": \"12345\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"90c85ba0-bb99-5e8a-9baf-61c396e623e2","name":"Unprocessable content. The processor does not support holds, or your account cannot accept holds.","originalRequest":{"url":{"path":["holds"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"source_data\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"number\": \"4242424242424242\",\n      \"expiry_month\": \"12\",\n      \"expiry_year\": \"2028\",\n      \"cvv\": \"123\",\n      \"name\": \"John Smith\",\n      \"authentication_context\": {\n        \"customer_ip_address\": \"192.168.1.1\",\n        \"browser_details\": {\n          \"accept_header\": \"*/*\",\n          \"javascript_enabled\": true,\n          \"language\": \"en-US\",\n          \"user_agent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36\",\n          \"screen_width\": 1920,\n          \"screen_height\": 1080,\n          \"timezone_offset\": \"-300\",\n          \"java_enabled\": false,\n          \"color_depth\": 24\n        }\n      }\n    },\n    \"billing_details\": {\n      \"name\": \"John Smith\",\n      \"email\": \"john.smith@example.com\",\n      \"phone\": \"+14155551234\",\n      \"address\": {\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"city\": \"San Francisco\",\n        \"state\": \"CA\",\n        \"postal_code\": \"94102\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"description\": \"Hold for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"payment_method_options\": {\n    \"authentication_options\": {\n      \"type\": \"three_ds\",\n      \"three_ds\": {\n        \"flow_indicator\": {\n          \"type\": \"frictionless\",\n          \"frictionless\": {\n            \"sca_exemption_type\": \"low_value\"\n          }\n        }\n      }\n    }\n  },\n  \"metadata\": {\n    \"order_id\": \"12345\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"Payment method is not set up for \\\"off_session\\\" mode\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5a604b32-cb5f-5acc-aeb0-c890825c890c","name":"Internal server error.","originalRequest":{"url":{"path":["holds"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"source_data\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"number\": \"4242424242424242\",\n      \"expiry_month\": \"12\",\n      \"expiry_year\": \"2028\",\n      \"cvv\": \"123\",\n      \"name\": \"John Smith\",\n      \"authentication_context\": {\n        \"customer_ip_address\": \"192.168.1.1\",\n        \"browser_details\": {\n          \"accept_header\": \"*/*\",\n          \"javascript_enabled\": true,\n          \"language\": \"en-US\",\n          \"user_agent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36\",\n          \"screen_width\": 1920,\n          \"screen_height\": 1080,\n          \"timezone_offset\": \"-300\",\n          \"java_enabled\": false,\n          \"color_depth\": 24\n        }\n      }\n    },\n    \"billing_details\": {\n      \"name\": \"John Smith\",\n      \"email\": \"john.smith@example.com\",\n      \"phone\": \"+14155551234\",\n      \"address\": {\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"city\": \"San Francisco\",\n        \"state\": \"CA\",\n        \"postal_code\": \"94102\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"description\": \"Hold for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"payment_method_options\": {\n    \"authentication_options\": {\n      \"type\": \"three_ds\",\n      \"three_ds\": {\n        \"flow_indicator\": {\n          \"type\": \"frictionless\",\n          \"frictionless\": {\n            \"sca_exemption_type\": \"low_value\"\n          }\n        }\n      }\n    }\n  },\n  \"metadata\": {\n    \"order_id\": \"12345\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9139ff4f-4d96-5d60-a52b-b3a46c8194e2","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["holds"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"source_data\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"number\": \"4242424242424242\",\n      \"expiry_month\": \"12\",\n      \"expiry_year\": \"2028\",\n      \"cvv\": \"123\",\n      \"name\": \"John Smith\",\n      \"authentication_context\": {\n        \"customer_ip_address\": \"192.168.1.1\",\n        \"browser_details\": {\n          \"accept_header\": \"*/*\",\n          \"javascript_enabled\": true,\n          \"language\": \"en-US\",\n          \"user_agent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36\",\n          \"screen_width\": 1920,\n          \"screen_height\": 1080,\n          \"timezone_offset\": \"-300\",\n          \"java_enabled\": false,\n          \"color_depth\": 24\n        }\n      }\n    },\n    \"billing_details\": {\n      \"name\": \"John Smith\",\n      \"email\": \"john.smith@example.com\",\n      \"phone\": \"+14155551234\",\n      \"address\": {\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"city\": \"San Francisco\",\n        \"state\": \"CA\",\n        \"postal_code\": \"94102\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"description\": \"Hold for Order #12345.\",\n  \"reference\": \"order_12345\",\n  \"payment_method_options\": {\n    \"authentication_options\": {\n      \"type\": \"three_ds\",\n      \"three_ds\": {\n        \"flow_indicator\": {\n          \"type\": \"frictionless\",\n          \"frictionless\": {\n            \"sca_exemption_type\": \"low_value\"\n          }\n        }\n      }\n    }\n  },\n  \"metadata\": {\n    \"order_id\": \"12345\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"6acc8b34-e945-53d9-be58-f51d1ab4fb2a","name":"List holds","request":{"name":"List holds","description":{"content":"Returns a list of holds, sorted by creation time, oldest first.\n\n- The `starting_after` and `ending_before` cursors must be hold IDs (`hld_...`).\n- Only one list query per merchant can run at a time; a concurrent query returns 429.","type":"text/plain"},"url":{"path":["holds"],"host":["{{pay_base_url}}"],"query":[{"disabled":false,"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z","description":"Return objects created on or after this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.greater_than`."},{"disabled":false,"key":"created.greater_than","value":"2024-10-10T00:00:00Z","description":"Return objects created after this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.greater_than_or_equals`."},{"disabled":false,"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z","description":"Return objects created on or before this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.less_than`."},{"disabled":false,"key":"created.less_than","value":"2024-10-10T00:00:00Z","description":"Return objects created before this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.less_than_or_equals`."},{"disabled":false,"key":"limit","value":"10","description":"Maximum number of objects to return. Defaults to 10."},{"disabled":false,"key":"customer_reference_id","value":"cust_ext_abc123","description":"Your unique identifier for the customer."},{"disabled":false,"key":"status","value":"requires_capture","description":"Only return holds with this status. One of `requires_capture`, `succeeded`, or `failed`."},{"disabled":false,"key":"ending_before","value":"string","description":"A cursor for pagination. Returns objects created before the object with this ID. Must be the ID of an object of the type being listed (for example a `chrg_` ID when listing charges); other IDs return 400. Lists are sorted by creation time, oldest first. Mutually exclusive with `starting_after`."},{"disabled":false,"key":"starting_after","value":"string","description":"A cursor for pagination. Returns objects created after the object with this ID. Must be the ID of an object of the type being listed (for example a `chrg_` ID when listing charges); other IDs return 400. Lists are sorted by creation time, oldest first. Mutually exclusive with `ending_before`."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"56d6c138-c191-5c7d-9de0-4acc548a744d","name":"Returns a list of hold objects.","originalRequest":{"url":{"path":["holds"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"status","value":"requires_capture"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"resource\": \"holds\",\n  \"data\": [\n    {\n      \"id\": \"hld_296645958265997313\",\n      \"resource\": \"hold\",\n      \"amount\": 10000,\n      \"amount_capturable\": 10000,\n      \"amount_human_readable\": \"100.00\",\n      \"billing_details\": {\n        \"address\": {\n          \"city\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"country\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"line1\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"line2\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"postal_code\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"state\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          }\n        },\n        \"name\": \"John Smith\",\n        \"email\": \"john.smith@example.com\",\n        \"phone\": \"+14155551234\",\n        \"dob\": \"1985-07-15\",\n        \"national_identification_number\": \"123-45-6789\"\n      },\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"currency\": \"usd\",\n      \"captured\": true,\n      \"canceled\": true,\n      \"canceled_at\": \"string\",\n      \"cancellation_reason\": \"null\",\n      \"charges\": {\n        \"data\": [\n          {\n            \"id\": \"chrg_296645958265997312\",\n            \"resource\": \"charge\",\n            \"amount\": 10000,\n            \"amount_human_readable\": \"100.00\",\n            \"amount_refunded\": 0,\n            \"billing_details\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"calculated_statement_descriptor\": \"ACME * ACME STORE\",\n            \"created\": \"2024-01-15T10:30:00Z\",\n            \"currency\": \"usd\",\n            \"customer\": \"cust_296645958265997317\",\n            \"customer_reference_id\": \"cust_ext_abc123\",\n            \"cashflow_transaction\": \"cflw_tx_296645958265997312\",\n            \"description\": \"Payment for Order #12345\",\n            \"disputed\": false,\n            \"failure_code\": \"string\",\n            \"failure_message\": \"string\",\n            \"metadata\": {},\n            \"paid\": true,\n            \"payment_session\": \"ps_296645958265997318\",\n            \"hold\": \"string\",\n            \"payment_method\": \"pm_card_296645958265997316\",\n            \"fraud\": false,\n            \"retry_attempts\": [\n              {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            ],\n            \"payment_method_details\": {\n              \"type\": \"card\",\n              \"card\": {\n                \"bin\": \"424242\",\n                \"brand\": \"visa\",\n                \"cardholder_currency\": \"usd\",\n                \"country\": \"US\",\n                \"exp_month\": \"12\",\n                \"exp_year\": \"2028\",\n                \"fingerprint\": \"fp_abc123xyz789\",\n                \"funding\": \"debit\",\n                \"last4\": \"4242\",\n                \"network\": \"visa\",\n                \"category\": \"consumer\",\n                \"security_checks\": {\n                  \"address_line1_check\": \"unavailable\",\n                  \"address_postal_code_check\": \"unavailable\",\n                  \"cvc_check\": \"pass\"\n                },\n                \"wallet\": null,\n                \"token\": \"tok_card_296645958265997326\",\n                \"three_d_secure\": {\n                  \"authentication_flow\": \"challenge\",\n                  \"result\": \"success\",\n                  \"result_reason\": \"authenticated\",\n                  \"version\": \"2.2.0\",\n                  \"eci\": \"05\",\n                  \"cardholder_info\": null,\n                  \"liability_shift\": true\n                },\n                \"three_ds\": {\n                  \"authentication_flow\": \"challenge\",\n                  \"result\": \"success\",\n                  \"result_reason\": \"authenticated\",\n                  \"status_reason\": null,\n                  \"protocol_version\": \"2.2.0\",\n                  \"eci\": \"02\",\n                  \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n                  \"liability_shift\": true,\n                  \"cardholder_info\": null,\n                  \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n                  \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n                  \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n                  \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n                  \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n                },\n                \"payout\": \"not_available\",\n                \"name_verification\": \"match\",\n                \"partial_approval\": {\n                  \"status\": \"accepted\",\n                  \"amount_requested\": 10000,\n                  \"amount_authorized\": 7500,\n                  \"amount_charged\": 7500,\n                  \"product_id\": \"prod_12345\"\n                },\n                \"name\": \"John Smith\",\n                \"issuer\": \"Chase Bank\"\n              },\n              \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n              \"setup_future_usage\": \"on_session\"\n            },\n            \"payment_method_options\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"refunded\": false,\n            \"refunds\": {\n              \"data\": [\n                {\n                  \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                },\n                {\n                  \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n              ],\n              \"url\": \"/v1/charges/chrg_296645958265997312/refunds\"\n            },\n            \"reference\": \"order_12345\",\n            \"shipping\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"statement_descriptor_suffix\": \"ACME STORE\",\n            \"status\": \"failed\",\n            \"underlying_network_details\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"underlying_network_id\": \"123456789012345\",\n            \"risk_assessment_details\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"test_mode\": false,\n            \"receipt\": null,\n            \"underlying_processing_details\": {\n              \"processor\": \"stripe\",\n              \"transaction_id\": \"pi_abc123xyz789\",\n              \"settlement_account\": \"sa_296645958265997349\",\n              \"settlement_account_details\": {\n                \"processor\": \"pay_com\",\n                \"currency\": \"usd\",\n                \"name\": \"Main Settlement Account\",\n                \"entity\": \"ent_296645958265997359\",\n                \"entity_details\": {\n                  \"legal_name\": \"ACME Corp\",\n                  \"country\": \"US\"\n                }\n              }\n            },\n            \"tax_details\": {\n              \"amount_total\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"tax_behavior\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"tax_quote\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"effective_tax_rate\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"tax_transaction\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            }\n          },\n          {\n            \"id\": \"chrg_296645958265997312\",\n            \"resource\": \"charge\",\n            \"amount\": 10000,\n            \"amount_human_readable\": \"100.00\",\n            \"amount_refunded\": 0,\n            \"billing_details\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"calculated_statement_descriptor\": \"ACME * ACME STORE\",\n            \"created\": \"2024-01-15T10:30:00Z\",\n            \"currency\": \"usd\",\n            \"customer\": \"cust_296645958265997317\",\n            \"customer_reference_id\": \"cust_ext_abc123\",\n            \"cashflow_transaction\": \"cflw_tx_296645958265997312\",\n            \"description\": \"Payment for Order #12345\",\n            \"disputed\": true,\n            \"failure_code\": \"string\",\n            \"failure_message\": \"string\",\n            \"metadata\": {},\n            \"paid\": false,\n            \"payment_session\": \"ps_296645958265997318\",\n            \"hold\": \"string\",\n            \"payment_method\": \"pm_card_296645958265997316\",\n            \"fraud\": false,\n            \"retry_attempts\": [\n              {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            ],\n            \"payment_method_details\": {\n              \"type\": \"card\",\n              \"card\": {\n                \"bin\": \"424242\",\n                \"brand\": \"visa\",\n                \"cardholder_currency\": \"usd\",\n                \"country\": \"US\",\n                \"exp_month\": \"12\",\n                \"exp_year\": \"2028\",\n                \"fingerprint\": \"fp_abc123xyz789\",\n                \"funding\": \"debit\",\n                \"last4\": \"4242\",\n                \"network\": \"visa\",\n                \"category\": \"consumer\",\n                \"security_checks\": {\n                  \"address_line1_check\": \"unavailable\",\n                  \"address_postal_code_check\": \"unavailable\",\n                  \"cvc_check\": \"pass\"\n                },\n                \"wallet\": null,\n                \"token\": \"tok_card_296645958265997326\",\n                \"three_d_secure\": {\n                  \"authentication_flow\": \"challenge\",\n                  \"result\": \"success\",\n                  \"result_reason\": \"authenticated\",\n                  \"version\": \"2.2.0\",\n                  \"eci\": \"05\",\n                  \"cardholder_info\": null,\n                  \"liability_shift\": true\n                },\n                \"three_ds\": {\n                  \"authentication_flow\": \"challenge\",\n                  \"result\": \"success\",\n                  \"result_reason\": \"authenticated\",\n                  \"status_reason\": null,\n                  \"protocol_version\": \"2.2.0\",\n                  \"eci\": \"02\",\n                  \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n                  \"liability_shift\": true,\n                  \"cardholder_info\": null,\n                  \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n                  \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n                  \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n                  \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n                  \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n                },\n                \"payout\": \"not_available\",\n                \"name_verification\": \"match\",\n                \"partial_approval\": {\n                  \"status\": \"accepted\",\n                  \"amount_requested\": 10000,\n                  \"amount_authorized\": 7500,\n                  \"amount_charged\": 7500,\n                  \"product_id\": \"prod_12345\"\n                },\n                \"name\": \"John Smith\",\n                \"issuer\": \"Chase Bank\"\n              },\n              \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n              \"setup_future_usage\": \"on_session\"\n            },\n            \"payment_method_options\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"refunded\": true,\n            \"refunds\": {\n              \"data\": [\n                {\n                  \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                },\n                {\n                  \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n              ],\n              \"url\": \"/v1/charges/chrg_296645958265997312/refunds\"\n            },\n            \"reference\": \"order_12345\",\n            \"shipping\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"statement_descriptor_suffix\": \"ACME STORE\",\n            \"status\": \"blocked\",\n            \"underlying_network_details\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"underlying_network_id\": \"123456789012345\",\n            \"risk_assessment_details\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"test_mode\": false,\n            \"receipt\": null,\n            \"underlying_processing_details\": {\n              \"processor\": \"stripe\",\n              \"transaction_id\": \"pi_abc123xyz789\",\n              \"settlement_account\": \"sa_296645958265997349\",\n              \"settlement_account_details\": {\n                \"processor\": \"pay_com\",\n                \"currency\": \"usd\",\n                \"name\": \"Main Settlement Account\",\n                \"entity\": \"ent_296645958265997359\",\n                \"entity_details\": {\n                  \"legal_name\": \"ACME Corp\",\n                  \"country\": \"US\"\n                }\n              }\n            },\n            \"tax_details\": {\n              \"amount_total\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"tax_behavior\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"tax_quote\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"effective_tax_rate\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"tax_transaction\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            }\n          }\n        ],\n        \"url\": \"/v1/holds/hld_296645958265997313/charges\"\n      },\n      \"customer\": \"cust_296645958265997317\",\n      \"customer_reference_id\": \"cust_ext_abc123\",\n      \"description\": \"Payment for Order #12345\",\n      \"failure_code\": \"string\",\n      \"failure_message\": \"string\",\n      \"metadata\": {},\n      \"payment_session\": \"ps_296645958265997318\",\n      \"payment_method\": \"pm_card_296645958265997316\",\n      \"payment_method_details\": {\n        \"type\": \"card\",\n        \"card\": {\n          \"bin\": \"424242\",\n          \"brand\": \"visa\",\n          \"cardholder_currency\": \"usd\",\n          \"country\": \"US\",\n          \"exp_month\": \"12\",\n          \"exp_year\": \"2028\",\n          \"fingerprint\": \"fp_abc123xyz789\",\n          \"funding\": \"debit\",\n          \"last4\": \"4242\",\n          \"network\": \"visa\",\n          \"category\": \"consumer\",\n          \"security_checks\": {\n            \"address_line1_check\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"address_postal_code_check\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"cvc_check\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"wallet\": {\n            \"type\": \"googlepay\",\n            \"googlepay\": {\n              \"type\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"physical_card_last4\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            \"applepay\": {\n              \"physical_card_last4\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            \"ctp\": {\n              \"physical_card_last4\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"physical_card_bin\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"physical_card_exp_month\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"physical_card_exp_year\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            }\n          },\n          \"token\": \"tok_card_296645958265997326\",\n          \"three_d_secure\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"three_ds\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"payout\": \"not_available\",\n          \"name_verification\": \"match\",\n          \"partial_approval\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"name\": \"John Smith\",\n          \"issuer\": \"Chase Bank\"\n        },\n        \"cashapp\": {\n          \"cashtag\": \"$acmecustomer\",\n          \"name\": \"Jenny Rosen\"\n        },\n        \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n        \"setup_future_usage\": \"on_session\"\n      },\n      \"payment_method_options\": {\n        \"card\": {\n          \"security_checks\": {\n            \"address_line1_check\": true,\n            \"address_postal_code_check\": true,\n            \"cvv_check\": true\n          }\n        }\n      },\n      \"reference\": \"order_12345\",\n      \"shipping\": {\n        \"address\": {\n          \"city\": \"San Francisco\",\n          \"country\": \"US\",\n          \"line1\": \"123 Main Street\",\n          \"line2\": \"Suite 400\",\n          \"postal_code\": \"94102\",\n          \"state\": \"CA\"\n        },\n        \"name\": \"John Smith\",\n        \"phone\": \"+14155551234\"\n      },\n      \"statement_descriptor_suffix\": \"ACME STORE\",\n      \"status\": \"succeeded_partially\",\n      \"underlying_network_details\": {\n        \"network\": \"visa\",\n        \"visa\": {\n          \"arn\": \"74234567890123456789012\",\n          \"auth_code\": \"123456\",\n          \"raw_response_code\": \"00\",\n          \"rrn\": \"123456789012\",\n          \"eci\": \"05\",\n          \"aci\": \"Y\",\n          \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n        }\n      },\n      \"underlying_network_id\": \"123456789012345\",\n      \"test_mode\": false,\n      \"retry_attempts\": [\n        {\n          \"id\": \"rtratt_296645958265997312_1_1\",\n          \"created\": \"2024-01-15T10:30:00Z\",\n          \"type\": \"fallback\",\n          \"failure_code\": \"card_declined\",\n          \"failure_message\": \"The card was declined.\",\n          \"underlying_network_details\": {\n            \"network\": \"visa\",\n            \"visa\": {\n              \"arn\": \"74234567890123456789012\",\n              \"auth_code\": \"123456\",\n              \"raw_response_code\": \"00\",\n              \"rrn\": \"123456789012\",\n              \"eci\": \"05\",\n              \"aci\": \"Y\",\n              \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n            }\n          },\n          \"underlying_network_id\": \"74234567890123456789012\",\n          \"underlying_processing_details\": {\n            \"processor\": \"stripe\",\n            \"transaction_id\": \"pi_abc123xyz789\",\n            \"settlement_account\": \"sa_296645958265997349\",\n            \"settlement_account_details\": {\n              \"processor\": \"pay_com\",\n              \"currency\": \"usd\",\n              \"name\": \"Main Settlement Account\",\n              \"entity\": \"ent_296645958265997359\",\n              \"entity_details\": {\n                \"legal_name\": \"ACME Corp\",\n                \"country\": \"US\"\n              }\n            }\n          },\n          \"payment_method_options\": {\n            \"card\": {\n              \"security_checks\": {\n                \"address_line1_check\": true,\n                \"address_postal_code_check\": true,\n                \"cvv_check\": true\n              }\n            }\n          }\n        },\n        {\n          \"id\": \"rtratt_296645958265997312_1_1\",\n          \"created\": \"2024-01-15T10:30:00Z\",\n          \"type\": \"fallback\",\n          \"failure_code\": \"card_declined\",\n          \"failure_message\": \"The card was declined.\",\n          \"underlying_network_details\": {\n            \"network\": \"visa\",\n            \"visa\": {\n              \"arn\": \"74234567890123456789012\",\n              \"auth_code\": \"123456\",\n              \"raw_response_code\": \"00\",\n              \"rrn\": \"123456789012\",\n              \"eci\": \"05\",\n              \"aci\": \"Y\",\n              \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n            }\n          },\n          \"underlying_network_id\": \"74234567890123456789012\",\n          \"underlying_processing_details\": {\n            \"processor\": \"stripe\",\n            \"transaction_id\": \"pi_abc123xyz789\",\n            \"settlement_account\": \"sa_296645958265997349\",\n            \"settlement_account_details\": {\n              \"processor\": \"pay_com\",\n              \"currency\": \"usd\",\n              \"name\": \"Main Settlement Account\",\n              \"entity\": \"ent_296645958265997359\",\n              \"entity_details\": {\n                \"legal_name\": \"ACME Corp\",\n                \"country\": \"US\"\n              }\n            }\n          },\n          \"payment_method_options\": {\n            \"card\": {\n              \"security_checks\": {\n                \"address_line1_check\": true,\n                \"address_postal_code_check\": true,\n                \"cvv_check\": true\n              }\n            }\n          }\n        }\n      ],\n      \"risk_assessment_details\": {\n        \"outcome\": \"allow\",\n        \"outcome_source\": \"score\",\n        \"rule_id\": \"rl_296645958265997337\",\n        \"rules_id\": [\n          \"rl_296645958265997337\"\n        ],\n        \"score\": \"31\",\n        \"flags\": [\n          \"no_correlation_history\",\n          \"multiple_identities_billing\",\n          \"multiple_identities_card\",\n          \"free_email_provider\",\n          \"risky_billing_time\",\n          \"velocity_multiple_addresses\",\n          \"velocity_multiple_names\"\n        ]\n      },\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      },\n      \"tax_details\": {\n        \"amount_total\": 825,\n        \"tax_behavior\": \"exclusive\",\n        \"tax_quote\": \"txq_296645958265997339\",\n        \"effective_tax_rate\": \"8.25\",\n        \"tax_transaction\": null\n      }\n    },\n    {\n      \"id\": \"hld_296645958265997313\",\n      \"resource\": \"hold\",\n      \"amount\": 10000,\n      \"amount_capturable\": 10000,\n      \"amount_human_readable\": \"100.00\",\n      \"billing_details\": {\n        \"address\": {\n          \"city\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"country\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"line1\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"line2\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"postal_code\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"state\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          }\n        },\n        \"name\": \"John Smith\",\n        \"email\": \"john.smith@example.com\",\n        \"phone\": \"+14155551234\",\n        \"dob\": \"1985-07-15\",\n        \"national_identification_number\": \"123-45-6789\"\n      },\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"currency\": \"usd\",\n      \"captured\": false,\n      \"canceled\": true,\n      \"canceled_at\": \"string\",\n      \"cancellation_reason\": \"hold_on_funds_expired\",\n      \"charges\": {\n        \"data\": [\n          {\n            \"id\": \"chrg_296645958265997312\",\n            \"resource\": \"charge\",\n            \"amount\": 10000,\n            \"amount_human_readable\": \"100.00\",\n            \"amount_refunded\": 0,\n            \"billing_details\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"calculated_statement_descriptor\": \"ACME * ACME STORE\",\n            \"created\": \"2024-01-15T10:30:00Z\",\n            \"currency\": \"usd\",\n            \"customer\": \"cust_296645958265997317\",\n            \"customer_reference_id\": \"cust_ext_abc123\",\n            \"cashflow_transaction\": \"cflw_tx_296645958265997312\",\n            \"description\": \"Payment for Order #12345\",\n            \"disputed\": true,\n            \"failure_code\": \"string\",\n            \"failure_message\": \"string\",\n            \"metadata\": {},\n            \"paid\": true,\n            \"payment_session\": \"ps_296645958265997318\",\n            \"hold\": \"string\",\n            \"payment_method\": \"pm_card_296645958265997316\",\n            \"fraud\": true,\n            \"retry_attempts\": [\n              {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            ],\n            \"payment_method_details\": {\n              \"type\": \"card\",\n              \"card\": {\n                \"bin\": \"424242\",\n                \"brand\": \"visa\",\n                \"cardholder_currency\": \"usd\",\n                \"country\": \"US\",\n                \"exp_month\": \"12\",\n                \"exp_year\": \"2028\",\n                \"fingerprint\": \"fp_abc123xyz789\",\n                \"funding\": \"debit\",\n                \"last4\": \"4242\",\n                \"network\": \"visa\",\n                \"category\": \"consumer\",\n                \"security_checks\": {\n                  \"address_line1_check\": \"unavailable\",\n                  \"address_postal_code_check\": \"unavailable\",\n                  \"cvc_check\": \"pass\"\n                },\n                \"wallet\": null,\n                \"token\": \"tok_card_296645958265997326\",\n                \"three_d_secure\": {\n                  \"authentication_flow\": \"challenge\",\n                  \"result\": \"success\",\n                  \"result_reason\": \"authenticated\",\n                  \"version\": \"2.2.0\",\n                  \"eci\": \"05\",\n                  \"cardholder_info\": null,\n                  \"liability_shift\": true\n                },\n                \"three_ds\": {\n                  \"authentication_flow\": \"challenge\",\n                  \"result\": \"success\",\n                  \"result_reason\": \"authenticated\",\n                  \"status_reason\": null,\n                  \"protocol_version\": \"2.2.0\",\n                  \"eci\": \"02\",\n                  \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n                  \"liability_shift\": true,\n                  \"cardholder_info\": null,\n                  \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n                  \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n                  \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n                  \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n                  \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n                },\n                \"payout\": \"not_available\",\n                \"name_verification\": \"match\",\n                \"partial_approval\": {\n                  \"status\": \"accepted\",\n                  \"amount_requested\": 10000,\n                  \"amount_authorized\": 7500,\n                  \"amount_charged\": 7500,\n                  \"product_id\": \"prod_12345\"\n                },\n                \"name\": \"John Smith\",\n                \"issuer\": \"Chase Bank\"\n              },\n              \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n              \"setup_future_usage\": \"on_session\"\n            },\n            \"payment_method_options\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"refunded\": false,\n            \"refunds\": {\n              \"data\": [\n                {\n                  \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                },\n                {\n                  \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n              ],\n              \"url\": \"/v1/charges/chrg_296645958265997312/refunds\"\n            },\n            \"reference\": \"order_12345\",\n            \"shipping\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"statement_descriptor_suffix\": \"ACME STORE\",\n            \"status\": \"requires_confirmation\",\n            \"underlying_network_details\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"underlying_network_id\": \"123456789012345\",\n            \"risk_assessment_details\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"test_mode\": false,\n            \"receipt\": null,\n            \"underlying_processing_details\": {\n              \"processor\": \"stripe\",\n              \"transaction_id\": \"pi_abc123xyz789\",\n              \"settlement_account\": \"sa_296645958265997349\",\n              \"settlement_account_details\": {\n                \"processor\": \"pay_com\",\n                \"currency\": \"usd\",\n                \"name\": \"Main Settlement Account\",\n                \"entity\": \"ent_296645958265997359\",\n                \"entity_details\": {\n                  \"legal_name\": \"ACME Corp\",\n                  \"country\": \"US\"\n                }\n              }\n            },\n            \"tax_details\": {\n              \"amount_total\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"tax_behavior\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"tax_quote\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"effective_tax_rate\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"tax_transaction\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            }\n          },\n          {\n            \"id\": \"chrg_296645958265997312\",\n            \"resource\": \"charge\",\n            \"amount\": 10000,\n            \"amount_human_readable\": \"100.00\",\n            \"amount_refunded\": 0,\n            \"billing_details\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"calculated_statement_descriptor\": \"ACME * ACME STORE\",\n            \"created\": \"2024-01-15T10:30:00Z\",\n            \"currency\": \"usd\",\n            \"customer\": \"cust_296645958265997317\",\n            \"customer_reference_id\": \"cust_ext_abc123\",\n            \"cashflow_transaction\": \"cflw_tx_296645958265997312\",\n            \"description\": \"Payment for Order #12345\",\n            \"disputed\": false,\n            \"failure_code\": \"string\",\n            \"failure_message\": \"string\",\n            \"metadata\": {},\n            \"paid\": true,\n            \"payment_session\": \"ps_296645958265997318\",\n            \"hold\": \"string\",\n            \"payment_method\": \"pm_card_296645958265997316\",\n            \"fraud\": true,\n            \"retry_attempts\": [\n              {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            ],\n            \"payment_method_details\": {\n              \"type\": \"card\",\n              \"card\": {\n                \"bin\": \"424242\",\n                \"brand\": \"visa\",\n                \"cardholder_currency\": \"usd\",\n                \"country\": \"US\",\n                \"exp_month\": \"12\",\n                \"exp_year\": \"2028\",\n                \"fingerprint\": \"fp_abc123xyz789\",\n                \"funding\": \"debit\",\n                \"last4\": \"4242\",\n                \"network\": \"visa\",\n                \"category\": \"consumer\",\n                \"security_checks\": {\n                  \"address_line1_check\": \"unavailable\",\n                  \"address_postal_code_check\": \"unavailable\",\n                  \"cvc_check\": \"pass\"\n                },\n                \"wallet\": null,\n                \"token\": \"tok_card_296645958265997326\",\n                \"three_d_secure\": {\n                  \"authentication_flow\": \"challenge\",\n                  \"result\": \"success\",\n                  \"result_reason\": \"authenticated\",\n                  \"version\": \"2.2.0\",\n                  \"eci\": \"05\",\n                  \"cardholder_info\": null,\n                  \"liability_shift\": true\n                },\n                \"three_ds\": {\n                  \"authentication_flow\": \"challenge\",\n                  \"result\": \"success\",\n                  \"result_reason\": \"authenticated\",\n                  \"status_reason\": null,\n                  \"protocol_version\": \"2.2.0\",\n                  \"eci\": \"02\",\n                  \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n                  \"liability_shift\": true,\n                  \"cardholder_info\": null,\n                  \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n                  \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n                  \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n                  \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n                  \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n                },\n                \"payout\": \"not_available\",\n                \"name_verification\": \"match\",\n                \"partial_approval\": {\n                  \"status\": \"accepted\",\n                  \"amount_requested\": 10000,\n                  \"amount_authorized\": 7500,\n                  \"amount_charged\": 7500,\n                  \"product_id\": \"prod_12345\"\n                },\n                \"name\": \"John Smith\",\n                \"issuer\": \"Chase Bank\"\n              },\n              \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n              \"setup_future_usage\": \"on_session\"\n            },\n            \"payment_method_options\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"refunded\": true,\n            \"refunds\": {\n              \"data\": [\n                {\n                  \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                },\n                {\n                  \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n                }\n              ],\n              \"url\": \"/v1/charges/chrg_296645958265997312/refunds\"\n            },\n            \"reference\": \"order_12345\",\n            \"shipping\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"statement_descriptor_suffix\": \"ACME STORE\",\n            \"status\": \"requires_confirmation\",\n            \"underlying_network_details\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"underlying_network_id\": \"123456789012345\",\n            \"risk_assessment_details\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"test_mode\": true,\n            \"receipt\": null,\n            \"underlying_processing_details\": {\n              \"processor\": \"stripe\",\n              \"transaction_id\": \"pi_abc123xyz789\",\n              \"settlement_account\": \"sa_296645958265997349\",\n              \"settlement_account_details\": {\n                \"processor\": \"pay_com\",\n                \"currency\": \"usd\",\n                \"name\": \"Main Settlement Account\",\n                \"entity\": \"ent_296645958265997359\",\n                \"entity_details\": {\n                  \"legal_name\": \"ACME Corp\",\n                  \"country\": \"US\"\n                }\n              }\n            },\n            \"tax_details\": {\n              \"amount_total\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"tax_behavior\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"tax_quote\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"effective_tax_rate\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"tax_transaction\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            }\n          }\n        ],\n        \"url\": \"/v1/holds/hld_296645958265997313/charges\"\n      },\n      \"customer\": \"cust_296645958265997317\",\n      \"customer_reference_id\": \"cust_ext_abc123\",\n      \"description\": \"Payment for Order #12345\",\n      \"failure_code\": \"string\",\n      \"failure_message\": \"string\",\n      \"metadata\": {},\n      \"payment_session\": \"ps_296645958265997318\",\n      \"payment_method\": \"pm_card_296645958265997316\",\n      \"payment_method_details\": {\n        \"type\": \"card\",\n        \"card\": {\n          \"bin\": \"424242\",\n          \"brand\": \"visa\",\n          \"cardholder_currency\": \"usd\",\n          \"country\": \"US\",\n          \"exp_month\": \"12\",\n          \"exp_year\": \"2028\",\n          \"fingerprint\": \"fp_abc123xyz789\",\n          \"funding\": \"debit\",\n          \"last4\": \"4242\",\n          \"network\": \"visa\",\n          \"category\": \"business\",\n          \"security_checks\": {\n            \"address_line1_check\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"address_postal_code_check\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"cvc_check\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"wallet\": {\n            \"type\": \"googlepay\",\n            \"googlepay\": {\n              \"type\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"physical_card_last4\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            \"applepay\": {\n              \"physical_card_last4\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            \"ctp\": {\n              \"physical_card_last4\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"physical_card_bin\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"physical_card_exp_month\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"physical_card_exp_year\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            }\n          },\n          \"token\": \"tok_card_296645958265997326\",\n          \"three_d_secure\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"three_ds\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"payout\": \"not_available\",\n          \"name_verification\": \"match\",\n          \"partial_approval\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"name\": \"John Smith\",\n          \"issuer\": \"Chase Bank\"\n        },\n        \"cashapp\": {\n          \"cashtag\": \"$acmecustomer\",\n          \"name\": \"Jenny Rosen\"\n        },\n        \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n        \"setup_future_usage\": \"on_session\"\n      },\n      \"payment_method_options\": {\n        \"card\": {\n          \"security_checks\": {\n            \"address_line1_check\": true,\n            \"address_postal_code_check\": true,\n            \"cvv_check\": true\n          }\n        }\n      },\n      \"reference\": \"order_12345\",\n      \"shipping\": {\n        \"address\": {\n          \"city\": \"San Francisco\",\n          \"country\": \"US\",\n          \"line1\": \"123 Main Street\",\n          \"line2\": \"Suite 400\",\n          \"postal_code\": \"94102\",\n          \"state\": \"CA\"\n        },\n        \"name\": \"John Smith\",\n        \"phone\": \"+14155551234\"\n      },\n      \"statement_descriptor_suffix\": \"ACME STORE\",\n      \"status\": \"succeeded_partially\",\n      \"underlying_network_details\": {\n        \"network\": \"visa\",\n        \"visa\": {\n          \"arn\": \"74234567890123456789012\",\n          \"auth_code\": \"123456\",\n          \"raw_response_code\": \"00\",\n          \"rrn\": \"123456789012\",\n          \"eci\": \"05\",\n          \"aci\": \"Y\",\n          \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n        }\n      },\n      \"underlying_network_id\": \"123456789012345\",\n      \"test_mode\": false,\n      \"retry_attempts\": [\n        {\n          \"id\": \"rtratt_296645958265997312_1_1\",\n          \"created\": \"2024-01-15T10:30:00Z\",\n          \"type\": \"fallback\",\n          \"failure_code\": \"card_declined\",\n          \"failure_message\": \"The card was declined.\",\n          \"underlying_network_details\": {\n            \"network\": \"visa\",\n            \"visa\": {\n              \"arn\": \"74234567890123456789012\",\n              \"auth_code\": \"123456\",\n              \"raw_response_code\": \"00\",\n              \"rrn\": \"123456789012\",\n              \"eci\": \"05\",\n              \"aci\": \"Y\",\n              \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n            }\n          },\n          \"underlying_network_id\": \"74234567890123456789012\",\n          \"underlying_processing_details\": {\n            \"processor\": \"stripe\",\n            \"transaction_id\": \"pi_abc123xyz789\",\n            \"settlement_account\": \"sa_296645958265997349\",\n            \"settlement_account_details\": {\n              \"processor\": \"pay_com\",\n              \"currency\": \"usd\",\n              \"name\": \"Main Settlement Account\",\n              \"entity\": \"ent_296645958265997359\",\n              \"entity_details\": {\n                \"legal_name\": \"ACME Corp\",\n                \"country\": \"US\"\n              }\n            }\n          },\n          \"payment_method_options\": {\n            \"card\": {\n              \"security_checks\": {\n                \"address_line1_check\": true,\n                \"address_postal_code_check\": true,\n                \"cvv_check\": true\n              }\n            }\n          }\n        },\n        {\n          \"id\": \"rtratt_296645958265997312_1_1\",\n          \"created\": \"2024-01-15T10:30:00Z\",\n          \"type\": \"fallback\",\n          \"failure_code\": \"card_declined\",\n          \"failure_message\": \"The card was declined.\",\n          \"underlying_network_details\": {\n            \"network\": \"visa\",\n            \"visa\": {\n              \"arn\": \"74234567890123456789012\",\n              \"auth_code\": \"123456\",\n              \"raw_response_code\": \"00\",\n              \"rrn\": \"123456789012\",\n              \"eci\": \"05\",\n              \"aci\": \"Y\",\n              \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n            }\n          },\n          \"underlying_network_id\": \"74234567890123456789012\",\n          \"underlying_processing_details\": {\n            \"processor\": \"stripe\",\n            \"transaction_id\": \"pi_abc123xyz789\",\n            \"settlement_account\": \"sa_296645958265997349\",\n            \"settlement_account_details\": {\n              \"processor\": \"pay_com\",\n              \"currency\": \"usd\",\n              \"name\": \"Main Settlement Account\",\n              \"entity\": \"ent_296645958265997359\",\n              \"entity_details\": {\n                \"legal_name\": \"ACME Corp\",\n                \"country\": \"US\"\n              }\n            }\n          },\n          \"payment_method_options\": {\n            \"card\": {\n              \"security_checks\": {\n                \"address_line1_check\": true,\n                \"address_postal_code_check\": true,\n                \"cvv_check\": true\n              }\n            }\n          }\n        }\n      ],\n      \"risk_assessment_details\": {\n        \"outcome\": \"allow\",\n        \"outcome_source\": \"score\",\n        \"rule_id\": \"rl_296645958265997337\",\n        \"rules_id\": [\n          \"rl_296645958265997337\"\n        ],\n        \"score\": \"31\",\n        \"flags\": [\n          \"no_correlation_history\",\n          \"multiple_identities_billing\",\n          \"multiple_identities_card\",\n          \"free_email_provider\",\n          \"risky_billing_time\",\n          \"velocity_multiple_addresses\",\n          \"velocity_multiple_names\"\n        ]\n      },\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      },\n      \"tax_details\": {\n        \"amount_total\": 825,\n        \"tax_behavior\": \"exclusive\",\n        \"tax_quote\": \"txq_296645958265997339\",\n        \"effective_tax_rate\": \"8.25\",\n        \"tax_transaction\": null\n      }\n    }\n  ],\n  \"has_more\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8f3d7eee-2e3f-50cc-927c-e7d60517491c","name":"Invalid request parameters.","originalRequest":{"url":{"path":["holds"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"status","value":"requires_capture"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a7793d81-6640-5c4f-a18d-86b86c448444","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["holds"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"status","value":"requires_capture"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e7257f17-3fc8-5b38-96e1-951a6c919e41","name":"List queries are disabled for your account (`Bulk queries are disabled.`).\n\nA 403 can also mean the key may not make this request; `code` says why.","originalRequest":{"url":{"path":["holds"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"status","value":"requires_capture"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"778088ef-f0fe-58fd-a33a-cd95eca51f65","name":"Another list query is already running for your account. Retry after the number of seconds in the `Retry-After` header.","originalRequest":{"url":{"path":["holds"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"status","value":"requires_capture"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"disabled":false,"description":"Number of seconds to wait before retrying.","key":"Retry-After","value":"6186"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Only one bulk query per merchant can run at a time. Retry after the current query completes.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"599f8e3f-681b-5f12-9af1-19ba52115964","name":"Internal server error.","originalRequest":{"url":{"path":["holds"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"status","value":"requires_capture"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b8fe0954-743a-5300-8954-3527744fec87","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["holds"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"customer_reference_id","value":"cust_ext_abc123"},{"key":"status","value":"requires_capture"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c5d37939-7692-5026-84e6-83bf92c3f973","name":"Retrieve a hold by reference","request":{"name":"Retrieve a hold by reference","description":{"content":"Retrieves the details of a hold by the `reference` you set when creating it.","type":"text/plain"},"url":{"path":["holds","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"order_12345","key":"reference_id","description":"(Required) The unique reference that was provided when the hold was created."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"05b9577f-1744-5417-b74d-b7fbd7586e34","name":"Returns the hold object.","originalRequest":{"url":{"path":["holds","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"order_12345","key":"reference_id","description":"(Required) The unique reference that was provided when the hold was created."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"hld_296645958265997313\",\n  \"resource\": \"hold\",\n  \"amount\": 10000,\n  \"amount_capturable\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"currency\": \"usd\",\n  \"captured\": true,\n  \"canceled\": true,\n  \"canceled_at\": \"string\",\n  \"cancellation_reason\": \"null\",\n  \"charges\": {\n    \"data\": [\n      {\n        \"id\": \"chrg_296645958265997312\",\n        \"resource\": \"charge\",\n        \"amount\": 10000,\n        \"amount_human_readable\": \"100.00\",\n        \"amount_refunded\": 0,\n        \"billing_details\": {\n          \"address\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"name\": \"John Smith\",\n          \"email\": \"john.smith@example.com\",\n          \"phone\": \"+14155551234\",\n          \"dob\": \"1985-07-15\",\n          \"national_identification_number\": \"123-45-6789\"\n        },\n        \"calculated_statement_descriptor\": \"ACME * ACME STORE\",\n        \"created\": \"2024-01-15T10:30:00Z\",\n        \"currency\": \"usd\",\n        \"customer\": \"cust_296645958265997317\",\n        \"customer_reference_id\": \"cust_ext_abc123\",\n        \"cashflow_transaction\": \"cflw_tx_296645958265997312\",\n        \"description\": \"Payment for Order #12345\",\n        \"disputed\": false,\n        \"failure_code\": \"string\",\n        \"failure_message\": \"string\",\n        \"metadata\": {},\n        \"paid\": true,\n        \"payment_session\": \"ps_296645958265997318\",\n        \"hold\": \"string\",\n        \"payment_method\": \"pm_card_296645958265997316\",\n        \"fraud\": true,\n        \"retry_attempts\": [\n          {\n            \"id\": \"rtratt_296645958265997312_1_1\",\n            \"created\": \"2024-01-15T10:30:00Z\",\n            \"type\": \"fallback\",\n            \"failure_code\": \"card_declined\",\n            \"failure_message\": \"The card was declined.\",\n            \"underlying_network_details\": {\n              \"network\": \"visa\",\n              \"visa\": {\n                \"arn\": \"74234567890123456789012\",\n                \"auth_code\": \"123456\",\n                \"raw_response_code\": \"00\",\n                \"rrn\": \"123456789012\",\n                \"eci\": \"05\",\n                \"aci\": \"Y\",\n                \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n              }\n            },\n            \"underlying_network_id\": \"74234567890123456789012\",\n            \"underlying_processing_details\": {\n              \"processor\": \"stripe\",\n              \"transaction_id\": \"pi_abc123xyz789\",\n              \"settlement_account\": \"sa_296645958265997349\",\n              \"settlement_account_details\": {\n                \"processor\": \"pay_com\",\n                \"currency\": \"usd\",\n                \"name\": \"Main Settlement Account\",\n                \"entity\": \"ent_296645958265997359\",\n                \"entity_details\": {\n                  \"legal_name\": \"ACME Corp\",\n                  \"country\": \"US\"\n                }\n              }\n            },\n            \"payment_method_options\": {\n              \"card\": {\n                \"security_checks\": {\n                  \"address_line1_check\": true,\n                  \"address_postal_code_check\": true,\n                  \"cvv_check\": true\n                }\n              }\n            }\n          },\n          {\n            \"id\": \"rtratt_296645958265997312_1_1\",\n            \"created\": \"2024-01-15T10:30:00Z\",\n            \"type\": \"fallback\",\n            \"failure_code\": \"card_declined\",\n            \"failure_message\": \"The card was declined.\",\n            \"underlying_network_details\": {\n              \"network\": \"visa\",\n              \"visa\": {\n                \"arn\": \"74234567890123456789012\",\n                \"auth_code\": \"123456\",\n                \"raw_response_code\": \"00\",\n                \"rrn\": \"123456789012\",\n                \"eci\": \"05\",\n                \"aci\": \"Y\",\n                \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n              }\n            },\n            \"underlying_network_id\": \"74234567890123456789012\",\n            \"underlying_processing_details\": {\n              \"processor\": \"stripe\",\n              \"transaction_id\": \"pi_abc123xyz789\",\n              \"settlement_account\": \"sa_296645958265997349\",\n              \"settlement_account_details\": {\n                \"processor\": \"pay_com\",\n                \"currency\": \"usd\",\n                \"name\": \"Main Settlement Account\",\n                \"entity\": \"ent_296645958265997359\",\n                \"entity_details\": {\n                  \"legal_name\": \"ACME Corp\",\n                  \"country\": \"US\"\n                }\n              }\n            },\n            \"payment_method_options\": {\n              \"card\": {\n                \"security_checks\": {\n                  \"address_line1_check\": true,\n                  \"address_postal_code_check\": true,\n                  \"cvv_check\": true\n                }\n              }\n            }\n          }\n        ],\n        \"payment_method_details\": {\n          \"type\": \"card\",\n          \"card\": {\n            \"bin\": \"424242\",\n            \"brand\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"cardholder_currency\": \"usd\",\n            \"country\": \"US\",\n            \"exp_month\": \"12\",\n            \"exp_year\": \"2028\",\n            \"fingerprint\": \"fp_abc123xyz789\",\n            \"funding\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"last4\": \"4242\",\n            \"network\": \"visa\",\n            \"category\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"security_checks\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"wallet\": {\n              \"type\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"googlepay\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"applepay\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"ctp\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            \"token\": \"tok_card_296645958265997326\",\n            \"three_d_secure\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"three_ds\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"payout\": \"not_available\",\n            \"name_verification\": \"match\",\n            \"partial_approval\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"name\": \"John Smith\",\n            \"issuer\": \"Chase Bank\"\n          },\n          \"cashapp\": {\n            \"cashtag\": \"$acmecustomer\",\n            \"name\": \"Jenny Rosen\"\n          },\n          \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n          \"setup_future_usage\": \"on_session\"\n        },\n        \"payment_method_options\": {\n          \"card\": {\n            \"security_checks\": {\n              \"address_line1_check\": true,\n              \"address_postal_code_check\": true,\n              \"cvv_check\": true\n            }\n          }\n        },\n        \"refunded\": false,\n        \"refunds\": {\n          \"data\": [\n            {\n              \"id\": \"rfnd_296645958265997314\",\n              \"resource\": \"refund\",\n              \"amount\": 10000,\n              \"amount_human_readable\": \"100.00\",\n              \"charge\": \"chrg_296645958265997312\",\n              \"created\": \"2024-01-15T10:30:00Z\",\n              \"currency\": \"usd\",\n              \"customer\": \"cust_296645958265997317\",\n              \"customer_reference_id\": \"cust_ext_abc123\",\n              \"metadata\": {},\n              \"reference\": \"refund_order_12345\",\n              \"status\": \"succeeded\",\n              \"failure_code\": \"string\",\n              \"failure_message\": \"string\",\n              \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n              \"test_mode\": false,\n              \"underlying_network_id\": \"123456789012345\",\n              \"underlying_network_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"underlying_processing_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"risk_assessment_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"receipt\": null,\n              \"tax_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            {\n              \"id\": \"rfnd_296645958265997314\",\n              \"resource\": \"refund\",\n              \"amount\": 10000,\n              \"amount_human_readable\": \"100.00\",\n              \"charge\": \"chrg_296645958265997312\",\n              \"created\": \"2024-01-15T10:30:00Z\",\n              \"currency\": \"usd\",\n              \"customer\": \"cust_296645958265997317\",\n              \"customer_reference_id\": \"cust_ext_abc123\",\n              \"metadata\": {},\n              \"reference\": \"refund_order_12345\",\n              \"status\": \"succeeded\",\n              \"failure_code\": \"string\",\n              \"failure_message\": \"string\",\n              \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n              \"test_mode\": true,\n              \"underlying_network_id\": \"123456789012345\",\n              \"underlying_network_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"underlying_processing_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"risk_assessment_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"receipt\": null,\n              \"tax_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            }\n          ],\n          \"url\": \"/v1/charges/chrg_296645958265997312/refunds\"\n        },\n        \"reference\": \"order_12345\",\n        \"shipping\": {\n          \"address\": {\n            \"city\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"country\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"line1\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"line2\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"postal_code\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"state\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"name\": \"John Smith\",\n          \"phone\": \"+14155551234\"\n        },\n        \"statement_descriptor_suffix\": \"ACME STORE\",\n        \"status\": \"failed\",\n        \"underlying_network_details\": {\n          \"network\": \"visa\",\n          \"visa\": {\n            \"arn\": \"74234567890123456789012\",\n            \"auth_code\": \"123456\",\n            \"raw_response_code\": \"00\",\n            \"rrn\": \"123456789012\",\n            \"eci\": \"05\",\n            \"aci\": \"Y\",\n            \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n          }\n        },\n        \"underlying_network_id\": \"123456789012345\",\n        \"risk_assessment_details\": {\n          \"outcome\": \"allow\",\n          \"outcome_source\": \"score\",\n          \"rule_id\": \"rl_296645958265997337\",\n          \"rules_id\": [\n            \"rl_296645958265997337\"\n          ],\n          \"score\": \"31\",\n          \"flags\": [\n            \"no_correlation_history\",\n            \"multiple_identities_billing\",\n            \"multiple_identities_card\",\n            \"free_email_provider\",\n            \"risky_billing_time\",\n            \"velocity_multiple_addresses\",\n            \"velocity_multiple_names\"\n          ]\n        },\n        \"test_mode\": true,\n        \"receipt\": null,\n        \"underlying_processing_details\": {\n          \"processor\": \"stripe\",\n          \"transaction_id\": \"pi_abc123xyz789\",\n          \"settlement_account\": \"sa_296645958265997349\",\n          \"settlement_account_details\": {\n            \"processor\": \"pay_com\",\n            \"currency\": \"usd\",\n            \"name\": \"Main Settlement Account\",\n            \"entity\": \"ent_296645958265997359\",\n            \"entity_details\": {\n              \"legal_name\": \"ACME Corp\",\n              \"country\": \"US\"\n            }\n          }\n        },\n        \"tax_details\": {\n          \"amount_total\": 825,\n          \"tax_behavior\": \"exclusive\",\n          \"tax_quote\": \"txq_296645958265997339\",\n          \"effective_tax_rate\": \"8.25\",\n          \"tax_transaction\": null\n        }\n      },\n      {\n        \"id\": \"chrg_296645958265997312\",\n        \"resource\": \"charge\",\n        \"amount\": 10000,\n        \"amount_human_readable\": \"100.00\",\n        \"amount_refunded\": 0,\n        \"billing_details\": {\n          \"address\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"name\": \"John Smith\",\n          \"email\": \"john.smith@example.com\",\n          \"phone\": \"+14155551234\",\n          \"dob\": \"1985-07-15\",\n          \"national_identification_number\": \"123-45-6789\"\n        },\n        \"calculated_statement_descriptor\": \"ACME * ACME STORE\",\n        \"created\": \"2024-01-15T10:30:00Z\",\n        \"currency\": \"usd\",\n        \"customer\": \"cust_296645958265997317\",\n        \"customer_reference_id\": \"cust_ext_abc123\",\n        \"cashflow_transaction\": \"cflw_tx_296645958265997312\",\n        \"description\": \"Payment for Order #12345\",\n        \"disputed\": false,\n        \"failure_code\": \"string\",\n        \"failure_message\": \"string\",\n        \"metadata\": {},\n        \"paid\": true,\n        \"payment_session\": \"ps_296645958265997318\",\n        \"hold\": \"string\",\n        \"payment_method\": \"pm_card_296645958265997316\",\n        \"fraud\": true,\n        \"retry_attempts\": [\n          {\n            \"id\": \"rtratt_296645958265997312_1_1\",\n            \"created\": \"2024-01-15T10:30:00Z\",\n            \"type\": \"fallback\",\n            \"failure_code\": \"card_declined\",\n            \"failure_message\": \"The card was declined.\",\n            \"underlying_network_details\": {\n              \"network\": \"visa\",\n              \"visa\": {\n                \"arn\": \"74234567890123456789012\",\n                \"auth_code\": \"123456\",\n                \"raw_response_code\": \"00\",\n                \"rrn\": \"123456789012\",\n                \"eci\": \"05\",\n                \"aci\": \"Y\",\n                \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n              }\n            },\n            \"underlying_network_id\": \"74234567890123456789012\",\n            \"underlying_processing_details\": {\n              \"processor\": \"stripe\",\n              \"transaction_id\": \"pi_abc123xyz789\",\n              \"settlement_account\": \"sa_296645958265997349\",\n              \"settlement_account_details\": {\n                \"processor\": \"pay_com\",\n                \"currency\": \"usd\",\n                \"name\": \"Main Settlement Account\",\n                \"entity\": \"ent_296645958265997359\",\n                \"entity_details\": {\n                  \"legal_name\": \"ACME Corp\",\n                  \"country\": \"US\"\n                }\n              }\n            },\n            \"payment_method_options\": {\n              \"card\": {\n                \"security_checks\": {\n                  \"address_line1_check\": true,\n                  \"address_postal_code_check\": true,\n                  \"cvv_check\": true\n                }\n              }\n            }\n          },\n          {\n            \"id\": \"rtratt_296645958265997312_1_1\",\n            \"created\": \"2024-01-15T10:30:00Z\",\n            \"type\": \"fallback\",\n            \"failure_code\": \"card_declined\",\n            \"failure_message\": \"The card was declined.\",\n            \"underlying_network_details\": {\n              \"network\": \"visa\",\n              \"visa\": {\n                \"arn\": \"74234567890123456789012\",\n                \"auth_code\": \"123456\",\n                \"raw_response_code\": \"00\",\n                \"rrn\": \"123456789012\",\n                \"eci\": \"05\",\n                \"aci\": \"Y\",\n                \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n              }\n            },\n            \"underlying_network_id\": \"74234567890123456789012\",\n            \"underlying_processing_details\": {\n              \"processor\": \"stripe\",\n              \"transaction_id\": \"pi_abc123xyz789\",\n              \"settlement_account\": \"sa_296645958265997349\",\n              \"settlement_account_details\": {\n                \"processor\": \"pay_com\",\n                \"currency\": \"usd\",\n                \"name\": \"Main Settlement Account\",\n                \"entity\": \"ent_296645958265997359\",\n                \"entity_details\": {\n                  \"legal_name\": \"ACME Corp\",\n                  \"country\": \"US\"\n                }\n              }\n            },\n            \"payment_method_options\": {\n              \"card\": {\n                \"security_checks\": {\n                  \"address_line1_check\": true,\n                  \"address_postal_code_check\": true,\n                  \"cvv_check\": true\n                }\n              }\n            }\n          }\n        ],\n        \"payment_method_details\": {\n          \"type\": \"card\",\n          \"card\": {\n            \"bin\": \"424242\",\n            \"brand\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"cardholder_currency\": \"usd\",\n            \"country\": \"US\",\n            \"exp_month\": \"12\",\n            \"exp_year\": \"2028\",\n            \"fingerprint\": \"fp_abc123xyz789\",\n            \"funding\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"last4\": \"4242\",\n            \"network\": \"visa\",\n            \"category\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"security_checks\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"wallet\": {\n              \"type\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"googlepay\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"applepay\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"ctp\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            \"token\": \"tok_card_296645958265997326\",\n            \"three_d_secure\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"three_ds\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"payout\": \"not_available\",\n            \"name_verification\": \"match\",\n            \"partial_approval\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"name\": \"John Smith\",\n            \"issuer\": \"Chase Bank\"\n          },\n          \"cashapp\": {\n            \"cashtag\": \"$acmecustomer\",\n            \"name\": \"Jenny Rosen\"\n          },\n          \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n          \"setup_future_usage\": \"on_session\"\n        },\n        \"payment_method_options\": {\n          \"card\": {\n            \"security_checks\": {\n              \"address_line1_check\": true,\n              \"address_postal_code_check\": true,\n              \"cvv_check\": true\n            }\n          }\n        },\n        \"refunded\": true,\n        \"refunds\": {\n          \"data\": [\n            {\n              \"id\": \"rfnd_296645958265997314\",\n              \"resource\": \"refund\",\n              \"amount\": 10000,\n              \"amount_human_readable\": \"100.00\",\n              \"charge\": \"chrg_296645958265997312\",\n              \"created\": \"2024-01-15T10:30:00Z\",\n              \"currency\": \"usd\",\n              \"customer\": \"cust_296645958265997317\",\n              \"customer_reference_id\": \"cust_ext_abc123\",\n              \"metadata\": {},\n              \"reference\": \"refund_order_12345\",\n              \"status\": \"succeeded\",\n              \"failure_code\": \"string\",\n              \"failure_message\": \"string\",\n              \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n              \"test_mode\": false,\n              \"underlying_network_id\": \"123456789012345\",\n              \"underlying_network_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"underlying_processing_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"risk_assessment_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"receipt\": null,\n              \"tax_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            {\n              \"id\": \"rfnd_296645958265997314\",\n              \"resource\": \"refund\",\n              \"amount\": 10000,\n              \"amount_human_readable\": \"100.00\",\n              \"charge\": \"chrg_296645958265997312\",\n              \"created\": \"2024-01-15T10:30:00Z\",\n              \"currency\": \"usd\",\n              \"customer\": \"cust_296645958265997317\",\n              \"customer_reference_id\": \"cust_ext_abc123\",\n              \"metadata\": {},\n              \"reference\": \"refund_order_12345\",\n              \"status\": \"succeeded\",\n              \"failure_code\": \"string\",\n              \"failure_message\": \"string\",\n              \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n              \"test_mode\": true,\n              \"underlying_network_id\": \"123456789012345\",\n              \"underlying_network_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"underlying_processing_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"risk_assessment_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"receipt\": null,\n              \"tax_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            }\n          ],\n          \"url\": \"/v1/charges/chrg_296645958265997312/refunds\"\n        },\n        \"reference\": \"order_12345\",\n        \"shipping\": {\n          \"address\": {\n            \"city\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"country\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"line1\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"line2\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"postal_code\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"state\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"name\": \"John Smith\",\n          \"phone\": \"+14155551234\"\n        },\n        \"statement_descriptor_suffix\": \"ACME STORE\",\n        \"status\": \"pending\",\n        \"underlying_network_details\": {\n          \"network\": \"visa\",\n          \"visa\": {\n            \"arn\": \"74234567890123456789012\",\n            \"auth_code\": \"123456\",\n            \"raw_response_code\": \"00\",\n            \"rrn\": \"123456789012\",\n            \"eci\": \"05\",\n            \"aci\": \"Y\",\n            \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n          }\n        },\n        \"underlying_network_id\": \"123456789012345\",\n        \"risk_assessment_details\": {\n          \"outcome\": \"allow\",\n          \"outcome_source\": \"score\",\n          \"rule_id\": \"rl_296645958265997337\",\n          \"rules_id\": [\n            \"rl_296645958265997337\"\n          ],\n          \"score\": \"31\",\n          \"flags\": [\n            \"no_correlation_history\",\n            \"multiple_identities_billing\",\n            \"multiple_identities_card\",\n            \"free_email_provider\",\n            \"risky_billing_time\",\n            \"velocity_multiple_addresses\",\n            \"velocity_multiple_names\"\n          ]\n        },\n        \"test_mode\": false,\n        \"receipt\": null,\n        \"underlying_processing_details\": {\n          \"processor\": \"stripe\",\n          \"transaction_id\": \"pi_abc123xyz789\",\n          \"settlement_account\": \"sa_296645958265997349\",\n          \"settlement_account_details\": {\n            \"processor\": \"pay_com\",\n            \"currency\": \"usd\",\n            \"name\": \"Main Settlement Account\",\n            \"entity\": \"ent_296645958265997359\",\n            \"entity_details\": {\n              \"legal_name\": \"ACME Corp\",\n              \"country\": \"US\"\n            }\n          }\n        },\n        \"tax_details\": {\n          \"amount_total\": 825,\n          \"tax_behavior\": \"exclusive\",\n          \"tax_quote\": \"txq_296645958265997339\",\n          \"effective_tax_rate\": \"8.25\",\n          \"tax_transaction\": null\n        }\n      }\n    ],\n    \"url\": \"/v1/holds/hld_296645958265997313/charges\"\n  },\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"description\": \"Payment for Order #12345\",\n  \"failure_code\": \"string\",\n  \"failure_message\": \"string\",\n  \"metadata\": {},\n  \"payment_session\": \"ps_296645958265997318\",\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"payment_method_details\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"bin\": \"424242\",\n      \"brand\": \"visa\",\n      \"cardholder_currency\": \"usd\",\n      \"country\": \"US\",\n      \"exp_month\": \"12\",\n      \"exp_year\": \"2028\",\n      \"fingerprint\": \"fp_abc123xyz789\",\n      \"funding\": \"credit\",\n      \"last4\": \"4242\",\n      \"network\": \"visa\",\n      \"category\": \"consumer\",\n      \"security_checks\": {\n        \"address_line1_check\": \"unavailable\",\n        \"address_postal_code_check\": \"unavailable\",\n        \"cvc_check\": \"pass\"\n      },\n      \"wallet\": {\n        \"type\": \"googlepay\",\n        \"googlepay\": {\n          \"type\": \"cryptogram_3ds\",\n          \"physical_card_last4\": \"4242\"\n        },\n        \"applepay\": {\n          \"physical_card_last4\": \"4242\"\n        },\n        \"ctp\": {\n          \"physical_card_last4\": \"string\",\n          \"physical_card_bin\": \"string\",\n          \"physical_card_exp_month\": \"string\",\n          \"physical_card_exp_year\": \"string\"\n        }\n      },\n      \"token\": \"tok_card_296645958265997326\",\n      \"three_d_secure\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"version\": \"2.2.0\",\n        \"eci\": \"05\",\n        \"cardholder_info\": \"string\",\n        \"liability_shift\": true\n      },\n      \"three_ds\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"status_reason\": \"string\",\n        \"protocol_version\": \"2.2.0\",\n        \"eci\": \"02\",\n        \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n        \"liability_shift\": true,\n        \"cardholder_info\": \"string\",\n        \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n        \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n        \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n        \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n        \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n      },\n      \"payout\": \"not_available\",\n      \"name_verification\": \"match\",\n      \"partial_approval\": {\n        \"status\": \"accepted\",\n        \"amount_requested\": 10000,\n        \"amount_authorized\": 7500,\n        \"amount_charged\": 7500,\n        \"product_id\": \"prod_12345\"\n      },\n      \"name\": \"John Smith\",\n      \"issuer\": \"Chase Bank\"\n    },\n    \"cashapp\": {\n      \"cashtag\": \"$acmecustomer\",\n      \"name\": \"Jenny Rosen\"\n    },\n    \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n    \"setup_future_usage\": \"on_session\"\n  },\n  \"payment_method_options\": {\n    \"card\": {\n      \"security_checks\": {\n        \"address_line1_check\": true,\n        \"address_postal_code_check\": true,\n        \"cvv_check\": true\n      }\n    }\n  },\n  \"reference\": \"order_12345\",\n  \"shipping\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"phone\": \"+14155551234\"\n  },\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"status\": \"requires_confirmation\",\n  \"underlying_network_details\": {\n    \"network\": \"visa\",\n    \"visa\": {\n      \"arn\": \"74234567890123456789012\",\n      \"auth_code\": \"123456\",\n      \"raw_response_code\": \"00\",\n      \"rrn\": \"123456789012\",\n      \"eci\": \"05\",\n      \"aci\": \"Y\",\n      \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n    }\n  },\n  \"underlying_network_id\": \"123456789012345\",\n  \"test_mode\": false,\n  \"retry_attempts\": [\n    {\n      \"id\": \"rtratt_296645958265997312_1_1\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"type\": \"fallback\",\n      \"failure_code\": \"card_declined\",\n      \"failure_message\": \"The card was declined.\",\n      \"underlying_network_details\": {\n        \"network\": \"visa\",\n        \"visa\": {\n          \"arn\": \"74234567890123456789012\",\n          \"auth_code\": \"123456\",\n          \"raw_response_code\": \"00\",\n          \"rrn\": \"123456789012\",\n          \"eci\": \"05\",\n          \"aci\": \"Y\",\n          \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n        }\n      },\n      \"underlying_network_id\": \"74234567890123456789012\",\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      },\n      \"payment_method_options\": {\n        \"card\": {\n          \"security_checks\": {\n            \"address_line1_check\": true,\n            \"address_postal_code_check\": true,\n            \"cvv_check\": true\n          }\n        }\n      }\n    },\n    {\n      \"id\": \"rtratt_296645958265997312_1_1\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"type\": \"fallback\",\n      \"failure_code\": \"card_declined\",\n      \"failure_message\": \"The card was declined.\",\n      \"underlying_network_details\": {\n        \"network\": \"visa\",\n        \"visa\": {\n          \"arn\": \"74234567890123456789012\",\n          \"auth_code\": \"123456\",\n          \"raw_response_code\": \"00\",\n          \"rrn\": \"123456789012\",\n          \"eci\": \"05\",\n          \"aci\": \"Y\",\n          \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n        }\n      },\n      \"underlying_network_id\": \"74234567890123456789012\",\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      },\n      \"payment_method_options\": {\n        \"card\": {\n          \"security_checks\": {\n            \"address_line1_check\": true,\n            \"address_postal_code_check\": true,\n            \"cvv_check\": true\n          }\n        }\n      }\n    }\n  ],\n  \"risk_assessment_details\": {\n    \"outcome\": \"allow\",\n    \"outcome_source\": \"score\",\n    \"rule_id\": \"rl_296645958265997337\",\n    \"rules_id\": [\n      \"rl_296645958265997337\"\n    ],\n    \"score\": \"31\",\n    \"flags\": [\n      \"no_correlation_history\",\n      \"multiple_identities_billing\",\n      \"multiple_identities_card\",\n      \"free_email_provider\",\n      \"risky_billing_time\",\n      \"velocity_multiple_addresses\",\n      \"velocity_multiple_names\"\n    ]\n  },\n  \"underlying_processing_details\": {\n    \"processor\": \"stripe\",\n    \"transaction_id\": \"pi_abc123xyz789\",\n    \"settlement_account\": \"sa_296645958265997349\",\n    \"settlement_account_details\": {\n      \"processor\": \"pay_com\",\n      \"currency\": \"usd\",\n      \"name\": \"Main Settlement Account\",\n      \"entity\": \"ent_296645958265997359\",\n      \"entity_details\": {\n        \"legal_name\": \"ACME Corp\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"tax_details\": {\n    \"amount_total\": 825,\n    \"tax_behavior\": \"exclusive\",\n    \"tax_quote\": \"txq_296645958265997339\",\n    \"effective_tax_rate\": \"8.25\",\n    \"tax_transaction\": null\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"807f7279-74e8-5cf1-9e0c-5a1fd38db5a7","name":"Invalid request parameters.","originalRequest":{"url":{"path":["holds","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"order_12345","key":"reference_id","description":"(Required) The unique reference that was provided when the hold was created."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"50f11b90-5bac-51a5-8364-6e6bb3bda411","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["holds","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"order_12345","key":"reference_id","description":"(Required) The unique reference that was provided when the hold was created."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"34465cb3-2d22-5dd3-81fb-c12070477923","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["holds","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"order_12345","key":"reference_id","description":"(Required) The unique reference that was provided when the hold was created."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"781366ae-a624-5a53-a4da-1aaae7bb68b9","name":"Hold not found.","originalRequest":{"url":{"path":["holds","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"order_12345","key":"reference_id","description":"(Required) The unique reference that was provided when the hold was created."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bed00319-c322-51d8-96ea-2c100d525201","name":"Internal server error.","originalRequest":{"url":{"path":["holds","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"order_12345","key":"reference_id","description":"(Required) The unique reference that was provided when the hold was created."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"439dd7c6-b9f6-56fb-aafe-27242fa6ab38","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["holds","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"order_12345","key":"reference_id","description":"(Required) The unique reference that was provided when the hold was created."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"fbc11568-0943-5812-8088-8877aa179e64","name":"Retrieve a hold","request":{"name":"Retrieve a hold","description":{"content":"Retrieves the details of a hold.","type":"text/plain"},"url":{"path":["holds",":transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"f7dfe6c7-3dc4-55f4-aa72-b752d8c38222","name":"Returns the hold object.","originalRequest":{"url":{"path":["holds",":transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"hld_296645958265997313\",\n  \"resource\": \"hold\",\n  \"amount\": 10000,\n  \"amount_capturable\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"currency\": \"usd\",\n  \"captured\": true,\n  \"canceled\": true,\n  \"canceled_at\": \"string\",\n  \"cancellation_reason\": \"null\",\n  \"charges\": {\n    \"data\": [\n      {\n        \"id\": \"chrg_296645958265997312\",\n        \"resource\": \"charge\",\n        \"amount\": 10000,\n        \"amount_human_readable\": \"100.00\",\n        \"amount_refunded\": 0,\n        \"billing_details\": {\n          \"address\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"name\": \"John Smith\",\n          \"email\": \"john.smith@example.com\",\n          \"phone\": \"+14155551234\",\n          \"dob\": \"1985-07-15\",\n          \"national_identification_number\": \"123-45-6789\"\n        },\n        \"calculated_statement_descriptor\": \"ACME * ACME STORE\",\n        \"created\": \"2024-01-15T10:30:00Z\",\n        \"currency\": \"usd\",\n        \"customer\": \"cust_296645958265997317\",\n        \"customer_reference_id\": \"cust_ext_abc123\",\n        \"cashflow_transaction\": \"cflw_tx_296645958265997312\",\n        \"description\": \"Payment for Order #12345\",\n        \"disputed\": false,\n        \"failure_code\": \"string\",\n        \"failure_message\": \"string\",\n        \"metadata\": {},\n        \"paid\": true,\n        \"payment_session\": \"ps_296645958265997318\",\n        \"hold\": \"string\",\n        \"payment_method\": \"pm_card_296645958265997316\",\n        \"fraud\": true,\n        \"retry_attempts\": [\n          {\n            \"id\": \"rtratt_296645958265997312_1_1\",\n            \"created\": \"2024-01-15T10:30:00Z\",\n            \"type\": \"fallback\",\n            \"failure_code\": \"card_declined\",\n            \"failure_message\": \"The card was declined.\",\n            \"underlying_network_details\": {\n              \"network\": \"visa\",\n              \"visa\": {\n                \"arn\": \"74234567890123456789012\",\n                \"auth_code\": \"123456\",\n                \"raw_response_code\": \"00\",\n                \"rrn\": \"123456789012\",\n                \"eci\": \"05\",\n                \"aci\": \"Y\",\n                \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n              }\n            },\n            \"underlying_network_id\": \"74234567890123456789012\",\n            \"underlying_processing_details\": {\n              \"processor\": \"stripe\",\n              \"transaction_id\": \"pi_abc123xyz789\",\n              \"settlement_account\": \"sa_296645958265997349\",\n              \"settlement_account_details\": {\n                \"processor\": \"pay_com\",\n                \"currency\": \"usd\",\n                \"name\": \"Main Settlement Account\",\n                \"entity\": \"ent_296645958265997359\",\n                \"entity_details\": {\n                  \"legal_name\": \"ACME Corp\",\n                  \"country\": \"US\"\n                }\n              }\n            },\n            \"payment_method_options\": {\n              \"card\": {\n                \"security_checks\": {\n                  \"address_line1_check\": true,\n                  \"address_postal_code_check\": true,\n                  \"cvv_check\": true\n                }\n              }\n            }\n          },\n          {\n            \"id\": \"rtratt_296645958265997312_1_1\",\n            \"created\": \"2024-01-15T10:30:00Z\",\n            \"type\": \"fallback\",\n            \"failure_code\": \"card_declined\",\n            \"failure_message\": \"The card was declined.\",\n            \"underlying_network_details\": {\n              \"network\": \"visa\",\n              \"visa\": {\n                \"arn\": \"74234567890123456789012\",\n                \"auth_code\": \"123456\",\n                \"raw_response_code\": \"00\",\n                \"rrn\": \"123456789012\",\n                \"eci\": \"05\",\n                \"aci\": \"Y\",\n                \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n              }\n            },\n            \"underlying_network_id\": \"74234567890123456789012\",\n            \"underlying_processing_details\": {\n              \"processor\": \"stripe\",\n              \"transaction_id\": \"pi_abc123xyz789\",\n              \"settlement_account\": \"sa_296645958265997349\",\n              \"settlement_account_details\": {\n                \"processor\": \"pay_com\",\n                \"currency\": \"usd\",\n                \"name\": \"Main Settlement Account\",\n                \"entity\": \"ent_296645958265997359\",\n                \"entity_details\": {\n                  \"legal_name\": \"ACME Corp\",\n                  \"country\": \"US\"\n                }\n              }\n            },\n            \"payment_method_options\": {\n              \"card\": {\n                \"security_checks\": {\n                  \"address_line1_check\": true,\n                  \"address_postal_code_check\": true,\n                  \"cvv_check\": true\n                }\n              }\n            }\n          }\n        ],\n        \"payment_method_details\": {\n          \"type\": \"card\",\n          \"card\": {\n            \"bin\": \"424242\",\n            \"brand\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"cardholder_currency\": \"usd\",\n            \"country\": \"US\",\n            \"exp_month\": \"12\",\n            \"exp_year\": \"2028\",\n            \"fingerprint\": \"fp_abc123xyz789\",\n            \"funding\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"last4\": \"4242\",\n            \"network\": \"visa\",\n            \"category\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"security_checks\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"wallet\": {\n              \"type\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"googlepay\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"applepay\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"ctp\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            \"token\": \"tok_card_296645958265997326\",\n            \"three_d_secure\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"three_ds\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"payout\": \"not_available\",\n            \"name_verification\": \"match\",\n            \"partial_approval\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"name\": \"John Smith\",\n            \"issuer\": \"Chase Bank\"\n          },\n          \"cashapp\": {\n            \"cashtag\": \"$acmecustomer\",\n            \"name\": \"Jenny Rosen\"\n          },\n          \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n          \"setup_future_usage\": \"on_session\"\n        },\n        \"payment_method_options\": {\n          \"card\": {\n            \"security_checks\": {\n              \"address_line1_check\": true,\n              \"address_postal_code_check\": true,\n              \"cvv_check\": true\n            }\n          }\n        },\n        \"refunded\": false,\n        \"refunds\": {\n          \"data\": [\n            {\n              \"id\": \"rfnd_296645958265997314\",\n              \"resource\": \"refund\",\n              \"amount\": 10000,\n              \"amount_human_readable\": \"100.00\",\n              \"charge\": \"chrg_296645958265997312\",\n              \"created\": \"2024-01-15T10:30:00Z\",\n              \"currency\": \"usd\",\n              \"customer\": \"cust_296645958265997317\",\n              \"customer_reference_id\": \"cust_ext_abc123\",\n              \"metadata\": {},\n              \"reference\": \"refund_order_12345\",\n              \"status\": \"succeeded\",\n              \"failure_code\": \"string\",\n              \"failure_message\": \"string\",\n              \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n              \"test_mode\": false,\n              \"underlying_network_id\": \"123456789012345\",\n              \"underlying_network_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"underlying_processing_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"risk_assessment_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"receipt\": null,\n              \"tax_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            {\n              \"id\": \"rfnd_296645958265997314\",\n              \"resource\": \"refund\",\n              \"amount\": 10000,\n              \"amount_human_readable\": \"100.00\",\n              \"charge\": \"chrg_296645958265997312\",\n              \"created\": \"2024-01-15T10:30:00Z\",\n              \"currency\": \"usd\",\n              \"customer\": \"cust_296645958265997317\",\n              \"customer_reference_id\": \"cust_ext_abc123\",\n              \"metadata\": {},\n              \"reference\": \"refund_order_12345\",\n              \"status\": \"succeeded\",\n              \"failure_code\": \"string\",\n              \"failure_message\": \"string\",\n              \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n              \"test_mode\": true,\n              \"underlying_network_id\": \"123456789012345\",\n              \"underlying_network_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"underlying_processing_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"risk_assessment_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"receipt\": null,\n              \"tax_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            }\n          ],\n          \"url\": \"/v1/charges/chrg_296645958265997312/refunds\"\n        },\n        \"reference\": \"order_12345\",\n        \"shipping\": {\n          \"address\": {\n            \"city\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"country\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"line1\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"line2\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"postal_code\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"state\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"name\": \"John Smith\",\n          \"phone\": \"+14155551234\"\n        },\n        \"statement_descriptor_suffix\": \"ACME STORE\",\n        \"status\": \"failed\",\n        \"underlying_network_details\": {\n          \"network\": \"visa\",\n          \"visa\": {\n            \"arn\": \"74234567890123456789012\",\n            \"auth_code\": \"123456\",\n            \"raw_response_code\": \"00\",\n            \"rrn\": \"123456789012\",\n            \"eci\": \"05\",\n            \"aci\": \"Y\",\n            \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n          }\n        },\n        \"underlying_network_id\": \"123456789012345\",\n        \"risk_assessment_details\": {\n          \"outcome\": \"allow\",\n          \"outcome_source\": \"score\",\n          \"rule_id\": \"rl_296645958265997337\",\n          \"rules_id\": [\n            \"rl_296645958265997337\"\n          ],\n          \"score\": \"31\",\n          \"flags\": [\n            \"no_correlation_history\",\n            \"multiple_identities_billing\",\n            \"multiple_identities_card\",\n            \"free_email_provider\",\n            \"risky_billing_time\",\n            \"velocity_multiple_addresses\",\n            \"velocity_multiple_names\"\n          ]\n        },\n        \"test_mode\": true,\n        \"receipt\": null,\n        \"underlying_processing_details\": {\n          \"processor\": \"stripe\",\n          \"transaction_id\": \"pi_abc123xyz789\",\n          \"settlement_account\": \"sa_296645958265997349\",\n          \"settlement_account_details\": {\n            \"processor\": \"pay_com\",\n            \"currency\": \"usd\",\n            \"name\": \"Main Settlement Account\",\n            \"entity\": \"ent_296645958265997359\",\n            \"entity_details\": {\n              \"legal_name\": \"ACME Corp\",\n              \"country\": \"US\"\n            }\n          }\n        },\n        \"tax_details\": {\n          \"amount_total\": 825,\n          \"tax_behavior\": \"exclusive\",\n          \"tax_quote\": \"txq_296645958265997339\",\n          \"effective_tax_rate\": \"8.25\",\n          \"tax_transaction\": null\n        }\n      },\n      {\n        \"id\": \"chrg_296645958265997312\",\n        \"resource\": \"charge\",\n        \"amount\": 10000,\n        \"amount_human_readable\": \"100.00\",\n        \"amount_refunded\": 0,\n        \"billing_details\": {\n          \"address\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"name\": \"John Smith\",\n          \"email\": \"john.smith@example.com\",\n          \"phone\": \"+14155551234\",\n          \"dob\": \"1985-07-15\",\n          \"national_identification_number\": \"123-45-6789\"\n        },\n        \"calculated_statement_descriptor\": \"ACME * ACME STORE\",\n        \"created\": \"2024-01-15T10:30:00Z\",\n        \"currency\": \"usd\",\n        \"customer\": \"cust_296645958265997317\",\n        \"customer_reference_id\": \"cust_ext_abc123\",\n        \"cashflow_transaction\": \"cflw_tx_296645958265997312\",\n        \"description\": \"Payment for Order #12345\",\n        \"disputed\": false,\n        \"failure_code\": \"string\",\n        \"failure_message\": \"string\",\n        \"metadata\": {},\n        \"paid\": true,\n        \"payment_session\": \"ps_296645958265997318\",\n        \"hold\": \"string\",\n        \"payment_method\": \"pm_card_296645958265997316\",\n        \"fraud\": true,\n        \"retry_attempts\": [\n          {\n            \"id\": \"rtratt_296645958265997312_1_1\",\n            \"created\": \"2024-01-15T10:30:00Z\",\n            \"type\": \"fallback\",\n            \"failure_code\": \"card_declined\",\n            \"failure_message\": \"The card was declined.\",\n            \"underlying_network_details\": {\n              \"network\": \"visa\",\n              \"visa\": {\n                \"arn\": \"74234567890123456789012\",\n                \"auth_code\": \"123456\",\n                \"raw_response_code\": \"00\",\n                \"rrn\": \"123456789012\",\n                \"eci\": \"05\",\n                \"aci\": \"Y\",\n                \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n              }\n            },\n            \"underlying_network_id\": \"74234567890123456789012\",\n            \"underlying_processing_details\": {\n              \"processor\": \"stripe\",\n              \"transaction_id\": \"pi_abc123xyz789\",\n              \"settlement_account\": \"sa_296645958265997349\",\n              \"settlement_account_details\": {\n                \"processor\": \"pay_com\",\n                \"currency\": \"usd\",\n                \"name\": \"Main Settlement Account\",\n                \"entity\": \"ent_296645958265997359\",\n                \"entity_details\": {\n                  \"legal_name\": \"ACME Corp\",\n                  \"country\": \"US\"\n                }\n              }\n            },\n            \"payment_method_options\": {\n              \"card\": {\n                \"security_checks\": {\n                  \"address_line1_check\": true,\n                  \"address_postal_code_check\": true,\n                  \"cvv_check\": true\n                }\n              }\n            }\n          },\n          {\n            \"id\": \"rtratt_296645958265997312_1_1\",\n            \"created\": \"2024-01-15T10:30:00Z\",\n            \"type\": \"fallback\",\n            \"failure_code\": \"card_declined\",\n            \"failure_message\": \"The card was declined.\",\n            \"underlying_network_details\": {\n              \"network\": \"visa\",\n              \"visa\": {\n                \"arn\": \"74234567890123456789012\",\n                \"auth_code\": \"123456\",\n                \"raw_response_code\": \"00\",\n                \"rrn\": \"123456789012\",\n                \"eci\": \"05\",\n                \"aci\": \"Y\",\n                \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n              }\n            },\n            \"underlying_network_id\": \"74234567890123456789012\",\n            \"underlying_processing_details\": {\n              \"processor\": \"stripe\",\n              \"transaction_id\": \"pi_abc123xyz789\",\n              \"settlement_account\": \"sa_296645958265997349\",\n              \"settlement_account_details\": {\n                \"processor\": \"pay_com\",\n                \"currency\": \"usd\",\n                \"name\": \"Main Settlement Account\",\n                \"entity\": \"ent_296645958265997359\",\n                \"entity_details\": {\n                  \"legal_name\": \"ACME Corp\",\n                  \"country\": \"US\"\n                }\n              }\n            },\n            \"payment_method_options\": {\n              \"card\": {\n                \"security_checks\": {\n                  \"address_line1_check\": true,\n                  \"address_postal_code_check\": true,\n                  \"cvv_check\": true\n                }\n              }\n            }\n          }\n        ],\n        \"payment_method_details\": {\n          \"type\": \"card\",\n          \"card\": {\n            \"bin\": \"424242\",\n            \"brand\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"cardholder_currency\": \"usd\",\n            \"country\": \"US\",\n            \"exp_month\": \"12\",\n            \"exp_year\": \"2028\",\n            \"fingerprint\": \"fp_abc123xyz789\",\n            \"funding\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"last4\": \"4242\",\n            \"network\": \"visa\",\n            \"category\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"security_checks\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"wallet\": {\n              \"type\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"googlepay\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"applepay\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"ctp\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            \"token\": \"tok_card_296645958265997326\",\n            \"three_d_secure\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"three_ds\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"payout\": \"not_available\",\n            \"name_verification\": \"match\",\n            \"partial_approval\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"name\": \"John Smith\",\n            \"issuer\": \"Chase Bank\"\n          },\n          \"cashapp\": {\n            \"cashtag\": \"$acmecustomer\",\n            \"name\": \"Jenny Rosen\"\n          },\n          \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n          \"setup_future_usage\": \"on_session\"\n        },\n        \"payment_method_options\": {\n          \"card\": {\n            \"security_checks\": {\n              \"address_line1_check\": true,\n              \"address_postal_code_check\": true,\n              \"cvv_check\": true\n            }\n          }\n        },\n        \"refunded\": true,\n        \"refunds\": {\n          \"data\": [\n            {\n              \"id\": \"rfnd_296645958265997314\",\n              \"resource\": \"refund\",\n              \"amount\": 10000,\n              \"amount_human_readable\": \"100.00\",\n              \"charge\": \"chrg_296645958265997312\",\n              \"created\": \"2024-01-15T10:30:00Z\",\n              \"currency\": \"usd\",\n              \"customer\": \"cust_296645958265997317\",\n              \"customer_reference_id\": \"cust_ext_abc123\",\n              \"metadata\": {},\n              \"reference\": \"refund_order_12345\",\n              \"status\": \"succeeded\",\n              \"failure_code\": \"string\",\n              \"failure_message\": \"string\",\n              \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n              \"test_mode\": false,\n              \"underlying_network_id\": \"123456789012345\",\n              \"underlying_network_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"underlying_processing_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"risk_assessment_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"receipt\": null,\n              \"tax_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            {\n              \"id\": \"rfnd_296645958265997314\",\n              \"resource\": \"refund\",\n              \"amount\": 10000,\n              \"amount_human_readable\": \"100.00\",\n              \"charge\": \"chrg_296645958265997312\",\n              \"created\": \"2024-01-15T10:30:00Z\",\n              \"currency\": \"usd\",\n              \"customer\": \"cust_296645958265997317\",\n              \"customer_reference_id\": \"cust_ext_abc123\",\n              \"metadata\": {},\n              \"reference\": \"refund_order_12345\",\n              \"status\": \"succeeded\",\n              \"failure_code\": \"string\",\n              \"failure_message\": \"string\",\n              \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n              \"test_mode\": true,\n              \"underlying_network_id\": \"123456789012345\",\n              \"underlying_network_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"underlying_processing_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"risk_assessment_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"receipt\": null,\n              \"tax_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            }\n          ],\n          \"url\": \"/v1/charges/chrg_296645958265997312/refunds\"\n        },\n        \"reference\": \"order_12345\",\n        \"shipping\": {\n          \"address\": {\n            \"city\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"country\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"line1\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"line2\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"postal_code\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"state\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"name\": \"John Smith\",\n          \"phone\": \"+14155551234\"\n        },\n        \"statement_descriptor_suffix\": \"ACME STORE\",\n        \"status\": \"pending\",\n        \"underlying_network_details\": {\n          \"network\": \"visa\",\n          \"visa\": {\n            \"arn\": \"74234567890123456789012\",\n            \"auth_code\": \"123456\",\n            \"raw_response_code\": \"00\",\n            \"rrn\": \"123456789012\",\n            \"eci\": \"05\",\n            \"aci\": \"Y\",\n            \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n          }\n        },\n        \"underlying_network_id\": \"123456789012345\",\n        \"risk_assessment_details\": {\n          \"outcome\": \"allow\",\n          \"outcome_source\": \"score\",\n          \"rule_id\": \"rl_296645958265997337\",\n          \"rules_id\": [\n            \"rl_296645958265997337\"\n          ],\n          \"score\": \"31\",\n          \"flags\": [\n            \"no_correlation_history\",\n            \"multiple_identities_billing\",\n            \"multiple_identities_card\",\n            \"free_email_provider\",\n            \"risky_billing_time\",\n            \"velocity_multiple_addresses\",\n            \"velocity_multiple_names\"\n          ]\n        },\n        \"test_mode\": false,\n        \"receipt\": null,\n        \"underlying_processing_details\": {\n          \"processor\": \"stripe\",\n          \"transaction_id\": \"pi_abc123xyz789\",\n          \"settlement_account\": \"sa_296645958265997349\",\n          \"settlement_account_details\": {\n            \"processor\": \"pay_com\",\n            \"currency\": \"usd\",\n            \"name\": \"Main Settlement Account\",\n            \"entity\": \"ent_296645958265997359\",\n            \"entity_details\": {\n              \"legal_name\": \"ACME Corp\",\n              \"country\": \"US\"\n            }\n          }\n        },\n        \"tax_details\": {\n          \"amount_total\": 825,\n          \"tax_behavior\": \"exclusive\",\n          \"tax_quote\": \"txq_296645958265997339\",\n          \"effective_tax_rate\": \"8.25\",\n          \"tax_transaction\": null\n        }\n      }\n    ],\n    \"url\": \"/v1/holds/hld_296645958265997313/charges\"\n  },\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"description\": \"Payment for Order #12345\",\n  \"failure_code\": \"string\",\n  \"failure_message\": \"string\",\n  \"metadata\": {},\n  \"payment_session\": \"ps_296645958265997318\",\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"payment_method_details\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"bin\": \"424242\",\n      \"brand\": \"visa\",\n      \"cardholder_currency\": \"usd\",\n      \"country\": \"US\",\n      \"exp_month\": \"12\",\n      \"exp_year\": \"2028\",\n      \"fingerprint\": \"fp_abc123xyz789\",\n      \"funding\": \"credit\",\n      \"last4\": \"4242\",\n      \"network\": \"visa\",\n      \"category\": \"consumer\",\n      \"security_checks\": {\n        \"address_line1_check\": \"unavailable\",\n        \"address_postal_code_check\": \"unavailable\",\n        \"cvc_check\": \"pass\"\n      },\n      \"wallet\": {\n        \"type\": \"googlepay\",\n        \"googlepay\": {\n          \"type\": \"cryptogram_3ds\",\n          \"physical_card_last4\": \"4242\"\n        },\n        \"applepay\": {\n          \"physical_card_last4\": \"4242\"\n        },\n        \"ctp\": {\n          \"physical_card_last4\": \"string\",\n          \"physical_card_bin\": \"string\",\n          \"physical_card_exp_month\": \"string\",\n          \"physical_card_exp_year\": \"string\"\n        }\n      },\n      \"token\": \"tok_card_296645958265997326\",\n      \"three_d_secure\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"version\": \"2.2.0\",\n        \"eci\": \"05\",\n        \"cardholder_info\": \"string\",\n        \"liability_shift\": true\n      },\n      \"three_ds\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"status_reason\": \"string\",\n        \"protocol_version\": \"2.2.0\",\n        \"eci\": \"02\",\n        \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n        \"liability_shift\": true,\n        \"cardholder_info\": \"string\",\n        \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n        \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n        \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n        \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n        \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n      },\n      \"payout\": \"not_available\",\n      \"name_verification\": \"match\",\n      \"partial_approval\": {\n        \"status\": \"accepted\",\n        \"amount_requested\": 10000,\n        \"amount_authorized\": 7500,\n        \"amount_charged\": 7500,\n        \"product_id\": \"prod_12345\"\n      },\n      \"name\": \"John Smith\",\n      \"issuer\": \"Chase Bank\"\n    },\n    \"cashapp\": {\n      \"cashtag\": \"$acmecustomer\",\n      \"name\": \"Jenny Rosen\"\n    },\n    \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n    \"setup_future_usage\": \"on_session\"\n  },\n  \"payment_method_options\": {\n    \"card\": {\n      \"security_checks\": {\n        \"address_line1_check\": true,\n        \"address_postal_code_check\": true,\n        \"cvv_check\": true\n      }\n    }\n  },\n  \"reference\": \"order_12345\",\n  \"shipping\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"phone\": \"+14155551234\"\n  },\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"status\": \"requires_confirmation\",\n  \"underlying_network_details\": {\n    \"network\": \"visa\",\n    \"visa\": {\n      \"arn\": \"74234567890123456789012\",\n      \"auth_code\": \"123456\",\n      \"raw_response_code\": \"00\",\n      \"rrn\": \"123456789012\",\n      \"eci\": \"05\",\n      \"aci\": \"Y\",\n      \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n    }\n  },\n  \"underlying_network_id\": \"123456789012345\",\n  \"test_mode\": false,\n  \"retry_attempts\": [\n    {\n      \"id\": \"rtratt_296645958265997312_1_1\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"type\": \"fallback\",\n      \"failure_code\": \"card_declined\",\n      \"failure_message\": \"The card was declined.\",\n      \"underlying_network_details\": {\n        \"network\": \"visa\",\n        \"visa\": {\n          \"arn\": \"74234567890123456789012\",\n          \"auth_code\": \"123456\",\n          \"raw_response_code\": \"00\",\n          \"rrn\": \"123456789012\",\n          \"eci\": \"05\",\n          \"aci\": \"Y\",\n          \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n        }\n      },\n      \"underlying_network_id\": \"74234567890123456789012\",\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      },\n      \"payment_method_options\": {\n        \"card\": {\n          \"security_checks\": {\n            \"address_line1_check\": true,\n            \"address_postal_code_check\": true,\n            \"cvv_check\": true\n          }\n        }\n      }\n    },\n    {\n      \"id\": \"rtratt_296645958265997312_1_1\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"type\": \"fallback\",\n      \"failure_code\": \"card_declined\",\n      \"failure_message\": \"The card was declined.\",\n      \"underlying_network_details\": {\n        \"network\": \"visa\",\n        \"visa\": {\n          \"arn\": \"74234567890123456789012\",\n          \"auth_code\": \"123456\",\n          \"raw_response_code\": \"00\",\n          \"rrn\": \"123456789012\",\n          \"eci\": \"05\",\n          \"aci\": \"Y\",\n          \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n        }\n      },\n      \"underlying_network_id\": \"74234567890123456789012\",\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      },\n      \"payment_method_options\": {\n        \"card\": {\n          \"security_checks\": {\n            \"address_line1_check\": true,\n            \"address_postal_code_check\": true,\n            \"cvv_check\": true\n          }\n        }\n      }\n    }\n  ],\n  \"risk_assessment_details\": {\n    \"outcome\": \"allow\",\n    \"outcome_source\": \"score\",\n    \"rule_id\": \"rl_296645958265997337\",\n    \"rules_id\": [\n      \"rl_296645958265997337\"\n    ],\n    \"score\": \"31\",\n    \"flags\": [\n      \"no_correlation_history\",\n      \"multiple_identities_billing\",\n      \"multiple_identities_card\",\n      \"free_email_provider\",\n      \"risky_billing_time\",\n      \"velocity_multiple_addresses\",\n      \"velocity_multiple_names\"\n    ]\n  },\n  \"underlying_processing_details\": {\n    \"processor\": \"stripe\",\n    \"transaction_id\": \"pi_abc123xyz789\",\n    \"settlement_account\": \"sa_296645958265997349\",\n    \"settlement_account_details\": {\n      \"processor\": \"pay_com\",\n      \"currency\": \"usd\",\n      \"name\": \"Main Settlement Account\",\n      \"entity\": \"ent_296645958265997359\",\n      \"entity_details\": {\n        \"legal_name\": \"ACME Corp\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"tax_details\": {\n    \"amount_total\": 825,\n    \"tax_behavior\": \"exclusive\",\n    \"tax_quote\": \"txq_296645958265997339\",\n    \"effective_tax_rate\": \"8.25\",\n    \"tax_transaction\": null\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"99af05aa-1461-5e05-8259-fb291f004f32","name":"Invalid request parameters.","originalRequest":{"url":{"path":["holds",":transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4a0484ed-1e5a-5b20-8692-4b73c6749121","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["holds",":transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"adf07c44-8ff9-5008-b716-1b179a93a269","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["holds",":transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"138ee936-1302-5f12-a072-17134b830b8e","name":"Hold not found.","originalRequest":{"url":{"path":["holds",":transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"29c5ec67-f4bb-5355-8cbf-fb1743b90d5d","name":"Internal server error.","originalRequest":{"url":{"path":["holds",":transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"be3e8686-b07b-57b7-a4d0-d95b04a8b4bd","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["holds",":transaction_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"e1e5a1ae-7be0-5fa0-a784-0515ce86e5e9","name":"Capture a hold","request":{"name":"Capture a hold","description":{"content":"Captures all or part of a hold and creates a charge. Omit `amount_to_capture` to capture the remaining `amount_capturable`. After a partial capture, the hold's `status` is `succeeded`, `captured` stays `false`, and `amount_capturable` shows the remaining amount.\n\nA capture that is declined is still created, but the response is HTTP 400 with an error of type `payment_method_error` that includes the charge ID.","type":"text/plain"},"url":{"path":["holds",":transaction_id","capture"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"amount_to_capture\": 10000,\n  \"reference\": \"order_12345\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"16df4d07-570f-51ef-b28f-a24bb548aec0","name":"Returns the created charge object.","originalRequest":{"url":{"path":["holds",":transaction_id","capture"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount_to_capture\": 10000,\n  \"reference\": \"order_12345\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"chrg_296645958265997312\",\n  \"resource\": \"charge\",\n  \"amount\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"amount_refunded\": 0,\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"calculated_statement_descriptor\": \"ACME * ACME STORE\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"currency\": \"usd\",\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"cashflow_transaction\": \"cflw_tx_296645958265997312\",\n  \"description\": \"Payment for Order #12345\",\n  \"disputed\": false,\n  \"failure_code\": \"string\",\n  \"failure_message\": \"string\",\n  \"metadata\": {},\n  \"paid\": true,\n  \"payment_session\": \"ps_296645958265997318\",\n  \"hold\": \"string\",\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"fraud\": true,\n  \"retry_attempts\": [\n    {\n      \"id\": \"rtratt_296645958265997312_1_1\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"type\": \"fallback\",\n      \"failure_code\": \"card_declined\",\n      \"failure_message\": \"The card was declined.\",\n      \"underlying_network_details\": {\n        \"network\": \"visa\",\n        \"visa\": {\n          \"arn\": \"74234567890123456789012\",\n          \"auth_code\": \"123456\",\n          \"raw_response_code\": \"00\",\n          \"rrn\": \"123456789012\",\n          \"eci\": \"05\",\n          \"aci\": \"Y\",\n          \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n        }\n      },\n      \"underlying_network_id\": \"74234567890123456789012\",\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      },\n      \"payment_method_options\": {\n        \"card\": {\n          \"security_checks\": {\n            \"address_line1_check\": true,\n            \"address_postal_code_check\": true,\n            \"cvv_check\": true\n          }\n        }\n      }\n    },\n    {\n      \"id\": \"rtratt_296645958265997312_1_1\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"type\": \"fallback\",\n      \"failure_code\": \"card_declined\",\n      \"failure_message\": \"The card was declined.\",\n      \"underlying_network_details\": {\n        \"network\": \"visa\",\n        \"visa\": {\n          \"arn\": \"74234567890123456789012\",\n          \"auth_code\": \"123456\",\n          \"raw_response_code\": \"00\",\n          \"rrn\": \"123456789012\",\n          \"eci\": \"05\",\n          \"aci\": \"Y\",\n          \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n        }\n      },\n      \"underlying_network_id\": \"74234567890123456789012\",\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      },\n      \"payment_method_options\": {\n        \"card\": {\n          \"security_checks\": {\n            \"address_line1_check\": true,\n            \"address_postal_code_check\": true,\n            \"cvv_check\": true\n          }\n        }\n      }\n    }\n  ],\n  \"payment_method_details\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"bin\": \"424242\",\n      \"brand\": \"visa\",\n      \"cardholder_currency\": \"usd\",\n      \"country\": \"US\",\n      \"exp_month\": \"12\",\n      \"exp_year\": \"2028\",\n      \"fingerprint\": \"fp_abc123xyz789\",\n      \"funding\": \"prepaid\",\n      \"last4\": \"4242\",\n      \"network\": \"visa\",\n      \"category\": \"business\",\n      \"security_checks\": {\n        \"address_line1_check\": \"unavailable\",\n        \"address_postal_code_check\": \"unavailable\",\n        \"cvc_check\": \"pass\"\n      },\n      \"wallet\": {\n        \"type\": \"googlepay\",\n        \"googlepay\": {\n          \"type\": \"cryptogram_3ds\",\n          \"physical_card_last4\": \"4242\"\n        },\n        \"applepay\": {\n          \"physical_card_last4\": \"4242\"\n        },\n        \"ctp\": {\n          \"physical_card_last4\": \"string\",\n          \"physical_card_bin\": \"string\",\n          \"physical_card_exp_month\": \"string\",\n          \"physical_card_exp_year\": \"string\"\n        }\n      },\n      \"token\": \"tok_card_296645958265997326\",\n      \"three_d_secure\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"version\": \"2.2.0\",\n        \"eci\": \"05\",\n        \"cardholder_info\": \"string\",\n        \"liability_shift\": true\n      },\n      \"three_ds\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"status_reason\": \"string\",\n        \"protocol_version\": \"2.2.0\",\n        \"eci\": \"02\",\n        \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n        \"liability_shift\": true,\n        \"cardholder_info\": \"string\",\n        \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n        \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n        \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n        \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n        \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n      },\n      \"payout\": \"not_available\",\n      \"name_verification\": \"match\",\n      \"partial_approval\": {\n        \"status\": \"accepted\",\n        \"amount_requested\": 10000,\n        \"amount_authorized\": 7500,\n        \"amount_charged\": 7500,\n        \"product_id\": \"prod_12345\"\n      },\n      \"name\": \"John Smith\",\n      \"issuer\": \"Chase Bank\"\n    },\n    \"cashapp\": {\n      \"cashtag\": \"$acmecustomer\",\n      \"name\": \"Jenny Rosen\"\n    },\n    \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n    \"setup_future_usage\": \"on_session\"\n  },\n  \"payment_method_options\": {\n    \"card\": {\n      \"security_checks\": {\n        \"address_line1_check\": true,\n        \"address_postal_code_check\": true,\n        \"cvv_check\": true\n      }\n    }\n  },\n  \"refunded\": false,\n  \"refunds\": {\n    \"data\": [\n      {\n        \"id\": \"rfnd_296645958265997314\",\n        \"resource\": \"refund\",\n        \"amount\": 10000,\n        \"amount_human_readable\": \"100.00\",\n        \"charge\": \"chrg_296645958265997312\",\n        \"created\": \"2024-01-15T10:30:00Z\",\n        \"currency\": \"usd\",\n        \"customer\": \"cust_296645958265997317\",\n        \"customer_reference_id\": \"cust_ext_abc123\",\n        \"metadata\": {},\n        \"reference\": \"refund_order_12345\",\n        \"status\": \"succeeded\",\n        \"failure_code\": \"string\",\n        \"failure_message\": \"string\",\n        \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n        \"test_mode\": true,\n        \"underlying_network_id\": \"123456789012345\",\n        \"underlying_network_details\": {\n          \"network\": \"visa\",\n          \"visa\": {\n            \"arn\": \"74234567890123456789012\",\n            \"auth_code\": \"123456\",\n            \"raw_response_code\": \"00\",\n            \"rrn\": \"123456789012\",\n            \"eci\": \"05\",\n            \"aci\": \"Y\",\n            \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n          }\n        },\n        \"underlying_processing_details\": {\n          \"processor\": \"stripe\",\n          \"transaction_id\": \"pi_abc123xyz789\",\n          \"settlement_account\": \"sa_296645958265997349\",\n          \"settlement_account_details\": {\n            \"processor\": \"pay_com\",\n            \"currency\": \"usd\",\n            \"name\": \"Main Settlement Account\",\n            \"entity\": \"ent_296645958265997359\",\n            \"entity_details\": {\n              \"legal_name\": \"ACME Corp\",\n              \"country\": \"US\"\n            }\n          }\n        },\n        \"risk_assessment_details\": {\n          \"outcome\": \"allow\",\n          \"outcome_source\": \"score\",\n          \"rule_id\": \"rl_296645958265997337\",\n          \"rules_id\": [\n            \"rl_296645958265997337\"\n          ],\n          \"score\": \"31\",\n          \"flags\": [\n            \"no_correlation_history\",\n            \"multiple_identities_billing\",\n            \"multiple_identities_card\",\n            \"free_email_provider\",\n            \"risky_billing_time\",\n            \"velocity_multiple_addresses\",\n            \"velocity_multiple_names\"\n          ]\n        },\n        \"receipt\": null,\n        \"tax_details\": {\n          \"amount_total\": 825,\n          \"tax_behavior\": \"exclusive\",\n          \"tax_quote\": \"txq_296645958265997339\",\n          \"effective_tax_rate\": \"8.25\",\n          \"tax_transaction\": null\n        }\n      },\n      {\n        \"id\": \"rfnd_296645958265997314\",\n        \"resource\": \"refund\",\n        \"amount\": 10000,\n        \"amount_human_readable\": \"100.00\",\n        \"charge\": \"chrg_296645958265997312\",\n        \"created\": \"2024-01-15T10:30:00Z\",\n        \"currency\": \"usd\",\n        \"customer\": \"cust_296645958265997317\",\n        \"customer_reference_id\": \"cust_ext_abc123\",\n        \"metadata\": {},\n        \"reference\": \"refund_order_12345\",\n        \"status\": \"succeeded\",\n        \"failure_code\": \"string\",\n        \"failure_message\": \"string\",\n        \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n        \"test_mode\": false,\n        \"underlying_network_id\": \"123456789012345\",\n        \"underlying_network_details\": {\n          \"network\": \"visa\",\n          \"visa\": {\n            \"arn\": \"74234567890123456789012\",\n            \"auth_code\": \"123456\",\n            \"raw_response_code\": \"00\",\n            \"rrn\": \"123456789012\",\n            \"eci\": \"05\",\n            \"aci\": \"Y\",\n            \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n          }\n        },\n        \"underlying_processing_details\": {\n          \"processor\": \"stripe\",\n          \"transaction_id\": \"pi_abc123xyz789\",\n          \"settlement_account\": \"sa_296645958265997349\",\n          \"settlement_account_details\": {\n            \"processor\": \"pay_com\",\n            \"currency\": \"usd\",\n            \"name\": \"Main Settlement Account\",\n            \"entity\": \"ent_296645958265997359\",\n            \"entity_details\": {\n              \"legal_name\": \"ACME Corp\",\n              \"country\": \"US\"\n            }\n          }\n        },\n        \"risk_assessment_details\": {\n          \"outcome\": \"allow\",\n          \"outcome_source\": \"score\",\n          \"rule_id\": \"rl_296645958265997337\",\n          \"rules_id\": [\n            \"rl_296645958265997337\"\n          ],\n          \"score\": \"31\",\n          \"flags\": [\n            \"no_correlation_history\",\n            \"multiple_identities_billing\",\n            \"multiple_identities_card\",\n            \"free_email_provider\",\n            \"risky_billing_time\",\n            \"velocity_multiple_addresses\",\n            \"velocity_multiple_names\"\n          ]\n        },\n        \"receipt\": null,\n        \"tax_details\": {\n          \"amount_total\": 825,\n          \"tax_behavior\": \"exclusive\",\n          \"tax_quote\": \"txq_296645958265997339\",\n          \"effective_tax_rate\": \"8.25\",\n          \"tax_transaction\": null\n        }\n      }\n    ],\n    \"url\": \"/v1/charges/chrg_296645958265997312/refunds\"\n  },\n  \"reference\": \"order_12345\",\n  \"shipping\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"phone\": \"+14155551234\"\n  },\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"status\": \"blocked\",\n  \"underlying_network_details\": {\n    \"network\": \"visa\",\n    \"visa\": {\n      \"arn\": \"74234567890123456789012\",\n      \"auth_code\": \"123456\",\n      \"raw_response_code\": \"00\",\n      \"rrn\": \"123456789012\",\n      \"eci\": \"05\",\n      \"aci\": \"Y\",\n      \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n    }\n  },\n  \"underlying_network_id\": \"123456789012345\",\n  \"risk_assessment_details\": {\n    \"outcome\": \"allow\",\n    \"outcome_source\": \"score\",\n    \"rule_id\": \"rl_296645958265997337\",\n    \"rules_id\": [\n      \"rl_296645958265997337\"\n    ],\n    \"score\": \"31\",\n    \"flags\": [\n      \"no_correlation_history\",\n      \"multiple_identities_billing\",\n      \"multiple_identities_card\",\n      \"free_email_provider\",\n      \"risky_billing_time\",\n      \"velocity_multiple_addresses\",\n      \"velocity_multiple_names\"\n    ]\n  },\n  \"test_mode\": false,\n  \"receipt\": null,\n  \"underlying_processing_details\": {\n    \"processor\": \"stripe\",\n    \"transaction_id\": \"pi_abc123xyz789\",\n    \"settlement_account\": \"sa_296645958265997349\",\n    \"settlement_account_details\": {\n      \"processor\": \"pay_com\",\n      \"currency\": \"usd\",\n      \"name\": \"Main Settlement Account\",\n      \"entity\": \"ent_296645958265997359\",\n      \"entity_details\": {\n        \"legal_name\": \"ACME Corp\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"tax_details\": {\n    \"amount_total\": 825,\n    \"tax_behavior\": \"exclusive\",\n    \"tax_quote\": \"txq_296645958265997339\",\n    \"effective_tax_rate\": \"8.25\",\n    \"tax_transaction\": null\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"014f04e6-b40c-51cb-a8cb-e6826d39ec8d","name":"Invalid request parameters, or the capture was declined (`payment_method_error`).","originalRequest":{"url":{"path":["holds",":transaction_id","capture"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount_to_capture\": 10000,\n  \"reference\": \"order_12345\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6aa388d1-d98d-58f2-9991-a345238202a2","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["holds",":transaction_id","capture"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount_to_capture\": 10000,\n  \"reference\": \"order_12345\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6389a9a0-5dc6-5f84-ac4a-22002d7f05b0","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["holds",":transaction_id","capture"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount_to_capture\": 10000,\n  \"reference\": \"order_12345\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c93b532a-4a50-5d97-b671-a7b20747fc4e","name":"Hold not found.","originalRequest":{"url":{"path":["holds",":transaction_id","capture"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount_to_capture\": 10000,\n  \"reference\": \"order_12345\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"06370630-5864-5984-bca6-3f67fb2856a0","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["holds",":transaction_id","capture"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount_to_capture\": 10000,\n  \"reference\": \"order_12345\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"16b9c609-6b34-519a-bf08-11bb66cbe8d1","name":"The hold can't be captured as requested (`invalid_parameters`). The message says why:\n- `Provider only allows capturing the full amount`: the processor doesn't take partial captures, or the payment used dynamic currency conversion. Capture the whole `amount_capturable`, or leave out `amount_to_capture`.\n- `Provider only allows capturing a payment once`: the processor doesn't take a second capture of the same hold.\n- `Requested amount exceeded capturable, or no capturable amount left`.\n- `Authorized transaction is not approved` or `Related transaction is not authorization`: the ID isn't a hold that can be captured.\n- `Requested transaction type is not allowed for current merchant state`: your account can't capture right now.","originalRequest":{"url":{"path":["holds",":transaction_id","capture"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount_to_capture\": 10000,\n  \"reference\": \"order_12345\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"Provider only allows capturing a payment once\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5d293bc7-2ebf-528c-a97c-868786b05ba3","name":"Internal server error.","originalRequest":{"url":{"path":["holds",":transaction_id","capture"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount_to_capture\": 10000,\n  \"reference\": \"order_12345\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0194c4b7-b337-547b-9c50-544464855b09","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["holds",":transaction_id","capture"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount_to_capture\": 10000,\n  \"reference\": \"order_12345\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"ba0f2509-d537-57cc-8443-88e85dc919db","name":"Cancel a hold","request":{"name":"Cancel a hold","description":{"content":"Cancels a hold and releases the remaining held amount back to the customer.","type":"text/plain"},"url":{"path":["holds",":transaction_id","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"reference\": \"order_12345\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"a7c041db-8888-5e60-b65c-688a6967e3f5","name":"Returns the canceled hold object.","originalRequest":{"url":{"path":["holds",":transaction_id","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"reference\": \"order_12345\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"hld_296645958265997313\",\n  \"resource\": \"hold\",\n  \"amount\": 10000,\n  \"amount_capturable\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"currency\": \"usd\",\n  \"captured\": true,\n  \"canceled\": true,\n  \"canceled_at\": \"string\",\n  \"cancellation_reason\": \"null\",\n  \"charges\": {\n    \"data\": [\n      {\n        \"id\": \"chrg_296645958265997312\",\n        \"resource\": \"charge\",\n        \"amount\": 10000,\n        \"amount_human_readable\": \"100.00\",\n        \"amount_refunded\": 0,\n        \"billing_details\": {\n          \"address\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"name\": \"John Smith\",\n          \"email\": \"john.smith@example.com\",\n          \"phone\": \"+14155551234\",\n          \"dob\": \"1985-07-15\",\n          \"national_identification_number\": \"123-45-6789\"\n        },\n        \"calculated_statement_descriptor\": \"ACME * ACME STORE\",\n        \"created\": \"2024-01-15T10:30:00Z\",\n        \"currency\": \"usd\",\n        \"customer\": \"cust_296645958265997317\",\n        \"customer_reference_id\": \"cust_ext_abc123\",\n        \"cashflow_transaction\": \"cflw_tx_296645958265997312\",\n        \"description\": \"Payment for Order #12345\",\n        \"disputed\": false,\n        \"failure_code\": \"string\",\n        \"failure_message\": \"string\",\n        \"metadata\": {},\n        \"paid\": true,\n        \"payment_session\": \"ps_296645958265997318\",\n        \"hold\": \"string\",\n        \"payment_method\": \"pm_card_296645958265997316\",\n        \"fraud\": true,\n        \"retry_attempts\": [\n          {\n            \"id\": \"rtratt_296645958265997312_1_1\",\n            \"created\": \"2024-01-15T10:30:00Z\",\n            \"type\": \"fallback\",\n            \"failure_code\": \"card_declined\",\n            \"failure_message\": \"The card was declined.\",\n            \"underlying_network_details\": {\n              \"network\": \"visa\",\n              \"visa\": {\n                \"arn\": \"74234567890123456789012\",\n                \"auth_code\": \"123456\",\n                \"raw_response_code\": \"00\",\n                \"rrn\": \"123456789012\",\n                \"eci\": \"05\",\n                \"aci\": \"Y\",\n                \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n              }\n            },\n            \"underlying_network_id\": \"74234567890123456789012\",\n            \"underlying_processing_details\": {\n              \"processor\": \"stripe\",\n              \"transaction_id\": \"pi_abc123xyz789\",\n              \"settlement_account\": \"sa_296645958265997349\",\n              \"settlement_account_details\": {\n                \"processor\": \"pay_com\",\n                \"currency\": \"usd\",\n                \"name\": \"Main Settlement Account\",\n                \"entity\": \"ent_296645958265997359\",\n                \"entity_details\": {\n                  \"legal_name\": \"ACME Corp\",\n                  \"country\": \"US\"\n                }\n              }\n            },\n            \"payment_method_options\": {\n              \"card\": {\n                \"security_checks\": {\n                  \"address_line1_check\": true,\n                  \"address_postal_code_check\": true,\n                  \"cvv_check\": true\n                }\n              }\n            }\n          },\n          {\n            \"id\": \"rtratt_296645958265997312_1_1\",\n            \"created\": \"2024-01-15T10:30:00Z\",\n            \"type\": \"fallback\",\n            \"failure_code\": \"card_declined\",\n            \"failure_message\": \"The card was declined.\",\n            \"underlying_network_details\": {\n              \"network\": \"visa\",\n              \"visa\": {\n                \"arn\": \"74234567890123456789012\",\n                \"auth_code\": \"123456\",\n                \"raw_response_code\": \"00\",\n                \"rrn\": \"123456789012\",\n                \"eci\": \"05\",\n                \"aci\": \"Y\",\n                \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n              }\n            },\n            \"underlying_network_id\": \"74234567890123456789012\",\n            \"underlying_processing_details\": {\n              \"processor\": \"stripe\",\n              \"transaction_id\": \"pi_abc123xyz789\",\n              \"settlement_account\": \"sa_296645958265997349\",\n              \"settlement_account_details\": {\n                \"processor\": \"pay_com\",\n                \"currency\": \"usd\",\n                \"name\": \"Main Settlement Account\",\n                \"entity\": \"ent_296645958265997359\",\n                \"entity_details\": {\n                  \"legal_name\": \"ACME Corp\",\n                  \"country\": \"US\"\n                }\n              }\n            },\n            \"payment_method_options\": {\n              \"card\": {\n                \"security_checks\": {\n                  \"address_line1_check\": true,\n                  \"address_postal_code_check\": true,\n                  \"cvv_check\": true\n                }\n              }\n            }\n          }\n        ],\n        \"payment_method_details\": {\n          \"type\": \"card\",\n          \"card\": {\n            \"bin\": \"424242\",\n            \"brand\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"cardholder_currency\": \"usd\",\n            \"country\": \"US\",\n            \"exp_month\": \"12\",\n            \"exp_year\": \"2028\",\n            \"fingerprint\": \"fp_abc123xyz789\",\n            \"funding\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"last4\": \"4242\",\n            \"network\": \"visa\",\n            \"category\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"security_checks\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"wallet\": {\n              \"type\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"googlepay\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"applepay\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"ctp\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            \"token\": \"tok_card_296645958265997326\",\n            \"three_d_secure\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"three_ds\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"payout\": \"not_available\",\n            \"name_verification\": \"match\",\n            \"partial_approval\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"name\": \"John Smith\",\n            \"issuer\": \"Chase Bank\"\n          },\n          \"cashapp\": {\n            \"cashtag\": \"$acmecustomer\",\n            \"name\": \"Jenny Rosen\"\n          },\n          \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n          \"setup_future_usage\": \"on_session\"\n        },\n        \"payment_method_options\": {\n          \"card\": {\n            \"security_checks\": {\n              \"address_line1_check\": true,\n              \"address_postal_code_check\": true,\n              \"cvv_check\": true\n            }\n          }\n        },\n        \"refunded\": false,\n        \"refunds\": {\n          \"data\": [\n            {\n              \"id\": \"rfnd_296645958265997314\",\n              \"resource\": \"refund\",\n              \"amount\": 10000,\n              \"amount_human_readable\": \"100.00\",\n              \"charge\": \"chrg_296645958265997312\",\n              \"created\": \"2024-01-15T10:30:00Z\",\n              \"currency\": \"usd\",\n              \"customer\": \"cust_296645958265997317\",\n              \"customer_reference_id\": \"cust_ext_abc123\",\n              \"metadata\": {},\n              \"reference\": \"refund_order_12345\",\n              \"status\": \"succeeded\",\n              \"failure_code\": \"string\",\n              \"failure_message\": \"string\",\n              \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n              \"test_mode\": false,\n              \"underlying_network_id\": \"123456789012345\",\n              \"underlying_network_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"underlying_processing_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"risk_assessment_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"receipt\": null,\n              \"tax_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            {\n              \"id\": \"rfnd_296645958265997314\",\n              \"resource\": \"refund\",\n              \"amount\": 10000,\n              \"amount_human_readable\": \"100.00\",\n              \"charge\": \"chrg_296645958265997312\",\n              \"created\": \"2024-01-15T10:30:00Z\",\n              \"currency\": \"usd\",\n              \"customer\": \"cust_296645958265997317\",\n              \"customer_reference_id\": \"cust_ext_abc123\",\n              \"metadata\": {},\n              \"reference\": \"refund_order_12345\",\n              \"status\": \"succeeded\",\n              \"failure_code\": \"string\",\n              \"failure_message\": \"string\",\n              \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n              \"test_mode\": true,\n              \"underlying_network_id\": \"123456789012345\",\n              \"underlying_network_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"underlying_processing_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"risk_assessment_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"receipt\": null,\n              \"tax_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            }\n          ],\n          \"url\": \"/v1/charges/chrg_296645958265997312/refunds\"\n        },\n        \"reference\": \"order_12345\",\n        \"shipping\": {\n          \"address\": {\n            \"city\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"country\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"line1\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"line2\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"postal_code\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"state\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"name\": \"John Smith\",\n          \"phone\": \"+14155551234\"\n        },\n        \"statement_descriptor_suffix\": \"ACME STORE\",\n        \"status\": \"failed\",\n        \"underlying_network_details\": {\n          \"network\": \"visa\",\n          \"visa\": {\n            \"arn\": \"74234567890123456789012\",\n            \"auth_code\": \"123456\",\n            \"raw_response_code\": \"00\",\n            \"rrn\": \"123456789012\",\n            \"eci\": \"05\",\n            \"aci\": \"Y\",\n            \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n          }\n        },\n        \"underlying_network_id\": \"123456789012345\",\n        \"risk_assessment_details\": {\n          \"outcome\": \"allow\",\n          \"outcome_source\": \"score\",\n          \"rule_id\": \"rl_296645958265997337\",\n          \"rules_id\": [\n            \"rl_296645958265997337\"\n          ],\n          \"score\": \"31\",\n          \"flags\": [\n            \"no_correlation_history\",\n            \"multiple_identities_billing\",\n            \"multiple_identities_card\",\n            \"free_email_provider\",\n            \"risky_billing_time\",\n            \"velocity_multiple_addresses\",\n            \"velocity_multiple_names\"\n          ]\n        },\n        \"test_mode\": true,\n        \"receipt\": null,\n        \"underlying_processing_details\": {\n          \"processor\": \"stripe\",\n          \"transaction_id\": \"pi_abc123xyz789\",\n          \"settlement_account\": \"sa_296645958265997349\",\n          \"settlement_account_details\": {\n            \"processor\": \"pay_com\",\n            \"currency\": \"usd\",\n            \"name\": \"Main Settlement Account\",\n            \"entity\": \"ent_296645958265997359\",\n            \"entity_details\": {\n              \"legal_name\": \"ACME Corp\",\n              \"country\": \"US\"\n            }\n          }\n        },\n        \"tax_details\": {\n          \"amount_total\": 825,\n          \"tax_behavior\": \"exclusive\",\n          \"tax_quote\": \"txq_296645958265997339\",\n          \"effective_tax_rate\": \"8.25\",\n          \"tax_transaction\": null\n        }\n      },\n      {\n        \"id\": \"chrg_296645958265997312\",\n        \"resource\": \"charge\",\n        \"amount\": 10000,\n        \"amount_human_readable\": \"100.00\",\n        \"amount_refunded\": 0,\n        \"billing_details\": {\n          \"address\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"name\": \"John Smith\",\n          \"email\": \"john.smith@example.com\",\n          \"phone\": \"+14155551234\",\n          \"dob\": \"1985-07-15\",\n          \"national_identification_number\": \"123-45-6789\"\n        },\n        \"calculated_statement_descriptor\": \"ACME * ACME STORE\",\n        \"created\": \"2024-01-15T10:30:00Z\",\n        \"currency\": \"usd\",\n        \"customer\": \"cust_296645958265997317\",\n        \"customer_reference_id\": \"cust_ext_abc123\",\n        \"cashflow_transaction\": \"cflw_tx_296645958265997312\",\n        \"description\": \"Payment for Order #12345\",\n        \"disputed\": false,\n        \"failure_code\": \"string\",\n        \"failure_message\": \"string\",\n        \"metadata\": {},\n        \"paid\": true,\n        \"payment_session\": \"ps_296645958265997318\",\n        \"hold\": \"string\",\n        \"payment_method\": \"pm_card_296645958265997316\",\n        \"fraud\": true,\n        \"retry_attempts\": [\n          {\n            \"id\": \"rtratt_296645958265997312_1_1\",\n            \"created\": \"2024-01-15T10:30:00Z\",\n            \"type\": \"fallback\",\n            \"failure_code\": \"card_declined\",\n            \"failure_message\": \"The card was declined.\",\n            \"underlying_network_details\": {\n              \"network\": \"visa\",\n              \"visa\": {\n                \"arn\": \"74234567890123456789012\",\n                \"auth_code\": \"123456\",\n                \"raw_response_code\": \"00\",\n                \"rrn\": \"123456789012\",\n                \"eci\": \"05\",\n                \"aci\": \"Y\",\n                \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n              }\n            },\n            \"underlying_network_id\": \"74234567890123456789012\",\n            \"underlying_processing_details\": {\n              \"processor\": \"stripe\",\n              \"transaction_id\": \"pi_abc123xyz789\",\n              \"settlement_account\": \"sa_296645958265997349\",\n              \"settlement_account_details\": {\n                \"processor\": \"pay_com\",\n                \"currency\": \"usd\",\n                \"name\": \"Main Settlement Account\",\n                \"entity\": \"ent_296645958265997359\",\n                \"entity_details\": {\n                  \"legal_name\": \"ACME Corp\",\n                  \"country\": \"US\"\n                }\n              }\n            },\n            \"payment_method_options\": {\n              \"card\": {\n                \"security_checks\": {\n                  \"address_line1_check\": true,\n                  \"address_postal_code_check\": true,\n                  \"cvv_check\": true\n                }\n              }\n            }\n          },\n          {\n            \"id\": \"rtratt_296645958265997312_1_1\",\n            \"created\": \"2024-01-15T10:30:00Z\",\n            \"type\": \"fallback\",\n            \"failure_code\": \"card_declined\",\n            \"failure_message\": \"The card was declined.\",\n            \"underlying_network_details\": {\n              \"network\": \"visa\",\n              \"visa\": {\n                \"arn\": \"74234567890123456789012\",\n                \"auth_code\": \"123456\",\n                \"raw_response_code\": \"00\",\n                \"rrn\": \"123456789012\",\n                \"eci\": \"05\",\n                \"aci\": \"Y\",\n                \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n              }\n            },\n            \"underlying_network_id\": \"74234567890123456789012\",\n            \"underlying_processing_details\": {\n              \"processor\": \"stripe\",\n              \"transaction_id\": \"pi_abc123xyz789\",\n              \"settlement_account\": \"sa_296645958265997349\",\n              \"settlement_account_details\": {\n                \"processor\": \"pay_com\",\n                \"currency\": \"usd\",\n                \"name\": \"Main Settlement Account\",\n                \"entity\": \"ent_296645958265997359\",\n                \"entity_details\": {\n                  \"legal_name\": \"ACME Corp\",\n                  \"country\": \"US\"\n                }\n              }\n            },\n            \"payment_method_options\": {\n              \"card\": {\n                \"security_checks\": {\n                  \"address_line1_check\": true,\n                  \"address_postal_code_check\": true,\n                  \"cvv_check\": true\n                }\n              }\n            }\n          }\n        ],\n        \"payment_method_details\": {\n          \"type\": \"card\",\n          \"card\": {\n            \"bin\": \"424242\",\n            \"brand\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"cardholder_currency\": \"usd\",\n            \"country\": \"US\",\n            \"exp_month\": \"12\",\n            \"exp_year\": \"2028\",\n            \"fingerprint\": \"fp_abc123xyz789\",\n            \"funding\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"last4\": \"4242\",\n            \"network\": \"visa\",\n            \"category\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"security_checks\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"wallet\": {\n              \"type\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"googlepay\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"applepay\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"ctp\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            \"token\": \"tok_card_296645958265997326\",\n            \"three_d_secure\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"three_ds\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"payout\": \"not_available\",\n            \"name_verification\": \"match\",\n            \"partial_approval\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"name\": \"John Smith\",\n            \"issuer\": \"Chase Bank\"\n          },\n          \"cashapp\": {\n            \"cashtag\": \"$acmecustomer\",\n            \"name\": \"Jenny Rosen\"\n          },\n          \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n          \"setup_future_usage\": \"on_session\"\n        },\n        \"payment_method_options\": {\n          \"card\": {\n            \"security_checks\": {\n              \"address_line1_check\": true,\n              \"address_postal_code_check\": true,\n              \"cvv_check\": true\n            }\n          }\n        },\n        \"refunded\": true,\n        \"refunds\": {\n          \"data\": [\n            {\n              \"id\": \"rfnd_296645958265997314\",\n              \"resource\": \"refund\",\n              \"amount\": 10000,\n              \"amount_human_readable\": \"100.00\",\n              \"charge\": \"chrg_296645958265997312\",\n              \"created\": \"2024-01-15T10:30:00Z\",\n              \"currency\": \"usd\",\n              \"customer\": \"cust_296645958265997317\",\n              \"customer_reference_id\": \"cust_ext_abc123\",\n              \"metadata\": {},\n              \"reference\": \"refund_order_12345\",\n              \"status\": \"succeeded\",\n              \"failure_code\": \"string\",\n              \"failure_message\": \"string\",\n              \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n              \"test_mode\": false,\n              \"underlying_network_id\": \"123456789012345\",\n              \"underlying_network_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"underlying_processing_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"risk_assessment_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"receipt\": null,\n              \"tax_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            {\n              \"id\": \"rfnd_296645958265997314\",\n              \"resource\": \"refund\",\n              \"amount\": 10000,\n              \"amount_human_readable\": \"100.00\",\n              \"charge\": \"chrg_296645958265997312\",\n              \"created\": \"2024-01-15T10:30:00Z\",\n              \"currency\": \"usd\",\n              \"customer\": \"cust_296645958265997317\",\n              \"customer_reference_id\": \"cust_ext_abc123\",\n              \"metadata\": {},\n              \"reference\": \"refund_order_12345\",\n              \"status\": \"succeeded\",\n              \"failure_code\": \"string\",\n              \"failure_message\": \"string\",\n              \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n              \"test_mode\": true,\n              \"underlying_network_id\": \"123456789012345\",\n              \"underlying_network_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"underlying_processing_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"risk_assessment_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"receipt\": null,\n              \"tax_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            }\n          ],\n          \"url\": \"/v1/charges/chrg_296645958265997312/refunds\"\n        },\n        \"reference\": \"order_12345\",\n        \"shipping\": {\n          \"address\": {\n            \"city\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"country\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"line1\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"line2\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"postal_code\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"state\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"name\": \"John Smith\",\n          \"phone\": \"+14155551234\"\n        },\n        \"statement_descriptor_suffix\": \"ACME STORE\",\n        \"status\": \"pending\",\n        \"underlying_network_details\": {\n          \"network\": \"visa\",\n          \"visa\": {\n            \"arn\": \"74234567890123456789012\",\n            \"auth_code\": \"123456\",\n            \"raw_response_code\": \"00\",\n            \"rrn\": \"123456789012\",\n            \"eci\": \"05\",\n            \"aci\": \"Y\",\n            \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n          }\n        },\n        \"underlying_network_id\": \"123456789012345\",\n        \"risk_assessment_details\": {\n          \"outcome\": \"allow\",\n          \"outcome_source\": \"score\",\n          \"rule_id\": \"rl_296645958265997337\",\n          \"rules_id\": [\n            \"rl_296645958265997337\"\n          ],\n          \"score\": \"31\",\n          \"flags\": [\n            \"no_correlation_history\",\n            \"multiple_identities_billing\",\n            \"multiple_identities_card\",\n            \"free_email_provider\",\n            \"risky_billing_time\",\n            \"velocity_multiple_addresses\",\n            \"velocity_multiple_names\"\n          ]\n        },\n        \"test_mode\": false,\n        \"receipt\": null,\n        \"underlying_processing_details\": {\n          \"processor\": \"stripe\",\n          \"transaction_id\": \"pi_abc123xyz789\",\n          \"settlement_account\": \"sa_296645958265997349\",\n          \"settlement_account_details\": {\n            \"processor\": \"pay_com\",\n            \"currency\": \"usd\",\n            \"name\": \"Main Settlement Account\",\n            \"entity\": \"ent_296645958265997359\",\n            \"entity_details\": {\n              \"legal_name\": \"ACME Corp\",\n              \"country\": \"US\"\n            }\n          }\n        },\n        \"tax_details\": {\n          \"amount_total\": 825,\n          \"tax_behavior\": \"exclusive\",\n          \"tax_quote\": \"txq_296645958265997339\",\n          \"effective_tax_rate\": \"8.25\",\n          \"tax_transaction\": null\n        }\n      }\n    ],\n    \"url\": \"/v1/holds/hld_296645958265997313/charges\"\n  },\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"description\": \"Payment for Order #12345\",\n  \"failure_code\": \"string\",\n  \"failure_message\": \"string\",\n  \"metadata\": {},\n  \"payment_session\": \"ps_296645958265997318\",\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"payment_method_details\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"bin\": \"424242\",\n      \"brand\": \"visa\",\n      \"cardholder_currency\": \"usd\",\n      \"country\": \"US\",\n      \"exp_month\": \"12\",\n      \"exp_year\": \"2028\",\n      \"fingerprint\": \"fp_abc123xyz789\",\n      \"funding\": \"credit\",\n      \"last4\": \"4242\",\n      \"network\": \"visa\",\n      \"category\": \"consumer\",\n      \"security_checks\": {\n        \"address_line1_check\": \"unavailable\",\n        \"address_postal_code_check\": \"unavailable\",\n        \"cvc_check\": \"pass\"\n      },\n      \"wallet\": {\n        \"type\": \"googlepay\",\n        \"googlepay\": {\n          \"type\": \"cryptogram_3ds\",\n          \"physical_card_last4\": \"4242\"\n        },\n        \"applepay\": {\n          \"physical_card_last4\": \"4242\"\n        },\n        \"ctp\": {\n          \"physical_card_last4\": \"string\",\n          \"physical_card_bin\": \"string\",\n          \"physical_card_exp_month\": \"string\",\n          \"physical_card_exp_year\": \"string\"\n        }\n      },\n      \"token\": \"tok_card_296645958265997326\",\n      \"three_d_secure\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"version\": \"2.2.0\",\n        \"eci\": \"05\",\n        \"cardholder_info\": \"string\",\n        \"liability_shift\": true\n      },\n      \"three_ds\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"status_reason\": \"string\",\n        \"protocol_version\": \"2.2.0\",\n        \"eci\": \"02\",\n        \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n        \"liability_shift\": true,\n        \"cardholder_info\": \"string\",\n        \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n        \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n        \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n        \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n        \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n      },\n      \"payout\": \"not_available\",\n      \"name_verification\": \"match\",\n      \"partial_approval\": {\n        \"status\": \"accepted\",\n        \"amount_requested\": 10000,\n        \"amount_authorized\": 7500,\n        \"amount_charged\": 7500,\n        \"product_id\": \"prod_12345\"\n      },\n      \"name\": \"John Smith\",\n      \"issuer\": \"Chase Bank\"\n    },\n    \"cashapp\": {\n      \"cashtag\": \"$acmecustomer\",\n      \"name\": \"Jenny Rosen\"\n    },\n    \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n    \"setup_future_usage\": \"on_session\"\n  },\n  \"payment_method_options\": {\n    \"card\": {\n      \"security_checks\": {\n        \"address_line1_check\": true,\n        \"address_postal_code_check\": true,\n        \"cvv_check\": true\n      }\n    }\n  },\n  \"reference\": \"order_12345\",\n  \"shipping\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"phone\": \"+14155551234\"\n  },\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"status\": \"requires_confirmation\",\n  \"underlying_network_details\": {\n    \"network\": \"visa\",\n    \"visa\": {\n      \"arn\": \"74234567890123456789012\",\n      \"auth_code\": \"123456\",\n      \"raw_response_code\": \"00\",\n      \"rrn\": \"123456789012\",\n      \"eci\": \"05\",\n      \"aci\": \"Y\",\n      \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n    }\n  },\n  \"underlying_network_id\": \"123456789012345\",\n  \"test_mode\": false,\n  \"retry_attempts\": [\n    {\n      \"id\": \"rtratt_296645958265997312_1_1\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"type\": \"fallback\",\n      \"failure_code\": \"card_declined\",\n      \"failure_message\": \"The card was declined.\",\n      \"underlying_network_details\": {\n        \"network\": \"visa\",\n        \"visa\": {\n          \"arn\": \"74234567890123456789012\",\n          \"auth_code\": \"123456\",\n          \"raw_response_code\": \"00\",\n          \"rrn\": \"123456789012\",\n          \"eci\": \"05\",\n          \"aci\": \"Y\",\n          \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n        }\n      },\n      \"underlying_network_id\": \"74234567890123456789012\",\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      },\n      \"payment_method_options\": {\n        \"card\": {\n          \"security_checks\": {\n            \"address_line1_check\": true,\n            \"address_postal_code_check\": true,\n            \"cvv_check\": true\n          }\n        }\n      }\n    },\n    {\n      \"id\": \"rtratt_296645958265997312_1_1\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"type\": \"fallback\",\n      \"failure_code\": \"card_declined\",\n      \"failure_message\": \"The card was declined.\",\n      \"underlying_network_details\": {\n        \"network\": \"visa\",\n        \"visa\": {\n          \"arn\": \"74234567890123456789012\",\n          \"auth_code\": \"123456\",\n          \"raw_response_code\": \"00\",\n          \"rrn\": \"123456789012\",\n          \"eci\": \"05\",\n          \"aci\": \"Y\",\n          \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n        }\n      },\n      \"underlying_network_id\": \"74234567890123456789012\",\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      },\n      \"payment_method_options\": {\n        \"card\": {\n          \"security_checks\": {\n            \"address_line1_check\": true,\n            \"address_postal_code_check\": true,\n            \"cvv_check\": true\n          }\n        }\n      }\n    }\n  ],\n  \"risk_assessment_details\": {\n    \"outcome\": \"allow\",\n    \"outcome_source\": \"score\",\n    \"rule_id\": \"rl_296645958265997337\",\n    \"rules_id\": [\n      \"rl_296645958265997337\"\n    ],\n    \"score\": \"31\",\n    \"flags\": [\n      \"no_correlation_history\",\n      \"multiple_identities_billing\",\n      \"multiple_identities_card\",\n      \"free_email_provider\",\n      \"risky_billing_time\",\n      \"velocity_multiple_addresses\",\n      \"velocity_multiple_names\"\n    ]\n  },\n  \"underlying_processing_details\": {\n    \"processor\": \"stripe\",\n    \"transaction_id\": \"pi_abc123xyz789\",\n    \"settlement_account\": \"sa_296645958265997349\",\n    \"settlement_account_details\": {\n      \"processor\": \"pay_com\",\n      \"currency\": \"usd\",\n      \"name\": \"Main Settlement Account\",\n      \"entity\": \"ent_296645958265997359\",\n      \"entity_details\": {\n        \"legal_name\": \"ACME Corp\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"tax_details\": {\n    \"amount_total\": 825,\n    \"tax_behavior\": \"exclusive\",\n    \"tax_quote\": \"txq_296645958265997339\",\n    \"effective_tax_rate\": \"8.25\",\n    \"tax_transaction\": null\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"524d1c71-1b19-5147-a03d-d5e42018faba","name":"Invalid request parameters.","originalRequest":{"url":{"path":["holds",":transaction_id","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"reference\": \"order_12345\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"db214a1b-57e6-55fe-a798-45d513d45c81","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["holds",":transaction_id","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"reference\": \"order_12345\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5bacdf76-b2fd-5e89-8011-f9ea1e5b8b1c","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["holds",":transaction_id","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"reference\": \"order_12345\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f57f7449-6362-5fa9-963e-6d678bd2d1e5","name":"Hold not found.","originalRequest":{"url":{"path":["holds",":transaction_id","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"reference\": \"order_12345\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"23a288eb-0bfa-54c6-9c74-d32006b938cd","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["holds",":transaction_id","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"reference\": \"order_12345\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2d47d53e-4406-5435-a464-2985cd8092f9","name":"Unprocessable content. The hold has no cancellable amount left, for example because it was already canceled.","originalRequest":{"url":{"path":["holds",":transaction_id","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"reference\": \"order_12345\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"Payment method is not set up for \\\"off_session\\\" mode\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"92c7972d-d2a7-5821-b0fd-77d28b3d4cd3","name":"Internal server error.","originalRequest":{"url":{"path":["holds",":transaction_id","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"reference\": \"order_12345\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9a8efc35-e200-5dcf-a0e4-24be213af96d","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["holds",":transaction_id","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"reference\": \"order_12345\",\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"f979d1e7-476a-5171-b367-4a3e8cac5ca1","name":"Confirm a hold","request":{"name":"Confirm a hold","description":{"content":"Completes a hold whose status is `requires_confirmation`, after its 3D Secure authentication completed.\n\nIf authentication failed or the hold is declined, the response is HTTP 400 with an error of type `payment_method_error`; when authentication failed, `decline_code` is `authentication_failure` and `authentication_session` holds the session ID.","type":"text/plain"},"url":{"path":["holds",":transaction_id","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null},"response":[{"id":"912e7b13-26b6-5d2b-be49-e8dba05f0330","name":"Returns the confirmed hold object.","originalRequest":{"url":{"path":["holds",":transaction_id","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"hld_296645958265997313\",\n  \"resource\": \"hold\",\n  \"amount\": 10000,\n  \"amount_capturable\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"currency\": \"usd\",\n  \"captured\": true,\n  \"canceled\": true,\n  \"canceled_at\": \"string\",\n  \"cancellation_reason\": \"null\",\n  \"charges\": {\n    \"data\": [\n      {\n        \"id\": \"chrg_296645958265997312\",\n        \"resource\": \"charge\",\n        \"amount\": 10000,\n        \"amount_human_readable\": \"100.00\",\n        \"amount_refunded\": 0,\n        \"billing_details\": {\n          \"address\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"name\": \"John Smith\",\n          \"email\": \"john.smith@example.com\",\n          \"phone\": \"+14155551234\",\n          \"dob\": \"1985-07-15\",\n          \"national_identification_number\": \"123-45-6789\"\n        },\n        \"calculated_statement_descriptor\": \"ACME * ACME STORE\",\n        \"created\": \"2024-01-15T10:30:00Z\",\n        \"currency\": \"usd\",\n        \"customer\": \"cust_296645958265997317\",\n        \"customer_reference_id\": \"cust_ext_abc123\",\n        \"cashflow_transaction\": \"cflw_tx_296645958265997312\",\n        \"description\": \"Payment for Order #12345\",\n        \"disputed\": false,\n        \"failure_code\": \"string\",\n        \"failure_message\": \"string\",\n        \"metadata\": {},\n        \"paid\": true,\n        \"payment_session\": \"ps_296645958265997318\",\n        \"hold\": \"string\",\n        \"payment_method\": \"pm_card_296645958265997316\",\n        \"fraud\": true,\n        \"retry_attempts\": [\n          {\n            \"id\": \"rtratt_296645958265997312_1_1\",\n            \"created\": \"2024-01-15T10:30:00Z\",\n            \"type\": \"fallback\",\n            \"failure_code\": \"card_declined\",\n            \"failure_message\": \"The card was declined.\",\n            \"underlying_network_details\": {\n              \"network\": \"visa\",\n              \"visa\": {\n                \"arn\": \"74234567890123456789012\",\n                \"auth_code\": \"123456\",\n                \"raw_response_code\": \"00\",\n                \"rrn\": \"123456789012\",\n                \"eci\": \"05\",\n                \"aci\": \"Y\",\n                \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n              }\n            },\n            \"underlying_network_id\": \"74234567890123456789012\",\n            \"underlying_processing_details\": {\n              \"processor\": \"stripe\",\n              \"transaction_id\": \"pi_abc123xyz789\",\n              \"settlement_account\": \"sa_296645958265997349\",\n              \"settlement_account_details\": {\n                \"processor\": \"pay_com\",\n                \"currency\": \"usd\",\n                \"name\": \"Main Settlement Account\",\n                \"entity\": \"ent_296645958265997359\",\n                \"entity_details\": {\n                  \"legal_name\": \"ACME Corp\",\n                  \"country\": \"US\"\n                }\n              }\n            },\n            \"payment_method_options\": {\n              \"card\": {\n                \"security_checks\": {\n                  \"address_line1_check\": true,\n                  \"address_postal_code_check\": true,\n                  \"cvv_check\": true\n                }\n              }\n            }\n          },\n          {\n            \"id\": \"rtratt_296645958265997312_1_1\",\n            \"created\": \"2024-01-15T10:30:00Z\",\n            \"type\": \"fallback\",\n            \"failure_code\": \"card_declined\",\n            \"failure_message\": \"The card was declined.\",\n            \"underlying_network_details\": {\n              \"network\": \"visa\",\n              \"visa\": {\n                \"arn\": \"74234567890123456789012\",\n                \"auth_code\": \"123456\",\n                \"raw_response_code\": \"00\",\n                \"rrn\": \"123456789012\",\n                \"eci\": \"05\",\n                \"aci\": \"Y\",\n                \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n              }\n            },\n            \"underlying_network_id\": \"74234567890123456789012\",\n            \"underlying_processing_details\": {\n              \"processor\": \"stripe\",\n              \"transaction_id\": \"pi_abc123xyz789\",\n              \"settlement_account\": \"sa_296645958265997349\",\n              \"settlement_account_details\": {\n                \"processor\": \"pay_com\",\n                \"currency\": \"usd\",\n                \"name\": \"Main Settlement Account\",\n                \"entity\": \"ent_296645958265997359\",\n                \"entity_details\": {\n                  \"legal_name\": \"ACME Corp\",\n                  \"country\": \"US\"\n                }\n              }\n            },\n            \"payment_method_options\": {\n              \"card\": {\n                \"security_checks\": {\n                  \"address_line1_check\": true,\n                  \"address_postal_code_check\": true,\n                  \"cvv_check\": true\n                }\n              }\n            }\n          }\n        ],\n        \"payment_method_details\": {\n          \"type\": \"card\",\n          \"card\": {\n            \"bin\": \"424242\",\n            \"brand\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"cardholder_currency\": \"usd\",\n            \"country\": \"US\",\n            \"exp_month\": \"12\",\n            \"exp_year\": \"2028\",\n            \"fingerprint\": \"fp_abc123xyz789\",\n            \"funding\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"last4\": \"4242\",\n            \"network\": \"visa\",\n            \"category\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"security_checks\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"wallet\": {\n              \"type\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"googlepay\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"applepay\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"ctp\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            \"token\": \"tok_card_296645958265997326\",\n            \"three_d_secure\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"three_ds\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"payout\": \"not_available\",\n            \"name_verification\": \"match\",\n            \"partial_approval\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"name\": \"John Smith\",\n            \"issuer\": \"Chase Bank\"\n          },\n          \"cashapp\": {\n            \"cashtag\": \"$acmecustomer\",\n            \"name\": \"Jenny Rosen\"\n          },\n          \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n          \"setup_future_usage\": \"on_session\"\n        },\n        \"payment_method_options\": {\n          \"card\": {\n            \"security_checks\": {\n              \"address_line1_check\": true,\n              \"address_postal_code_check\": true,\n              \"cvv_check\": true\n            }\n          }\n        },\n        \"refunded\": false,\n        \"refunds\": {\n          \"data\": [\n            {\n              \"id\": \"rfnd_296645958265997314\",\n              \"resource\": \"refund\",\n              \"amount\": 10000,\n              \"amount_human_readable\": \"100.00\",\n              \"charge\": \"chrg_296645958265997312\",\n              \"created\": \"2024-01-15T10:30:00Z\",\n              \"currency\": \"usd\",\n              \"customer\": \"cust_296645958265997317\",\n              \"customer_reference_id\": \"cust_ext_abc123\",\n              \"metadata\": {},\n              \"reference\": \"refund_order_12345\",\n              \"status\": \"succeeded\",\n              \"failure_code\": \"string\",\n              \"failure_message\": \"string\",\n              \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n              \"test_mode\": false,\n              \"underlying_network_id\": \"123456789012345\",\n              \"underlying_network_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"underlying_processing_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"risk_assessment_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"receipt\": null,\n              \"tax_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            {\n              \"id\": \"rfnd_296645958265997314\",\n              \"resource\": \"refund\",\n              \"amount\": 10000,\n              \"amount_human_readable\": \"100.00\",\n              \"charge\": \"chrg_296645958265997312\",\n              \"created\": \"2024-01-15T10:30:00Z\",\n              \"currency\": \"usd\",\n              \"customer\": \"cust_296645958265997317\",\n              \"customer_reference_id\": \"cust_ext_abc123\",\n              \"metadata\": {},\n              \"reference\": \"refund_order_12345\",\n              \"status\": \"succeeded\",\n              \"failure_code\": \"string\",\n              \"failure_message\": \"string\",\n              \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n              \"test_mode\": true,\n              \"underlying_network_id\": \"123456789012345\",\n              \"underlying_network_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"underlying_processing_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"risk_assessment_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"receipt\": null,\n              \"tax_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            }\n          ],\n          \"url\": \"/v1/charges/chrg_296645958265997312/refunds\"\n        },\n        \"reference\": \"order_12345\",\n        \"shipping\": {\n          \"address\": {\n            \"city\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"country\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"line1\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"line2\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"postal_code\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"state\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"name\": \"John Smith\",\n          \"phone\": \"+14155551234\"\n        },\n        \"statement_descriptor_suffix\": \"ACME STORE\",\n        \"status\": \"failed\",\n        \"underlying_network_details\": {\n          \"network\": \"visa\",\n          \"visa\": {\n            \"arn\": \"74234567890123456789012\",\n            \"auth_code\": \"123456\",\n            \"raw_response_code\": \"00\",\n            \"rrn\": \"123456789012\",\n            \"eci\": \"05\",\n            \"aci\": \"Y\",\n            \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n          }\n        },\n        \"underlying_network_id\": \"123456789012345\",\n        \"risk_assessment_details\": {\n          \"outcome\": \"allow\",\n          \"outcome_source\": \"score\",\n          \"rule_id\": \"rl_296645958265997337\",\n          \"rules_id\": [\n            \"rl_296645958265997337\"\n          ],\n          \"score\": \"31\",\n          \"flags\": [\n            \"no_correlation_history\",\n            \"multiple_identities_billing\",\n            \"multiple_identities_card\",\n            \"free_email_provider\",\n            \"risky_billing_time\",\n            \"velocity_multiple_addresses\",\n            \"velocity_multiple_names\"\n          ]\n        },\n        \"test_mode\": true,\n        \"receipt\": null,\n        \"underlying_processing_details\": {\n          \"processor\": \"stripe\",\n          \"transaction_id\": \"pi_abc123xyz789\",\n          \"settlement_account\": \"sa_296645958265997349\",\n          \"settlement_account_details\": {\n            \"processor\": \"pay_com\",\n            \"currency\": \"usd\",\n            \"name\": \"Main Settlement Account\",\n            \"entity\": \"ent_296645958265997359\",\n            \"entity_details\": {\n              \"legal_name\": \"ACME Corp\",\n              \"country\": \"US\"\n            }\n          }\n        },\n        \"tax_details\": {\n          \"amount_total\": 825,\n          \"tax_behavior\": \"exclusive\",\n          \"tax_quote\": \"txq_296645958265997339\",\n          \"effective_tax_rate\": \"8.25\",\n          \"tax_transaction\": null\n        }\n      },\n      {\n        \"id\": \"chrg_296645958265997312\",\n        \"resource\": \"charge\",\n        \"amount\": 10000,\n        \"amount_human_readable\": \"100.00\",\n        \"amount_refunded\": 0,\n        \"billing_details\": {\n          \"address\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"name\": \"John Smith\",\n          \"email\": \"john.smith@example.com\",\n          \"phone\": \"+14155551234\",\n          \"dob\": \"1985-07-15\",\n          \"national_identification_number\": \"123-45-6789\"\n        },\n        \"calculated_statement_descriptor\": \"ACME * ACME STORE\",\n        \"created\": \"2024-01-15T10:30:00Z\",\n        \"currency\": \"usd\",\n        \"customer\": \"cust_296645958265997317\",\n        \"customer_reference_id\": \"cust_ext_abc123\",\n        \"cashflow_transaction\": \"cflw_tx_296645958265997312\",\n        \"description\": \"Payment for Order #12345\",\n        \"disputed\": false,\n        \"failure_code\": \"string\",\n        \"failure_message\": \"string\",\n        \"metadata\": {},\n        \"paid\": true,\n        \"payment_session\": \"ps_296645958265997318\",\n        \"hold\": \"string\",\n        \"payment_method\": \"pm_card_296645958265997316\",\n        \"fraud\": true,\n        \"retry_attempts\": [\n          {\n            \"id\": \"rtratt_296645958265997312_1_1\",\n            \"created\": \"2024-01-15T10:30:00Z\",\n            \"type\": \"fallback\",\n            \"failure_code\": \"card_declined\",\n            \"failure_message\": \"The card was declined.\",\n            \"underlying_network_details\": {\n              \"network\": \"visa\",\n              \"visa\": {\n                \"arn\": \"74234567890123456789012\",\n                \"auth_code\": \"123456\",\n                \"raw_response_code\": \"00\",\n                \"rrn\": \"123456789012\",\n                \"eci\": \"05\",\n                \"aci\": \"Y\",\n                \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n              }\n            },\n            \"underlying_network_id\": \"74234567890123456789012\",\n            \"underlying_processing_details\": {\n              \"processor\": \"stripe\",\n              \"transaction_id\": \"pi_abc123xyz789\",\n              \"settlement_account\": \"sa_296645958265997349\",\n              \"settlement_account_details\": {\n                \"processor\": \"pay_com\",\n                \"currency\": \"usd\",\n                \"name\": \"Main Settlement Account\",\n                \"entity\": \"ent_296645958265997359\",\n                \"entity_details\": {\n                  \"legal_name\": \"ACME Corp\",\n                  \"country\": \"US\"\n                }\n              }\n            },\n            \"payment_method_options\": {\n              \"card\": {\n                \"security_checks\": {\n                  \"address_line1_check\": true,\n                  \"address_postal_code_check\": true,\n                  \"cvv_check\": true\n                }\n              }\n            }\n          },\n          {\n            \"id\": \"rtratt_296645958265997312_1_1\",\n            \"created\": \"2024-01-15T10:30:00Z\",\n            \"type\": \"fallback\",\n            \"failure_code\": \"card_declined\",\n            \"failure_message\": \"The card was declined.\",\n            \"underlying_network_details\": {\n              \"network\": \"visa\",\n              \"visa\": {\n                \"arn\": \"74234567890123456789012\",\n                \"auth_code\": \"123456\",\n                \"raw_response_code\": \"00\",\n                \"rrn\": \"123456789012\",\n                \"eci\": \"05\",\n                \"aci\": \"Y\",\n                \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n              }\n            },\n            \"underlying_network_id\": \"74234567890123456789012\",\n            \"underlying_processing_details\": {\n              \"processor\": \"stripe\",\n              \"transaction_id\": \"pi_abc123xyz789\",\n              \"settlement_account\": \"sa_296645958265997349\",\n              \"settlement_account_details\": {\n                \"processor\": \"pay_com\",\n                \"currency\": \"usd\",\n                \"name\": \"Main Settlement Account\",\n                \"entity\": \"ent_296645958265997359\",\n                \"entity_details\": {\n                  \"legal_name\": \"ACME Corp\",\n                  \"country\": \"US\"\n                }\n              }\n            },\n            \"payment_method_options\": {\n              \"card\": {\n                \"security_checks\": {\n                  \"address_line1_check\": true,\n                  \"address_postal_code_check\": true,\n                  \"cvv_check\": true\n                }\n              }\n            }\n          }\n        ],\n        \"payment_method_details\": {\n          \"type\": \"card\",\n          \"card\": {\n            \"bin\": \"424242\",\n            \"brand\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"cardholder_currency\": \"usd\",\n            \"country\": \"US\",\n            \"exp_month\": \"12\",\n            \"exp_year\": \"2028\",\n            \"fingerprint\": \"fp_abc123xyz789\",\n            \"funding\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"last4\": \"4242\",\n            \"network\": \"visa\",\n            \"category\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"security_checks\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"wallet\": {\n              \"type\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"googlepay\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"applepay\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"ctp\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            \"token\": \"tok_card_296645958265997326\",\n            \"three_d_secure\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"three_ds\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"payout\": \"not_available\",\n            \"name_verification\": \"match\",\n            \"partial_approval\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"name\": \"John Smith\",\n            \"issuer\": \"Chase Bank\"\n          },\n          \"cashapp\": {\n            \"cashtag\": \"$acmecustomer\",\n            \"name\": \"Jenny Rosen\"\n          },\n          \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n          \"setup_future_usage\": \"on_session\"\n        },\n        \"payment_method_options\": {\n          \"card\": {\n            \"security_checks\": {\n              \"address_line1_check\": true,\n              \"address_postal_code_check\": true,\n              \"cvv_check\": true\n            }\n          }\n        },\n        \"refunded\": true,\n        \"refunds\": {\n          \"data\": [\n            {\n              \"id\": \"rfnd_296645958265997314\",\n              \"resource\": \"refund\",\n              \"amount\": 10000,\n              \"amount_human_readable\": \"100.00\",\n              \"charge\": \"chrg_296645958265997312\",\n              \"created\": \"2024-01-15T10:30:00Z\",\n              \"currency\": \"usd\",\n              \"customer\": \"cust_296645958265997317\",\n              \"customer_reference_id\": \"cust_ext_abc123\",\n              \"metadata\": {},\n              \"reference\": \"refund_order_12345\",\n              \"status\": \"succeeded\",\n              \"failure_code\": \"string\",\n              \"failure_message\": \"string\",\n              \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n              \"test_mode\": false,\n              \"underlying_network_id\": \"123456789012345\",\n              \"underlying_network_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"underlying_processing_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"risk_assessment_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"receipt\": null,\n              \"tax_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            },\n            {\n              \"id\": \"rfnd_296645958265997314\",\n              \"resource\": \"refund\",\n              \"amount\": 10000,\n              \"amount_human_readable\": \"100.00\",\n              \"charge\": \"chrg_296645958265997312\",\n              \"created\": \"2024-01-15T10:30:00Z\",\n              \"currency\": \"usd\",\n              \"customer\": \"cust_296645958265997317\",\n              \"customer_reference_id\": \"cust_ext_abc123\",\n              \"metadata\": {},\n              \"reference\": \"refund_order_12345\",\n              \"status\": \"succeeded\",\n              \"failure_code\": \"string\",\n              \"failure_message\": \"string\",\n              \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n              \"test_mode\": true,\n              \"underlying_network_id\": \"123456789012345\",\n              \"underlying_network_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"underlying_processing_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"risk_assessment_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              },\n              \"receipt\": null,\n              \"tax_details\": {\n                \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n              }\n            }\n          ],\n          \"url\": \"/v1/charges/chrg_296645958265997312/refunds\"\n        },\n        \"reference\": \"order_12345\",\n        \"shipping\": {\n          \"address\": {\n            \"city\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"country\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"line1\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"line2\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"postal_code\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            },\n            \"state\": {\n              \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n            }\n          },\n          \"name\": \"John Smith\",\n          \"phone\": \"+14155551234\"\n        },\n        \"statement_descriptor_suffix\": \"ACME STORE\",\n        \"status\": \"pending\",\n        \"underlying_network_details\": {\n          \"network\": \"visa\",\n          \"visa\": {\n            \"arn\": \"74234567890123456789012\",\n            \"auth_code\": \"123456\",\n            \"raw_response_code\": \"00\",\n            \"rrn\": \"123456789012\",\n            \"eci\": \"05\",\n            \"aci\": \"Y\",\n            \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n          }\n        },\n        \"underlying_network_id\": \"123456789012345\",\n        \"risk_assessment_details\": {\n          \"outcome\": \"allow\",\n          \"outcome_source\": \"score\",\n          \"rule_id\": \"rl_296645958265997337\",\n          \"rules_id\": [\n            \"rl_296645958265997337\"\n          ],\n          \"score\": \"31\",\n          \"flags\": [\n            \"no_correlation_history\",\n            \"multiple_identities_billing\",\n            \"multiple_identities_card\",\n            \"free_email_provider\",\n            \"risky_billing_time\",\n            \"velocity_multiple_addresses\",\n            \"velocity_multiple_names\"\n          ]\n        },\n        \"test_mode\": false,\n        \"receipt\": null,\n        \"underlying_processing_details\": {\n          \"processor\": \"stripe\",\n          \"transaction_id\": \"pi_abc123xyz789\",\n          \"settlement_account\": \"sa_296645958265997349\",\n          \"settlement_account_details\": {\n            \"processor\": \"pay_com\",\n            \"currency\": \"usd\",\n            \"name\": \"Main Settlement Account\",\n            \"entity\": \"ent_296645958265997359\",\n            \"entity_details\": {\n              \"legal_name\": \"ACME Corp\",\n              \"country\": \"US\"\n            }\n          }\n        },\n        \"tax_details\": {\n          \"amount_total\": 825,\n          \"tax_behavior\": \"exclusive\",\n          \"tax_quote\": \"txq_296645958265997339\",\n          \"effective_tax_rate\": \"8.25\",\n          \"tax_transaction\": null\n        }\n      }\n    ],\n    \"url\": \"/v1/holds/hld_296645958265997313/charges\"\n  },\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"description\": \"Payment for Order #12345\",\n  \"failure_code\": \"string\",\n  \"failure_message\": \"string\",\n  \"metadata\": {},\n  \"payment_session\": \"ps_296645958265997318\",\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"payment_method_details\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"bin\": \"424242\",\n      \"brand\": \"visa\",\n      \"cardholder_currency\": \"usd\",\n      \"country\": \"US\",\n      \"exp_month\": \"12\",\n      \"exp_year\": \"2028\",\n      \"fingerprint\": \"fp_abc123xyz789\",\n      \"funding\": \"credit\",\n      \"last4\": \"4242\",\n      \"network\": \"visa\",\n      \"category\": \"consumer\",\n      \"security_checks\": {\n        \"address_line1_check\": \"unavailable\",\n        \"address_postal_code_check\": \"unavailable\",\n        \"cvc_check\": \"pass\"\n      },\n      \"wallet\": {\n        \"type\": \"googlepay\",\n        \"googlepay\": {\n          \"type\": \"cryptogram_3ds\",\n          \"physical_card_last4\": \"4242\"\n        },\n        \"applepay\": {\n          \"physical_card_last4\": \"4242\"\n        },\n        \"ctp\": {\n          \"physical_card_last4\": \"string\",\n          \"physical_card_bin\": \"string\",\n          \"physical_card_exp_month\": \"string\",\n          \"physical_card_exp_year\": \"string\"\n        }\n      },\n      \"token\": \"tok_card_296645958265997326\",\n      \"three_d_secure\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"version\": \"2.2.0\",\n        \"eci\": \"05\",\n        \"cardholder_info\": \"string\",\n        \"liability_shift\": true\n      },\n      \"three_ds\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"status_reason\": \"string\",\n        \"protocol_version\": \"2.2.0\",\n        \"eci\": \"02\",\n        \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n        \"liability_shift\": true,\n        \"cardholder_info\": \"string\",\n        \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n        \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n        \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n        \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n        \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n      },\n      \"payout\": \"not_available\",\n      \"name_verification\": \"match\",\n      \"partial_approval\": {\n        \"status\": \"accepted\",\n        \"amount_requested\": 10000,\n        \"amount_authorized\": 7500,\n        \"amount_charged\": 7500,\n        \"product_id\": \"prod_12345\"\n      },\n      \"name\": \"John Smith\",\n      \"issuer\": \"Chase Bank\"\n    },\n    \"cashapp\": {\n      \"cashtag\": \"$acmecustomer\",\n      \"name\": \"Jenny Rosen\"\n    },\n    \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n    \"setup_future_usage\": \"on_session\"\n  },\n  \"payment_method_options\": {\n    \"card\": {\n      \"security_checks\": {\n        \"address_line1_check\": true,\n        \"address_postal_code_check\": true,\n        \"cvv_check\": true\n      }\n    }\n  },\n  \"reference\": \"order_12345\",\n  \"shipping\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"phone\": \"+14155551234\"\n  },\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"status\": \"requires_confirmation\",\n  \"underlying_network_details\": {\n    \"network\": \"visa\",\n    \"visa\": {\n      \"arn\": \"74234567890123456789012\",\n      \"auth_code\": \"123456\",\n      \"raw_response_code\": \"00\",\n      \"rrn\": \"123456789012\",\n      \"eci\": \"05\",\n      \"aci\": \"Y\",\n      \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n    }\n  },\n  \"underlying_network_id\": \"123456789012345\",\n  \"test_mode\": false,\n  \"retry_attempts\": [\n    {\n      \"id\": \"rtratt_296645958265997312_1_1\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"type\": \"fallback\",\n      \"failure_code\": \"card_declined\",\n      \"failure_message\": \"The card was declined.\",\n      \"underlying_network_details\": {\n        \"network\": \"visa\",\n        \"visa\": {\n          \"arn\": \"74234567890123456789012\",\n          \"auth_code\": \"123456\",\n          \"raw_response_code\": \"00\",\n          \"rrn\": \"123456789012\",\n          \"eci\": \"05\",\n          \"aci\": \"Y\",\n          \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n        }\n      },\n      \"underlying_network_id\": \"74234567890123456789012\",\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      },\n      \"payment_method_options\": {\n        \"card\": {\n          \"security_checks\": {\n            \"address_line1_check\": true,\n            \"address_postal_code_check\": true,\n            \"cvv_check\": true\n          }\n        }\n      }\n    },\n    {\n      \"id\": \"rtratt_296645958265997312_1_1\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"type\": \"fallback\",\n      \"failure_code\": \"card_declined\",\n      \"failure_message\": \"The card was declined.\",\n      \"underlying_network_details\": {\n        \"network\": \"visa\",\n        \"visa\": {\n          \"arn\": \"74234567890123456789012\",\n          \"auth_code\": \"123456\",\n          \"raw_response_code\": \"00\",\n          \"rrn\": \"123456789012\",\n          \"eci\": \"05\",\n          \"aci\": \"Y\",\n          \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n        }\n      },\n      \"underlying_network_id\": \"74234567890123456789012\",\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      },\n      \"payment_method_options\": {\n        \"card\": {\n          \"security_checks\": {\n            \"address_line1_check\": true,\n            \"address_postal_code_check\": true,\n            \"cvv_check\": true\n          }\n        }\n      }\n    }\n  ],\n  \"risk_assessment_details\": {\n    \"outcome\": \"allow\",\n    \"outcome_source\": \"score\",\n    \"rule_id\": \"rl_296645958265997337\",\n    \"rules_id\": [\n      \"rl_296645958265997337\"\n    ],\n    \"score\": \"31\",\n    \"flags\": [\n      \"no_correlation_history\",\n      \"multiple_identities_billing\",\n      \"multiple_identities_card\",\n      \"free_email_provider\",\n      \"risky_billing_time\",\n      \"velocity_multiple_addresses\",\n      \"velocity_multiple_names\"\n    ]\n  },\n  \"underlying_processing_details\": {\n    \"processor\": \"stripe\",\n    \"transaction_id\": \"pi_abc123xyz789\",\n    \"settlement_account\": \"sa_296645958265997349\",\n    \"settlement_account_details\": {\n      \"processor\": \"pay_com\",\n      \"currency\": \"usd\",\n      \"name\": \"Main Settlement Account\",\n      \"entity\": \"ent_296645958265997359\",\n      \"entity_details\": {\n        \"legal_name\": \"ACME Corp\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"tax_details\": {\n    \"amount_total\": 825,\n    \"tax_behavior\": \"exclusive\",\n    \"tax_quote\": \"txq_296645958265997339\",\n    \"effective_tax_rate\": \"8.25\",\n    \"tax_transaction\": null\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"96e4182d-fbf5-52ae-9280-4bbed42c92e5","name":"Invalid request parameters, the hold was already processed, or the hold was declined (`payment_method_error`).","originalRequest":{"url":{"path":["holds",":transaction_id","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c7cc0cb1-5fa5-57e1-9094-3fa48d6bf201","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["holds",":transaction_id","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"04d544ba-8196-51be-8b12-f83f117030bf","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["holds",":transaction_id","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"691c256b-45bb-5eb7-aaf1-00d855b194d6","name":"Hold not found.","originalRequest":{"url":{"path":["holds",":transaction_id","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"72a6cd84-6467-5ce1-86e2-669e52e0ce10","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["holds",":transaction_id","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d113feed-30dc-5185-a5a7-3acd09c16765","name":"Internal server error.","originalRequest":{"url":{"path":["holds",":transaction_id","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"57da0c10-00c4-5fb7-a381-cf07dc966cc6","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["holds",":transaction_id","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"ccb7e679-3309-5856-b80e-70fe8bb4b4e9","name":"List hold charges","request":{"name":"List hold charges","description":{"content":"Returns the charges created from a hold (its captures), as an array.","type":"text/plain"},"url":{"path":["holds",":transaction_id","charges"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"60a8b93f-27d3-5641-92e2-33ce6f122690","name":"Returns a list of charge objects.","originalRequest":{"url":{"path":["holds",":transaction_id","charges"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  {\n    \"id\": \"chrg_296645958265997312\",\n    \"resource\": \"charge\",\n    \"amount\": 10000,\n    \"amount_human_readable\": \"100.00\",\n    \"amount_refunded\": 0,\n    \"billing_details\": {\n      \"address\": {\n        \"city\": \"San Francisco\",\n        \"country\": \"US\",\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"postal_code\": \"94102\",\n        \"state\": \"CA\"\n      },\n      \"name\": \"John Smith\",\n      \"email\": \"john.smith@example.com\",\n      \"phone\": \"+14155551234\",\n      \"dob\": \"1985-07-15\",\n      \"national_identification_number\": \"123-45-6789\"\n    },\n    \"calculated_statement_descriptor\": \"ACME * ACME STORE\",\n    \"created\": \"2024-01-15T10:30:00Z\",\n    \"currency\": \"usd\",\n    \"customer\": \"cust_296645958265997317\",\n    \"customer_reference_id\": \"cust_ext_abc123\",\n    \"cashflow_transaction\": \"cflw_tx_296645958265997312\",\n    \"description\": \"Payment for Order #12345\",\n    \"disputed\": false,\n    \"failure_code\": \"string\",\n    \"failure_message\": \"string\",\n    \"metadata\": {},\n    \"paid\": true,\n    \"payment_session\": \"ps_296645958265997318\",\n    \"hold\": \"string\",\n    \"payment_method\": \"pm_card_296645958265997316\",\n    \"fraud\": true,\n    \"retry_attempts\": [\n      {\n        \"id\": \"rtratt_296645958265997312_1_1\",\n        \"created\": \"2024-01-15T10:30:00Z\",\n        \"type\": \"fallback\",\n        \"failure_code\": \"card_declined\",\n        \"failure_message\": \"The card was declined.\",\n        \"underlying_network_details\": {\n          \"network\": \"visa\",\n          \"visa\": {\n            \"arn\": \"74234567890123456789012\",\n            \"auth_code\": \"123456\",\n            \"raw_response_code\": \"00\",\n            \"rrn\": \"123456789012\",\n            \"eci\": \"05\",\n            \"aci\": \"Y\",\n            \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n          }\n        },\n        \"underlying_network_id\": \"74234567890123456789012\",\n        \"underlying_processing_details\": {\n          \"processor\": \"stripe\",\n          \"transaction_id\": \"pi_abc123xyz789\",\n          \"settlement_account\": \"sa_296645958265997349\",\n          \"settlement_account_details\": {\n            \"processor\": \"pay_com\",\n            \"currency\": \"usd\",\n            \"name\": \"Main Settlement Account\",\n            \"entity\": \"ent_296645958265997359\",\n            \"entity_details\": {\n              \"legal_name\": \"ACME Corp\",\n              \"country\": \"US\"\n            }\n          }\n        },\n        \"payment_method_options\": {\n          \"card\": {\n            \"security_checks\": {\n              \"address_line1_check\": true,\n              \"address_postal_code_check\": true,\n              \"cvv_check\": true\n            }\n          }\n        }\n      },\n      {\n        \"id\": \"rtratt_296645958265997312_1_1\",\n        \"created\": \"2024-01-15T10:30:00Z\",\n        \"type\": \"fallback\",\n        \"failure_code\": \"card_declined\",\n        \"failure_message\": \"The card was declined.\",\n        \"underlying_network_details\": {\n          \"network\": \"visa\",\n          \"visa\": {\n            \"arn\": \"74234567890123456789012\",\n            \"auth_code\": \"123456\",\n            \"raw_response_code\": \"00\",\n            \"rrn\": \"123456789012\",\n            \"eci\": \"05\",\n            \"aci\": \"Y\",\n            \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n          }\n        },\n        \"underlying_network_id\": \"74234567890123456789012\",\n        \"underlying_processing_details\": {\n          \"processor\": \"stripe\",\n          \"transaction_id\": \"pi_abc123xyz789\",\n          \"settlement_account\": \"sa_296645958265997349\",\n          \"settlement_account_details\": {\n            \"processor\": \"pay_com\",\n            \"currency\": \"usd\",\n            \"name\": \"Main Settlement Account\",\n            \"entity\": \"ent_296645958265997359\",\n            \"entity_details\": {\n              \"legal_name\": \"ACME Corp\",\n              \"country\": \"US\"\n            }\n          }\n        },\n        \"payment_method_options\": {\n          \"card\": {\n            \"security_checks\": {\n              \"address_line1_check\": true,\n              \"address_postal_code_check\": true,\n              \"cvv_check\": true\n            }\n          }\n        }\n      }\n    ],\n    \"payment_method_details\": {\n      \"type\": \"card\",\n      \"card\": {\n        \"bin\": \"424242\",\n        \"brand\": \"visa\",\n        \"cardholder_currency\": \"usd\",\n        \"country\": \"US\",\n        \"exp_month\": \"12\",\n        \"exp_year\": \"2028\",\n        \"fingerprint\": \"fp_abc123xyz789\",\n        \"funding\": \"prepaid\",\n        \"last4\": \"4242\",\n        \"network\": \"visa\",\n        \"category\": \"business\",\n        \"security_checks\": {\n          \"address_line1_check\": \"unavailable\",\n          \"address_postal_code_check\": \"unavailable\",\n          \"cvc_check\": \"pass\"\n        },\n        \"wallet\": {\n          \"type\": \"googlepay\",\n          \"googlepay\": {\n            \"type\": \"cryptogram_3ds\",\n            \"physical_card_last4\": \"4242\"\n          },\n          \"applepay\": {\n            \"physical_card_last4\": \"4242\"\n          },\n          \"ctp\": {\n            \"physical_card_last4\": \"string\",\n            \"physical_card_bin\": \"string\",\n            \"physical_card_exp_month\": \"string\",\n            \"physical_card_exp_year\": \"string\"\n          }\n        },\n        \"token\": \"tok_card_296645958265997326\",\n        \"three_d_secure\": {\n          \"authentication_flow\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"result\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"result_reason\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"version\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"eci\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"cardholder_info\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"liability_shift\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          }\n        },\n        \"three_ds\": {\n          \"authentication_flow\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"result\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"result_reason\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"status_reason\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"protocol_version\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"eci\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"cryptogram\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"liability_shift\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"cardholder_info\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"acs_transaction_id\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"three_ds_server_transaction_id\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"ds_transaction_id\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"ares\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"rreq\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          }\n        },\n        \"payout\": \"not_available\",\n        \"name_verification\": \"match\",\n        \"partial_approval\": {\n          \"status\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"amount_requested\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"amount_authorized\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"amount_charged\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"product_id\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          }\n        },\n        \"name\": \"John Smith\",\n        \"issuer\": \"Chase Bank\"\n      },\n      \"cashapp\": {\n        \"cashtag\": \"$acmecustomer\",\n        \"name\": \"Jenny Rosen\"\n      },\n      \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n      \"setup_future_usage\": \"on_session\"\n    },\n    \"payment_method_options\": {\n      \"card\": {\n        \"security_checks\": {\n          \"address_line1_check\": true,\n          \"address_postal_code_check\": true,\n          \"cvv_check\": true\n        }\n      }\n    },\n    \"refunded\": true,\n    \"refunds\": {\n      \"data\": [\n        {\n          \"id\": \"rfnd_296645958265997314\",\n          \"resource\": \"refund\",\n          \"amount\": 10000,\n          \"amount_human_readable\": \"100.00\",\n          \"charge\": \"chrg_296645958265997312\",\n          \"created\": \"2024-01-15T10:30:00Z\",\n          \"currency\": \"usd\",\n          \"customer\": \"cust_296645958265997317\",\n          \"customer_reference_id\": \"cust_ext_abc123\",\n          \"metadata\": {},\n          \"reference\": \"refund_order_12345\",\n          \"status\": \"succeeded\",\n          \"failure_code\": \"string\",\n          \"failure_message\": \"string\",\n          \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n          \"test_mode\": true,\n          \"underlying_network_id\": \"123456789012345\",\n          \"underlying_network_details\": {\n            \"network\": \"visa\",\n            \"visa\": {\n              \"arn\": \"74234567890123456789012\",\n              \"auth_code\": \"123456\",\n              \"raw_response_code\": \"00\",\n              \"rrn\": \"123456789012\",\n              \"eci\": \"05\",\n              \"aci\": \"Y\",\n              \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n            }\n          },\n          \"underlying_processing_details\": {\n            \"processor\": \"stripe\",\n            \"transaction_id\": \"pi_abc123xyz789\",\n            \"settlement_account\": \"sa_296645958265997349\",\n            \"settlement_account_details\": {\n              \"processor\": \"pay_com\",\n              \"currency\": \"usd\",\n              \"name\": \"Main Settlement Account\",\n              \"entity\": \"ent_296645958265997359\",\n              \"entity_details\": {\n                \"legal_name\": \"ACME Corp\",\n                \"country\": \"US\"\n              }\n            }\n          },\n          \"risk_assessment_details\": {\n            \"outcome\": \"allow\",\n            \"outcome_source\": \"score\",\n            \"score\": \"31\",\n            \"flags\": [\n              \"no_correlation_history\",\n              \"multiple_identities_billing\",\n              \"multiple_identities_card\",\n              \"free_email_provider\",\n              \"risky_billing_time\",\n              \"velocity_multiple_addresses\",\n              \"velocity_multiple_names\"\n            ],\n            \"bypassed\": [],\n            \"simulated\": []\n          },\n          \"receipt\": null,\n          \"tax_details\": {\n            \"amount_total\": 825,\n            \"tax_behavior\": \"exclusive\",\n            \"tax_quote\": \"txq_296645958265997339\",\n            \"effective_tax_rate\": \"8.25\",\n            \"tax_transaction\": null\n          }\n        },\n        {\n          \"id\": \"rfnd_296645958265997314\",\n          \"resource\": \"refund\",\n          \"amount\": 10000,\n          \"amount_human_readable\": \"100.00\",\n          \"charge\": \"chrg_296645958265997312\",\n          \"created\": \"2024-01-15T10:30:00Z\",\n          \"currency\": \"usd\",\n          \"customer\": \"cust_296645958265997317\",\n          \"customer_reference_id\": \"cust_ext_abc123\",\n          \"metadata\": {},\n          \"reference\": \"refund_order_12345\",\n          \"status\": \"succeeded\",\n          \"failure_code\": \"string\",\n          \"failure_message\": \"string\",\n          \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n          \"test_mode\": false,\n          \"underlying_network_id\": \"123456789012345\",\n          \"underlying_network_details\": {\n            \"network\": \"visa\",\n            \"visa\": {\n              \"arn\": \"74234567890123456789012\",\n              \"auth_code\": \"123456\",\n              \"raw_response_code\": \"00\",\n              \"rrn\": \"123456789012\",\n              \"eci\": \"05\",\n              \"aci\": \"Y\",\n              \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n            }\n          },\n          \"underlying_processing_details\": {\n            \"processor\": \"stripe\",\n            \"transaction_id\": \"pi_abc123xyz789\",\n            \"settlement_account\": \"sa_296645958265997349\",\n            \"settlement_account_details\": {\n              \"processor\": \"pay_com\",\n              \"currency\": \"usd\",\n              \"name\": \"Main Settlement Account\",\n              \"entity\": \"ent_296645958265997359\",\n              \"entity_details\": {\n                \"legal_name\": \"ACME Corp\",\n                \"country\": \"US\"\n              }\n            }\n          },\n          \"risk_assessment_details\": {\n            \"outcome\": \"allow\",\n            \"outcome_source\": \"score\",\n            \"score\": \"31\",\n            \"flags\": [\n              \"no_correlation_history\",\n              \"multiple_identities_billing\",\n              \"multiple_identities_card\",\n              \"free_email_provider\",\n              \"risky_billing_time\",\n              \"velocity_multiple_addresses\",\n              \"velocity_multiple_names\"\n            ],\n            \"bypassed\": [],\n            \"simulated\": []\n          },\n          \"receipt\": null,\n          \"tax_details\": {\n            \"amount_total\": 825,\n            \"tax_behavior\": \"exclusive\",\n            \"tax_quote\": \"txq_296645958265997339\",\n            \"effective_tax_rate\": \"8.25\",\n            \"tax_transaction\": null\n          }\n        }\n      ],\n      \"url\": \"/v1/charges/chrg_296645958265997312/refunds\"\n    },\n    \"reference\": \"order_12345\",\n    \"shipping\": {\n      \"address\": {\n        \"city\": \"San Francisco\",\n        \"country\": \"US\",\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"postal_code\": \"94102\",\n        \"state\": \"CA\"\n      },\n      \"name\": \"John Smith\",\n      \"phone\": \"+14155551234\"\n    },\n    \"statement_descriptor_suffix\": \"ACME STORE\",\n    \"status\": \"succeeded_partially\",\n    \"underlying_network_details\": {\n      \"network\": \"visa\",\n      \"visa\": {\n        \"arn\": \"74234567890123456789012\",\n        \"auth_code\": \"123456\",\n        \"raw_response_code\": \"00\",\n        \"rrn\": \"123456789012\",\n        \"eci\": \"05\",\n        \"aci\": \"Y\",\n        \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n      }\n    },\n    \"underlying_network_id\": \"123456789012345\",\n    \"risk_assessment_details\": {\n      \"outcome\": \"allow\",\n      \"outcome_source\": \"score\",\n      \"rule_id\": \"rl_296645958265997337\",\n      \"rules_id\": [\n        \"rl_296645958265997337\"\n      ],\n      \"score\": \"31\",\n      \"flags\": [\n        \"no_correlation_history\",\n        \"multiple_identities_billing\",\n        \"multiple_identities_card\",\n        \"free_email_provider\",\n        \"risky_billing_time\",\n        \"velocity_multiple_addresses\",\n        \"velocity_multiple_names\"\n      ]\n    },\n    \"test_mode\": false,\n    \"receipt\": null,\n    \"underlying_processing_details\": {\n      \"processor\": \"stripe\",\n      \"transaction_id\": \"pi_abc123xyz789\",\n      \"settlement_account\": \"sa_296645958265997349\",\n      \"settlement_account_details\": {\n        \"processor\": \"pay_com\",\n        \"currency\": \"usd\",\n        \"name\": \"Main Settlement Account\",\n        \"entity\": \"ent_296645958265997359\",\n        \"entity_details\": {\n          \"legal_name\": \"ACME Corp\",\n          \"country\": \"US\"\n        }\n      }\n    },\n    \"tax_details\": {\n      \"amount_total\": 825,\n      \"tax_behavior\": \"exclusive\",\n      \"tax_quote\": \"txq_296645958265997339\",\n      \"effective_tax_rate\": \"8.25\",\n      \"tax_transaction\": null\n    }\n  },\n  {\n    \"id\": \"chrg_296645958265997312\",\n    \"resource\": \"charge\",\n    \"amount\": 10000,\n    \"amount_human_readable\": \"100.00\",\n    \"amount_refunded\": 0,\n    \"billing_details\": {\n      \"address\": {\n        \"city\": \"San Francisco\",\n        \"country\": \"US\",\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"postal_code\": \"94102\",\n        \"state\": \"CA\"\n      },\n      \"name\": \"John Smith\",\n      \"email\": \"john.smith@example.com\",\n      \"phone\": \"+14155551234\",\n      \"dob\": \"1985-07-15\",\n      \"national_identification_number\": \"123-45-6789\"\n    },\n    \"calculated_statement_descriptor\": \"ACME * ACME STORE\",\n    \"created\": \"2024-01-15T10:30:00Z\",\n    \"currency\": \"usd\",\n    \"customer\": \"cust_296645958265997317\",\n    \"customer_reference_id\": \"cust_ext_abc123\",\n    \"cashflow_transaction\": \"cflw_tx_296645958265997312\",\n    \"description\": \"Payment for Order #12345\",\n    \"disputed\": true,\n    \"failure_code\": \"string\",\n    \"failure_message\": \"string\",\n    \"metadata\": {},\n    \"paid\": true,\n    \"payment_session\": \"ps_296645958265997318\",\n    \"hold\": \"string\",\n    \"payment_method\": \"pm_card_296645958265997316\",\n    \"fraud\": false,\n    \"retry_attempts\": [\n      {\n        \"id\": \"rtratt_296645958265997312_1_1\",\n        \"created\": \"2024-01-15T10:30:00Z\",\n        \"type\": \"fallback\",\n        \"failure_code\": \"card_declined\",\n        \"failure_message\": \"The card was declined.\",\n        \"underlying_network_details\": {\n          \"network\": \"visa\",\n          \"visa\": {\n            \"arn\": \"74234567890123456789012\",\n            \"auth_code\": \"123456\",\n            \"raw_response_code\": \"00\",\n            \"rrn\": \"123456789012\",\n            \"eci\": \"05\",\n            \"aci\": \"Y\",\n            \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n          }\n        },\n        \"underlying_network_id\": \"74234567890123456789012\",\n        \"underlying_processing_details\": {\n          \"processor\": \"stripe\",\n          \"transaction_id\": \"pi_abc123xyz789\",\n          \"settlement_account\": \"sa_296645958265997349\",\n          \"settlement_account_details\": {\n            \"processor\": \"pay_com\",\n            \"currency\": \"usd\",\n            \"name\": \"Main Settlement Account\",\n            \"entity\": \"ent_296645958265997359\",\n            \"entity_details\": {\n              \"legal_name\": \"ACME Corp\",\n              \"country\": \"US\"\n            }\n          }\n        },\n        \"payment_method_options\": {\n          \"card\": {\n            \"security_checks\": {\n              \"address_line1_check\": true,\n              \"address_postal_code_check\": true,\n              \"cvv_check\": true\n            }\n          }\n        }\n      },\n      {\n        \"id\": \"rtratt_296645958265997312_1_1\",\n        \"created\": \"2024-01-15T10:30:00Z\",\n        \"type\": \"fallback\",\n        \"failure_code\": \"card_declined\",\n        \"failure_message\": \"The card was declined.\",\n        \"underlying_network_details\": {\n          \"network\": \"visa\",\n          \"visa\": {\n            \"arn\": \"74234567890123456789012\",\n            \"auth_code\": \"123456\",\n            \"raw_response_code\": \"00\",\n            \"rrn\": \"123456789012\",\n            \"eci\": \"05\",\n            \"aci\": \"Y\",\n            \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n          }\n        },\n        \"underlying_network_id\": \"74234567890123456789012\",\n        \"underlying_processing_details\": {\n          \"processor\": \"stripe\",\n          \"transaction_id\": \"pi_abc123xyz789\",\n          \"settlement_account\": \"sa_296645958265997349\",\n          \"settlement_account_details\": {\n            \"processor\": \"pay_com\",\n            \"currency\": \"usd\",\n            \"name\": \"Main Settlement Account\",\n            \"entity\": \"ent_296645958265997359\",\n            \"entity_details\": {\n              \"legal_name\": \"ACME Corp\",\n              \"country\": \"US\"\n            }\n          }\n        },\n        \"payment_method_options\": {\n          \"card\": {\n            \"security_checks\": {\n              \"address_line1_check\": true,\n              \"address_postal_code_check\": true,\n              \"cvv_check\": true\n            }\n          }\n        }\n      }\n    ],\n    \"payment_method_details\": {\n      \"type\": \"card\",\n      \"card\": {\n        \"bin\": \"424242\",\n        \"brand\": \"visa\",\n        \"cardholder_currency\": \"usd\",\n        \"country\": \"US\",\n        \"exp_month\": \"12\",\n        \"exp_year\": \"2028\",\n        \"fingerprint\": \"fp_abc123xyz789\",\n        \"funding\": \"debit\",\n        \"last4\": \"4242\",\n        \"network\": \"visa\",\n        \"category\": \"business\",\n        \"security_checks\": {\n          \"address_line1_check\": \"unavailable\",\n          \"address_postal_code_check\": \"unavailable\",\n          \"cvc_check\": \"pass\"\n        },\n        \"wallet\": {\n          \"type\": \"googlepay\",\n          \"googlepay\": {\n            \"type\": \"cryptogram_3ds\",\n            \"physical_card_last4\": \"4242\"\n          },\n          \"applepay\": {\n            \"physical_card_last4\": \"4242\"\n          },\n          \"ctp\": {\n            \"physical_card_last4\": \"string\",\n            \"physical_card_bin\": \"string\",\n            \"physical_card_exp_month\": \"string\",\n            \"physical_card_exp_year\": \"string\"\n          }\n        },\n        \"token\": \"tok_card_296645958265997326\",\n        \"three_d_secure\": {\n          \"authentication_flow\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"result\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"result_reason\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"version\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"eci\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"cardholder_info\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"liability_shift\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          }\n        },\n        \"three_ds\": {\n          \"authentication_flow\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"result\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"result_reason\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"status_reason\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"protocol_version\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"eci\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"cryptogram\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"liability_shift\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"cardholder_info\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"acs_transaction_id\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"three_ds_server_transaction_id\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"ds_transaction_id\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"ares\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"rreq\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          }\n        },\n        \"payout\": \"not_available\",\n        \"name_verification\": \"match\",\n        \"partial_approval\": {\n          \"status\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"amount_requested\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"amount_authorized\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"amount_charged\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          },\n          \"product_id\": {\n            \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n          }\n        },\n        \"name\": \"John Smith\",\n        \"issuer\": \"Chase Bank\"\n      },\n      \"cashapp\": {\n        \"cashtag\": \"$acmecustomer\",\n        \"name\": \"Jenny Rosen\"\n      },\n      \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n      \"setup_future_usage\": \"on_session\"\n    },\n    \"payment_method_options\": {\n      \"card\": {\n        \"security_checks\": {\n          \"address_line1_check\": true,\n          \"address_postal_code_check\": true,\n          \"cvv_check\": true\n        }\n      }\n    },\n    \"refunded\": false,\n    \"refunds\": {\n      \"data\": [\n        {\n          \"id\": \"rfnd_296645958265997314\",\n          \"resource\": \"refund\",\n          \"amount\": 10000,\n          \"amount_human_readable\": \"100.00\",\n          \"charge\": \"chrg_296645958265997312\",\n          \"created\": \"2024-01-15T10:30:00Z\",\n          \"currency\": \"usd\",\n          \"customer\": \"cust_296645958265997317\",\n          \"customer_reference_id\": \"cust_ext_abc123\",\n          \"metadata\": {},\n          \"reference\": \"refund_order_12345\",\n          \"status\": \"succeeded\",\n          \"failure_code\": \"string\",\n          \"failure_message\": \"string\",\n          \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n          \"test_mode\": false,\n          \"underlying_network_id\": \"123456789012345\",\n          \"underlying_network_details\": {\n            \"network\": \"visa\",\n            \"visa\": {\n              \"arn\": \"74234567890123456789012\",\n              \"auth_code\": \"123456\",\n              \"raw_response_code\": \"00\",\n              \"rrn\": \"123456789012\",\n              \"eci\": \"05\",\n              \"aci\": \"Y\",\n              \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n            }\n          },\n          \"underlying_processing_details\": {\n            \"processor\": \"stripe\",\n            \"transaction_id\": \"pi_abc123xyz789\",\n            \"settlement_account\": \"sa_296645958265997349\",\n            \"settlement_account_details\": {\n              \"processor\": \"pay_com\",\n              \"currency\": \"usd\",\n              \"name\": \"Main Settlement Account\",\n              \"entity\": \"ent_296645958265997359\",\n              \"entity_details\": {\n                \"legal_name\": \"ACME Corp\",\n                \"country\": \"US\"\n              }\n            }\n          },\n          \"risk_assessment_details\": {\n            \"outcome\": \"allow\",\n            \"outcome_source\": \"score\",\n            \"score\": \"31\",\n            \"flags\": [\n              \"no_correlation_history\",\n              \"multiple_identities_billing\",\n              \"multiple_identities_card\",\n              \"free_email_provider\",\n              \"risky_billing_time\",\n              \"velocity_multiple_addresses\",\n              \"velocity_multiple_names\"\n            ],\n            \"bypassed\": [],\n            \"simulated\": []\n          },\n          \"receipt\": null,\n          \"tax_details\": {\n            \"amount_total\": 825,\n            \"tax_behavior\": \"exclusive\",\n            \"tax_quote\": \"txq_296645958265997339\",\n            \"effective_tax_rate\": \"8.25\",\n            \"tax_transaction\": null\n          }\n        },\n        {\n          \"id\": \"rfnd_296645958265997314\",\n          \"resource\": \"refund\",\n          \"amount\": 10000,\n          \"amount_human_readable\": \"100.00\",\n          \"charge\": \"chrg_296645958265997312\",\n          \"created\": \"2024-01-15T10:30:00Z\",\n          \"currency\": \"usd\",\n          \"customer\": \"cust_296645958265997317\",\n          \"customer_reference_id\": \"cust_ext_abc123\",\n          \"metadata\": {},\n          \"reference\": \"refund_order_12345\",\n          \"status\": \"succeeded\",\n          \"failure_code\": \"string\",\n          \"failure_message\": \"string\",\n          \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n          \"test_mode\": true,\n          \"underlying_network_id\": \"123456789012345\",\n          \"underlying_network_details\": {\n            \"network\": \"visa\",\n            \"visa\": {\n              \"arn\": \"74234567890123456789012\",\n              \"auth_code\": \"123456\",\n              \"raw_response_code\": \"00\",\n              \"rrn\": \"123456789012\",\n              \"eci\": \"05\",\n              \"aci\": \"Y\",\n              \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n            }\n          },\n          \"underlying_processing_details\": {\n            \"processor\": \"stripe\",\n            \"transaction_id\": \"pi_abc123xyz789\",\n            \"settlement_account\": \"sa_296645958265997349\",\n            \"settlement_account_details\": {\n              \"processor\": \"pay_com\",\n              \"currency\": \"usd\",\n              \"name\": \"Main Settlement Account\",\n              \"entity\": \"ent_296645958265997359\",\n              \"entity_details\": {\n                \"legal_name\": \"ACME Corp\",\n                \"country\": \"US\"\n              }\n            }\n          },\n          \"risk_assessment_details\": {\n            \"outcome\": \"allow\",\n            \"outcome_source\": \"score\",\n            \"score\": \"31\",\n            \"flags\": [\n              \"no_correlation_history\",\n              \"multiple_identities_billing\",\n              \"multiple_identities_card\",\n              \"free_email_provider\",\n              \"risky_billing_time\",\n              \"velocity_multiple_addresses\",\n              \"velocity_multiple_names\"\n            ],\n            \"bypassed\": [],\n            \"simulated\": []\n          },\n          \"receipt\": null,\n          \"tax_details\": {\n            \"amount_total\": 825,\n            \"tax_behavior\": \"exclusive\",\n            \"tax_quote\": \"txq_296645958265997339\",\n            \"effective_tax_rate\": \"8.25\",\n            \"tax_transaction\": null\n          }\n        }\n      ],\n      \"url\": \"/v1/charges/chrg_296645958265997312/refunds\"\n    },\n    \"reference\": \"order_12345\",\n    \"shipping\": {\n      \"address\": {\n        \"city\": \"San Francisco\",\n        \"country\": \"US\",\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"postal_code\": \"94102\",\n        \"state\": \"CA\"\n      },\n      \"name\": \"John Smith\",\n      \"phone\": \"+14155551234\"\n    },\n    \"statement_descriptor_suffix\": \"ACME STORE\",\n    \"status\": \"pending\",\n    \"underlying_network_details\": {\n      \"network\": \"visa\",\n      \"visa\": {\n        \"arn\": \"74234567890123456789012\",\n        \"auth_code\": \"123456\",\n        \"raw_response_code\": \"00\",\n        \"rrn\": \"123456789012\",\n        \"eci\": \"05\",\n        \"aci\": \"Y\",\n        \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n      }\n    },\n    \"underlying_network_id\": \"123456789012345\",\n    \"risk_assessment_details\": {\n      \"outcome\": \"allow\",\n      \"outcome_source\": \"score\",\n      \"rule_id\": \"rl_296645958265997337\",\n      \"rules_id\": [\n        \"rl_296645958265997337\"\n      ],\n      \"score\": \"31\",\n      \"flags\": [\n        \"no_correlation_history\",\n        \"multiple_identities_billing\",\n        \"multiple_identities_card\",\n        \"free_email_provider\",\n        \"risky_billing_time\",\n        \"velocity_multiple_addresses\",\n        \"velocity_multiple_names\"\n      ]\n    },\n    \"test_mode\": false,\n    \"receipt\": null,\n    \"underlying_processing_details\": {\n      \"processor\": \"stripe\",\n      \"transaction_id\": \"pi_abc123xyz789\",\n      \"settlement_account\": \"sa_296645958265997349\",\n      \"settlement_account_details\": {\n        \"processor\": \"pay_com\",\n        \"currency\": \"usd\",\n        \"name\": \"Main Settlement Account\",\n        \"entity\": \"ent_296645958265997359\",\n        \"entity_details\": {\n          \"legal_name\": \"ACME Corp\",\n          \"country\": \"US\"\n        }\n      }\n    },\n    \"tax_details\": {\n      \"amount_total\": 825,\n      \"tax_behavior\": \"exclusive\",\n      \"tax_quote\": \"txq_296645958265997339\",\n      \"effective_tax_rate\": \"8.25\",\n      \"tax_transaction\": null\n    }\n  }\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"f36e80bb-1a06-5842-87f6-0c60beb47629","name":"Invalid request parameters.","originalRequest":{"url":{"path":["holds",":transaction_id","charges"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a314ad4b-254f-5867-98fc-dced551d8c1f","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["holds",":transaction_id","charges"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b3640874-db29-5318-a9bb-7f0292143e66","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["holds",":transaction_id","charges"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3225bda6-83fd-504a-8374-4167b9729d89","name":"Internal server error.","originalRequest":{"url":{"path":["holds",":transaction_id","charges"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fb6f9bcf-2d9c-503f-b548-a5e3934b6801","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["holds",":transaction_id","charges"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"hld_296645958265997313","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^hld_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"74ddf8c4-2550-575e-a633-b315b34b8acc","name":"Collaborations","description":{"content":"Manage and resolve all pre-dispute collaborations tools (CDRN, Ethoca, Mastercard Collaboration).","type":"text/plain"},"item":[{"id":"c8cdf23c-e576-5f81-b957-78949c5c4bf6","name":"List collaborations","request":{"name":"List collaborations","description":{"content":"Returns a list of collaborations, sorted by creation time, oldest first.\n\nOnly one list query per merchant can run at a time; a concurrent query returns 429.","type":"text/plain"},"url":{"path":["collaborations"],"host":["{{pay_base_url}}"],"query":[{"disabled":false,"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z","description":"Return objects created on or after this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.greater_than`."},{"disabled":false,"key":"created.greater_than","value":"2024-10-10T00:00:00Z","description":"Return objects created after this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.greater_than_or_equals`."},{"disabled":false,"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z","description":"Return objects created on or before this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.less_than`."},{"disabled":false,"key":"created.less_than","value":"2024-10-10T00:00:00Z","description":"Return objects created before this date. Accepts an ISO 8601 date-time, a date (`YYYY-MM-DD`, read as midnight UTC) or a Unix timestamp in milliseconds. Mutually exclusive with `created.less_than_or_equals`."},{"disabled":false,"key":"limit","value":"10","description":"Maximum number of objects to return. Defaults to 10."},{"disabled":false,"key":"ending_before","value":"string","description":"A cursor for pagination. Returns objects created before the object with this ID. Must be the ID of an object of the type being listed (for example a `chrg_` ID when listing charges); other IDs return 400. Lists are sorted by creation time, oldest first. Mutually exclusive with `starting_after`."},{"disabled":false,"key":"starting_after","value":"string","description":"A cursor for pagination. Returns objects created after the object with this ID. Must be the ID of an object of the type being listed (for example a `chrg_` ID when listing charges); other IDs return 400. Lists are sorted by creation time, oldest first. Mutually exclusive with `ending_before`."}],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"63a9bd9e-ed16-5908-af70-4d50e95a717d","name":"Returns a list of collaboration objects.","originalRequest":{"url":{"path":["collaborations"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"resource\": \"collaborations\",\n  \"data\": [\n    {\n      \"id\": \"clbr_296645958265997328\",\n      \"resource\": \"collaboration\",\n      \"amount\": 10000,\n      \"amount_human_readable\": \"100.00\",\n      \"currency\": \"usd\",\n      \"status\": \"resolved\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"test_mode\": false,\n      \"actionable_by\": \"2024-01-22T10:30:00Z\",\n      \"charge\": \"chrg_296645958265997312\",\n      \"source\": \"cdrn\",\n      \"settlement_account\": \"sa_296645958265997349\",\n      \"settlement_account_details\": {\n        \"processor\": \"worldpay\",\n        \"currency\": \"usd\",\n        \"name\": \"Main USD account\",\n        \"entity\": \"ent_296645958265997352\",\n        \"entity_details\": {\n          \"legal_name\": \"Acme Inc.\",\n          \"country\": \"US\"\n        }\n      }\n    },\n    {\n      \"id\": \"clbr_296645958265997328\",\n      \"resource\": \"collaboration\",\n      \"amount\": 10000,\n      \"amount_human_readable\": \"100.00\",\n      \"currency\": \"usd\",\n      \"status\": \"escalated\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"test_mode\": false,\n      \"actionable_by\": \"2024-01-22T10:30:00Z\",\n      \"charge\": \"chrg_296645958265997312\",\n      \"source\": \"cdrn\",\n      \"settlement_account\": \"sa_296645958265997349\",\n      \"settlement_account_details\": {\n        \"processor\": \"worldpay\",\n        \"currency\": \"usd\",\n        \"name\": \"Main USD account\",\n        \"entity\": \"ent_296645958265997352\",\n        \"entity_details\": {\n          \"legal_name\": \"Acme Inc.\",\n          \"country\": \"US\"\n        }\n      }\n    }\n  ],\n  \"has_more\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0b343a1b-e97f-53c8-b95e-4e71502eb808","name":"Invalid request parameters.","originalRequest":{"url":{"path":["collaborations"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"42994b29-a38a-5663-b789-4329d0be076b","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["collaborations"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6a8c0740-a36b-5d77-93fd-1dfd7d914178","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["collaborations"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"266c7a6c-3924-5315-93f1-df82b6cc54a8","name":"Another list query is already running for the merchant. Retry after the number of seconds in the `Retry-After` header.","originalRequest":{"url":{"path":["collaborations"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Too Many Requests","code":429,"header":[{"disabled":false,"description":"Number of seconds to wait before retrying.","key":"Retry-After","value":"1"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Only one bulk query per merchant can run at a time. Retry after the current query completes.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"75a3bc0d-be53-57a1-944c-8ca1205c2498","name":"Internal server error.","originalRequest":{"url":{"path":["collaborations"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3026fa98-102c-5a3d-9239-20f11444b572","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["collaborations"],"host":["{{pay_base_url}}"],"query":[{"key":"created.greater_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.greater_than","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than_or_equals","value":"2024-10-10T00:00:00Z"},{"key":"created.less_than","value":"2024-10-10T00:00:00Z"},{"key":"limit","value":"10"},{"key":"ending_before","value":"string"},{"key":"starting_after","value":"string"}],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"5c0ec76f-7f0f-5482-a697-504d16476dca","name":"Retrieve a collaboration","request":{"name":"Retrieve a collaboration","description":{"content":"Retrieves the details of a collaboration.","type":"text/plain"},"url":{"path":["collaborations",":collaboration_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"clbr_296645958265997328","key":"collaboration_id","description":"(Required) Unique identifier for the collaboration."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"424b4113-043c-514f-a75e-28ace3d5aafe","name":"Returns the collaboration object.","originalRequest":{"url":{"path":["collaborations",":collaboration_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"clbr_296645958265997328","key":"collaboration_id","description":"(Required) Unique identifier for the collaboration."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"clbr_296645958265997328\",\n  \"resource\": \"collaboration\",\n  \"amount\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"currency\": \"usd\",\n  \"status\": \"ignored\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"test_mode\": false,\n  \"actionable_by\": \"2024-01-22T10:30:00Z\",\n  \"charge\": \"chrg_296645958265997312\",\n  \"source\": \"ethoca\",\n  \"settlement_account\": \"sa_296645958265997349\",\n  \"settlement_account_details\": {\n    \"processor\": \"worldpay\",\n    \"currency\": \"usd\",\n    \"name\": \"Main USD account\",\n    \"entity\": \"ent_296645958265997352\",\n    \"entity_details\": {\n      \"legal_name\": \"Acme Inc.\",\n      \"country\": \"US\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3ecc6a90-a320-55ac-a431-b2058e552965","name":"Invalid request parameters.","originalRequest":{"url":{"path":["collaborations",":collaboration_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"clbr_296645958265997328","key":"collaboration_id","description":"(Required) Unique identifier for the collaboration."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bc485e34-81dd-5c98-bb86-242321607ad7","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["collaborations",":collaboration_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"clbr_296645958265997328","key":"collaboration_id","description":"(Required) Unique identifier for the collaboration."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"86cc7965-3723-52bc-8bfa-d8403a52b611","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["collaborations",":collaboration_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"clbr_296645958265997328","key":"collaboration_id","description":"(Required) Unique identifier for the collaboration."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2752fee8-e0fe-54f3-b220-21f88dcd67ac","name":"Collaboration not found.","originalRequest":{"url":{"path":["collaborations",":collaboration_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"clbr_296645958265997328","key":"collaboration_id","description":"(Required) Unique identifier for the collaboration."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e1e32001-e9ea-5ebb-a3bd-f071773ea934","name":"Internal server error.","originalRequest":{"url":{"path":["collaborations",":collaboration_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"clbr_296645958265997328","key":"collaboration_id","description":"(Required) Unique identifier for the collaboration."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6ee1cddc-7db6-5137-9f77-27c6e4e27cf0","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["collaborations",":collaboration_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"clbr_296645958265997328","key":"collaboration_id","description":"(Required) Unique identifier for the collaboration."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"f3437d9c-0184-5ad1-b75f-8774c6d2b77f","name":"Refund a collaboration","request":{"name":"Refund a collaboration","description":{"content":"Resolves a collaboration by refunding the underlying charge for the collaboration amount.\n\nCall it on an `open` collaboration. The refund is processed asynchronously, so the collaboration in the response may not show its new status yet. A webhook is sent when the collaboration is resolved.","type":"text/plain"},"url":{"path":["collaborations",":collaboration_id","refund"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"clbr_296645958265997328","key":"collaboration_id","description":"(Required) Unique identifier for the collaboration."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null},"response":[{"id":"2eb3ca65-b0c8-5bdf-a6a9-74b2496cfbb9","name":"Returns the collaboration object.","originalRequest":{"url":{"path":["collaborations",":collaboration_id","refund"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"clbr_296645958265997328","key":"collaboration_id","description":"(Required) Unique identifier for the collaboration."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"clbr_296645958265997328\",\n  \"resource\": \"collaboration\",\n  \"amount\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"currency\": \"usd\",\n  \"status\": \"ignored\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"test_mode\": false,\n  \"actionable_by\": \"2024-01-22T10:30:00Z\",\n  \"charge\": \"chrg_296645958265997312\",\n  \"source\": \"ethoca\",\n  \"settlement_account\": \"sa_296645958265997349\",\n  \"settlement_account_details\": {\n    \"processor\": \"worldpay\",\n    \"currency\": \"usd\",\n    \"name\": \"Main USD account\",\n    \"entity\": \"ent_296645958265997352\",\n    \"entity_details\": {\n      \"legal_name\": \"Acme Inc.\",\n      \"country\": \"US\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"21585d47-58d4-51a4-9628-ba22b42bfcb9","name":"Invalid request parameters.","originalRequest":{"url":{"path":["collaborations",":collaboration_id","refund"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"clbr_296645958265997328","key":"collaboration_id","description":"(Required) Unique identifier for the collaboration."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9b1dac0a-cd78-5aac-970b-ff254ec8a3ad","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["collaborations",":collaboration_id","refund"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"clbr_296645958265997328","key":"collaboration_id","description":"(Required) Unique identifier for the collaboration."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e7da2609-868b-5e09-9dc2-4a214e71a8c5","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["collaborations",":collaboration_id","refund"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"clbr_296645958265997328","key":"collaboration_id","description":"(Required) Unique identifier for the collaboration."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fa894903-941a-5d35-be64-720a8e535997","name":"Collaboration not found.","originalRequest":{"url":{"path":["collaborations",":collaboration_id","refund"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"clbr_296645958265997328","key":"collaboration_id","description":"(Required) Unique identifier for the collaboration."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a2aade7b-7e02-56d3-a659-7e1d63ada70a","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["collaborations",":collaboration_id","refund"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"clbr_296645958265997328","key":"collaboration_id","description":"(Required) Unique identifier for the collaboration."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7a4fa0e5-a90c-5b93-a38a-5ec62432fcee","name":"Internal server error.","originalRequest":{"url":{"path":["collaborations",":collaboration_id","refund"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"clbr_296645958265997328","key":"collaboration_id","description":"(Required) Unique identifier for the collaboration."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c8f8e7ed-c287-53d7-8118-c496d0b9a64c","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["collaborations",":collaboration_id","refund"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"clbr_296645958265997328","key":"collaboration_id","description":"(Required) Unique identifier for the collaboration."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"8aab59e6-1634-5365-9ab8-835f9206175d","name":"Ignore a collaboration","request":{"name":"Ignore a collaboration","description":{"content":"Ignores a collaboration, setting its status to `ignored`. No refund is made.","type":"text/plain"},"url":{"path":["collaborations",":collaboration_id","ignore"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"clbr_296645958265997328","key":"collaboration_id","description":"(Required) Unique identifier for the collaboration."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null},"response":[{"id":"2e244a4a-268d-5cbf-be72-2d52950fbae7","name":"Returns the collaboration object.","originalRequest":{"url":{"path":["collaborations",":collaboration_id","ignore"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"clbr_296645958265997328","key":"collaboration_id","description":"(Required) Unique identifier for the collaboration."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"clbr_296645958265997328\",\n  \"resource\": \"collaboration\",\n  \"amount\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"currency\": \"usd\",\n  \"status\": \"ignored\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"test_mode\": false,\n  \"actionable_by\": \"2024-01-22T10:30:00Z\",\n  \"charge\": \"chrg_296645958265997312\",\n  \"source\": \"ethoca\",\n  \"settlement_account\": \"sa_296645958265997349\",\n  \"settlement_account_details\": {\n    \"processor\": \"worldpay\",\n    \"currency\": \"usd\",\n    \"name\": \"Main USD account\",\n    \"entity\": \"ent_296645958265997352\",\n    \"entity_details\": {\n      \"legal_name\": \"Acme Inc.\",\n      \"country\": \"US\"\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7ec01a71-e75f-5779-88fa-b0731fb8c660","name":"Invalid request parameters.","originalRequest":{"url":{"path":["collaborations",":collaboration_id","ignore"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"clbr_296645958265997328","key":"collaboration_id","description":"(Required) Unique identifier for the collaboration."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3a00c822-5d32-5212-845b-985918d5ee9e","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["collaborations",":collaboration_id","ignore"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"clbr_296645958265997328","key":"collaboration_id","description":"(Required) Unique identifier for the collaboration."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"85447de4-ed89-5ec0-94bd-c9359e84899c","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["collaborations",":collaboration_id","ignore"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"clbr_296645958265997328","key":"collaboration_id","description":"(Required) Unique identifier for the collaboration."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c14e7592-6806-5416-a5aa-1d16f04d0eaa","name":"Collaboration not found.","originalRequest":{"url":{"path":["collaborations",":collaboration_id","ignore"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"clbr_296645958265997328","key":"collaboration_id","description":"(Required) Unique identifier for the collaboration."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"74dcbca5-f3b4-5894-b46a-5265c839fc98","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["collaborations",":collaboration_id","ignore"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"clbr_296645958265997328","key":"collaboration_id","description":"(Required) Unique identifier for the collaboration."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"93628cac-4b3e-537c-b219-98ff74546eca","name":"Internal server error.","originalRequest":{"url":{"path":["collaborations",":collaboration_id","ignore"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"clbr_296645958265997328","key":"collaboration_id","description":"(Required) Unique identifier for the collaboration."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"78a3f72d-3aff-5d5b-843e-efd75c0448be","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["collaborations",":collaboration_id","ignore"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"clbr_296645958265997328","key":"collaboration_id","description":"(Required) Unique identifier for the collaboration."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"73e9ef36-5891-57e9-9c60-309007a9b498","name":"Simulate a collaboration","request":{"name":"Simulate a collaboration","description":{"content":"Simulates a collaboration request (CDRN, Ethoca, Mastercard Collaboration) on a charge. This endpoint is only available in the sandbox.\n\nThe collaboration is created with status `open`. The response has no body and does not return the collaboration's ID; it is sent in the `collaboration.open` webhook.","type":"text/plain"},"url":{"path":["charges",":transaction_id","simulate","collaboration"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the charge."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"source\": \"mc_collaboration\",\n  \"actionable_by\": \"2024-01-30T10:30:00Z\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"2c580059-dd1b-590f-be6c-60a2f046112d","name":"Collaboration simulated successfully.","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","collaboration"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the charge."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"source\": \"mc_collaboration\",\n  \"actionable_by\": \"2024-01-30T10:30:00Z\"\n}","options":{"raw":{"language":"json"}}}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"3cf8e3cb-08dd-52b5-ba95-7fac435aa73b","name":"Invalid request parameters.","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","collaboration"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the charge."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"source\": \"mc_collaboration\",\n  \"actionable_by\": \"2024-01-30T10:30:00Z\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4aa340fe-8def-5e89-bdde-21ce943d39a1","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","collaboration"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the charge."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"source\": \"mc_collaboration\",\n  \"actionable_by\": \"2024-01-30T10:30:00Z\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b2afbee7-e606-5bff-a088-1861705dae01","name":"The endpoint is only available in the sandbox.\n\nA 403 can also mean the key may not make this request; `code` says why.","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","collaboration"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the charge."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"source\": \"mc_collaboration\",\n  \"actionable_by\": \"2024-01-30T10:30:00Z\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d68b2718-d32a-5996-b1d5-a2a60b7107fb","name":"Charge not found.","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","collaboration"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the charge."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"source\": \"mc_collaboration\",\n  \"actionable_by\": \"2024-01-30T10:30:00Z\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c4ecb686-6319-5772-80e1-43e6c3e8873d","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","collaboration"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the charge."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"source\": \"mc_collaboration\",\n  \"actionable_by\": \"2024-01-30T10:30:00Z\"\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9b8a1fff-f6e9-5f07-a308-597bba5bf19f","name":"Internal server error.","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","collaboration"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the charge."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"source\": \"mc_collaboration\",\n  \"actionable_by\": \"2024-01-30T10:30:00Z\"\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"be5a95be-860a-592e-af48-f9c85e04bddb","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["charges",":transaction_id","simulate","collaboration"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Unique identifier for the charge."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"source\": \"mc_collaboration\",\n  \"actionable_by\": \"2024-01-30T10:30:00Z\"\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"518e40be-6092-563d-b2d2-66c84e6dd49f","name":"RiskAssessment","description":{"content":"Assess transaction risk before processing payments.","type":"text/plain"},"item":[{"id":"86badd73-4300-5835-b98d-902e62430f1e","name":"Assess a payment","request":{"name":"Assess a payment","description":{"content":"Assesses the risk of a payment and returns the recommended outcome. Available only to accounts with Standalone Risk enabled; other accounts get 403.\n\nThe assessment cannot be retrieved later, so store the response.","type":"text/plain"},"url":{"path":["risk","assessments"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"risk_session_id\": \"b1c12405-7f89-4959-8dce-b2c3dc25f604\",\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"source_data\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"number\": \"4242424242424242\",\n      \"expiry_month\": \"12\",\n      \"expiry_year\": \"2028\",\n      \"cvv\": \"123\",\n      \"name\": \"John Smith\",\n      \"authentication_context\": {\n        \"customer_ip_address\": \"203.0.113.10\"\n      }\n    },\n    \"billing_details\": {\n      \"name\": \"John Smith\",\n      \"email\": \"john.smith@example.com\",\n      \"phone\": \"+14155551234\",\n      \"address\": {\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"city\": \"San Francisco\",\n        \"state\": \"CA\",\n        \"postal_code\": \"94102\",\n        \"country\": \"US\"\n      }\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"ae36a9d1-8951-55df-a5af-6622811661d3","name":"Returns the created assessment object.","originalRequest":{"url":{"path":["risk","assessments"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"risk_session_id\": \"b1c12405-7f89-4959-8dce-b2c3dc25f604\",\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"source_data\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"number\": \"4242424242424242\",\n      \"expiry_month\": \"12\",\n      \"expiry_year\": \"2028\",\n      \"cvv\": \"123\",\n      \"name\": \"John Smith\",\n      \"authentication_context\": {\n        \"customer_ip_address\": \"203.0.113.10\"\n      }\n    },\n    \"billing_details\": {\n      \"name\": \"John Smith\",\n      \"email\": \"john.smith@example.com\",\n      \"phone\": \"+14155551234\",\n      \"address\": {\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"city\": \"San Francisco\",\n        \"state\": \"CA\",\n        \"postal_code\": \"94102\",\n        \"country\": \"US\"\n      }\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"rsk_296645958265997354\",\n  \"resource\": \"risk_assessment\",\n  \"amount\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"currency\": \"usd\",\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    }\n  },\n  \"shipping\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"phone\": \"+14155551234\"\n  },\n  \"payment_method_details\": {\n    \"type\": \"card_token\",\n    \"setup_future_usage\": null\n  },\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"test_mode\": false,\n  \"options\": {\n    \"risk_score_thresholds\": [\n      {\n        \"start\": 99.83590340707451,\n        \"end\": 49.27658881060779,\n        \"outcome\": \"require_three_ds\"\n      },\n      {\n        \"start\": 80.820253607817,\n        \"end\": 51.09053235501051,\n        \"outcome\": \"require_three_ds\"\n      }\n    ]\n  },\n  \"outcome_source\": \"score\",\n  \"rule_id\": \"rl_296645958265997337\",\n  \"score\": 5555.653965566307,\n  \"outcome\": \"three_ds_challenge\",\n  \"flags\": [\n    \"free_email_provider\"\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"72cc9a08-73cd-55ba-8f24-d9fe8a2d4590","name":"Invalid request parameters.","originalRequest":{"url":{"path":["risk","assessments"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"risk_session_id\": \"b1c12405-7f89-4959-8dce-b2c3dc25f604\",\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"source_data\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"number\": \"4242424242424242\",\n      \"expiry_month\": \"12\",\n      \"expiry_year\": \"2028\",\n      \"cvv\": \"123\",\n      \"name\": \"John Smith\",\n      \"authentication_context\": {\n        \"customer_ip_address\": \"203.0.113.10\"\n      }\n    },\n    \"billing_details\": {\n      \"name\": \"John Smith\",\n      \"email\": \"john.smith@example.com\",\n      \"phone\": \"+14155551234\",\n      \"address\": {\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"city\": \"San Francisco\",\n        \"state\": \"CA\",\n        \"postal_code\": \"94102\",\n        \"country\": \"US\"\n      }\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d7bc75f2-dd1e-56a1-bd6c-cdf848a70883","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["risk","assessments"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"risk_session_id\": \"b1c12405-7f89-4959-8dce-b2c3dc25f604\",\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"source_data\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"number\": \"4242424242424242\",\n      \"expiry_month\": \"12\",\n      \"expiry_year\": \"2028\",\n      \"cvv\": \"123\",\n      \"name\": \"John Smith\",\n      \"authentication_context\": {\n        \"customer_ip_address\": \"203.0.113.10\"\n      }\n    },\n    \"billing_details\": {\n      \"name\": \"John Smith\",\n      \"email\": \"john.smith@example.com\",\n      \"phone\": \"+14155551234\",\n      \"address\": {\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"city\": \"San Francisco\",\n        \"state\": \"CA\",\n        \"postal_code\": \"94102\",\n        \"country\": \"US\"\n      }\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"edf36aea-9a16-5e7a-9472-aa545a098370","name":"Standalone Risk is not enabled for the account.\n\nA 403 can also mean the key may not make this request; `code` says why.","originalRequest":{"url":{"path":["risk","assessments"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"risk_session_id\": \"b1c12405-7f89-4959-8dce-b2c3dc25f604\",\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"source_data\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"number\": \"4242424242424242\",\n      \"expiry_month\": \"12\",\n      \"expiry_year\": \"2028\",\n      \"cvv\": \"123\",\n      \"name\": \"John Smith\",\n      \"authentication_context\": {\n        \"customer_ip_address\": \"203.0.113.10\"\n      }\n    },\n    \"billing_details\": {\n      \"name\": \"John Smith\",\n      \"email\": \"john.smith@example.com\",\n      \"phone\": \"+14155551234\",\n      \"address\": {\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"city\": \"San Francisco\",\n        \"state\": \"CA\",\n        \"postal_code\": \"94102\",\n        \"country\": \"US\"\n      }\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"25948dd5-bc42-55b7-b9db-c1be8de62825","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["risk","assessments"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"risk_session_id\": \"b1c12405-7f89-4959-8dce-b2c3dc25f604\",\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"source_data\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"number\": \"4242424242424242\",\n      \"expiry_month\": \"12\",\n      \"expiry_year\": \"2028\",\n      \"cvv\": \"123\",\n      \"name\": \"John Smith\",\n      \"authentication_context\": {\n        \"customer_ip_address\": \"203.0.113.10\"\n      }\n    },\n    \"billing_details\": {\n      \"name\": \"John Smith\",\n      \"email\": \"john.smith@example.com\",\n      \"phone\": \"+14155551234\",\n      \"address\": {\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"city\": \"San Francisco\",\n        \"state\": \"CA\",\n        \"postal_code\": \"94102\",\n        \"country\": \"US\"\n      }\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7c29f7d5-895d-54cf-b0b2-b93953e27e2f","name":"Internal server error.","originalRequest":{"url":{"path":["risk","assessments"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"risk_session_id\": \"b1c12405-7f89-4959-8dce-b2c3dc25f604\",\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"source_data\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"number\": \"4242424242424242\",\n      \"expiry_month\": \"12\",\n      \"expiry_year\": \"2028\",\n      \"cvv\": \"123\",\n      \"name\": \"John Smith\",\n      \"authentication_context\": {\n        \"customer_ip_address\": \"203.0.113.10\"\n      }\n    },\n    \"billing_details\": {\n      \"name\": \"John Smith\",\n      \"email\": \"john.smith@example.com\",\n      \"phone\": \"+14155551234\",\n      \"address\": {\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"city\": \"San Francisco\",\n        \"state\": \"CA\",\n        \"postal_code\": \"94102\",\n        \"country\": \"US\"\n      }\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3bfd432d-0ab0-5964-ac27-a96701e18c44","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["risk","assessments"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"risk_session_id\": \"b1c12405-7f89-4959-8dce-b2c3dc25f604\",\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"source_data\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"number\": \"4242424242424242\",\n      \"expiry_month\": \"12\",\n      \"expiry_year\": \"2028\",\n      \"cvv\": \"123\",\n      \"name\": \"John Smith\",\n      \"authentication_context\": {\n        \"customer_ip_address\": \"203.0.113.10\"\n      }\n    },\n    \"billing_details\": {\n      \"name\": \"John Smith\",\n      \"email\": \"john.smith@example.com\",\n      \"phone\": \"+14155551234\",\n      \"address\": {\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"city\": \"San Francisco\",\n        \"state\": \"CA\",\n        \"postal_code\": \"94102\",\n        \"country\": \"US\"\n      }\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"4f7abb0c-eb20-5c7b-be53-e15a58784973","name":"RiskReview","description":{"content":"Manage and resolve risk reviews for flagged transactions.","type":"text/plain"},"item":[{"id":"11cae1f2-d1f5-50f0-bfdd-24ee0323a92b","name":"Retrieve a risk review","request":{"name":"Retrieve a risk review","description":{"content":"Retrieves the details of a risk review by its unique identifier.","type":"text/plain"},"url":{"path":["risk","review",":review_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"rvw_296645958265997327","key":"review_id","description":"(Required) Unique identifier for the risk review."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"d58518ee-fb50-5488-a344-840cc3df55a7","name":"Returns the risk review object.","originalRequest":{"url":{"path":["risk","review",":review_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"rvw_296645958265997327","key":"review_id","description":"(Required) Unique identifier for the risk review."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"rvw_296645958265997327\",\n  \"resource\": \"review\",\n  \"reference\": \"chrg_296645958265997312\",\n  \"type\": \"transaction\",\n  \"status\": \"pending_review\",\n  \"status_reason\": null,\n  \"reviewer_identifier\": null,\n  \"reviewer_origin\": null,\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"expires\": \"2024-01-18T10:30:00Z\",\n  \"test_mode\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d7a33c99-8423-5c07-898c-b3632c45dd12","name":"Invalid request parameters.","originalRequest":{"url":{"path":["risk","review",":review_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"rvw_296645958265997327","key":"review_id","description":"(Required) Unique identifier for the risk review."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"593380ff-98ea-5c5f-9114-1b4a9352be4f","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["risk","review",":review_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"rvw_296645958265997327","key":"review_id","description":"(Required) Unique identifier for the risk review."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"50c5ae55-996e-59d8-8747-1359a6de24de","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["risk","review",":review_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"rvw_296645958265997327","key":"review_id","description":"(Required) Unique identifier for the risk review."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"388d5f48-db1d-505f-b13a-4652bb9770d8","name":"Risk review not found.","originalRequest":{"url":{"path":["risk","review",":review_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"rvw_296645958265997327","key":"review_id","description":"(Required) Unique identifier for the risk review."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f0ac7e0a-0f82-54f0-9004-a5e58f6a7713","name":"Internal server error.","originalRequest":{"url":{"path":["risk","review",":review_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"rvw_296645958265997327","key":"review_id","description":"(Required) Unique identifier for the risk review."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"be19bbe3-7e2c-5506-818d-9f01f1ef2368","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["risk","review",":review_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"rvw_296645958265997327","key":"review_id","description":"(Required) Unique identifier for the risk review."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"eb1fe0d6-da5e-587f-ac40-1e648a1b4f55","name":"Resolve a risk review","request":{"name":"Resolve a risk review","description":{"content":"Resolves a pending risk review by approving or declining it. Only reviews in status `pending_review` can be resolved.\n\nResolving a review only records the decision: the reviewed charge or customer is not changed. A `review.transaction.reviewed` or `review.customer.reviewed` webhook is sent.","type":"text/plain"},"url":{"path":["risk","review",":review_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"rvw_296645958265997327","key":"review_id","description":"(Required) Unique identifier for the risk review."}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PUT","auth":null,"body":{"mode":"raw","raw":"{\n  \"status\": \"approved\",\n  \"status_reason\": \"Customer verified via phone call\",\n  \"reviewer_identifier\": \"john.smith@example.com\",\n  \"reviewer_origin\": \"manual\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"45e913d8-b27c-52fd-a883-82b4e6e97fe6","name":"Returns the risk review object.","originalRequest":{"url":{"path":["risk","review",":review_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"rvw_296645958265997327","key":"review_id","description":"(Required) Unique identifier for the risk review."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"status\": \"approved\",\n  \"status_reason\": \"Customer verified via phone call\",\n  \"reviewer_identifier\": \"john.smith@example.com\",\n  \"reviewer_origin\": \"manual\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"rvw_296645958265997327\",\n  \"resource\": \"review\",\n  \"reference\": \"chrg_296645958265997312\",\n  \"type\": \"transaction\",\n  \"status\": \"approved\",\n  \"status_reason\": \"Customer verified via phone call\",\n  \"reviewer_identifier\": \"john.smith@example.com\",\n  \"reviewer_origin\": \"manual\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"expires\": \"2024-01-18T10:30:00Z\",\n  \"test_mode\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cc742878-1cd5-5b0d-8e99-09ab254a3365","name":"Invalid request parameters, or the review is not in status `pending_review` (\"Unable to update already processed review\").","originalRequest":{"url":{"path":["risk","review",":review_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"rvw_296645958265997327","key":"review_id","description":"(Required) Unique identifier for the risk review."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"status\": \"approved\",\n  \"status_reason\": \"Customer verified via phone call\",\n  \"reviewer_identifier\": \"john.smith@example.com\",\n  \"reviewer_origin\": \"manual\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"82b5355f-84f1-53c8-b70a-30afc5cc25c7","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["risk","review",":review_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"rvw_296645958265997327","key":"review_id","description":"(Required) Unique identifier for the risk review."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"status\": \"approved\",\n  \"status_reason\": \"Customer verified via phone call\",\n  \"reviewer_identifier\": \"john.smith@example.com\",\n  \"reviewer_origin\": \"manual\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a46773e8-3f2c-5b48-bb67-48d79bf0a6c9","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["risk","review",":review_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"rvw_296645958265997327","key":"review_id","description":"(Required) Unique identifier for the risk review."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"status\": \"approved\",\n  \"status_reason\": \"Customer verified via phone call\",\n  \"reviewer_identifier\": \"john.smith@example.com\",\n  \"reviewer_origin\": \"manual\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"43b171a4-3235-5d9e-8d8c-5bd702c81cbb","name":"Risk review not found.","originalRequest":{"url":{"path":["risk","review",":review_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"rvw_296645958265997327","key":"review_id","description":"(Required) Unique identifier for the risk review."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"status\": \"approved\",\n  \"status_reason\": \"Customer verified via phone call\",\n  \"reviewer_identifier\": \"john.smith@example.com\",\n  \"reviewer_origin\": \"manual\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2300eb89-72eb-52c4-9ad6-2d1d8bafecd7","name":"Internal server error.","originalRequest":{"url":{"path":["risk","review",":review_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"rvw_296645958265997327","key":"review_id","description":"(Required) Unique identifier for the risk review."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"status\": \"approved\",\n  \"status_reason\": \"Customer verified via phone call\",\n  \"reviewer_identifier\": \"john.smith@example.com\",\n  \"reviewer_origin\": \"manual\"\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"28716be5-c084-556c-8bd8-411f6f0d959b","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["risk","review",":review_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"rvw_296645958265997327","key":"review_id","description":"(Required) Unique identifier for the risk review."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PUT","body":{"mode":"raw","raw":"{\n  \"status\": \"approved\",\n  \"status_reason\": \"Customer verified via phone call\",\n  \"reviewer_identifier\": \"john.smith@example.com\",\n  \"reviewer_origin\": \"manual\"\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"d6f5d326-a14b-5fcb-b723-84c5d3f806ae","name":"List risk reviews for a resource","request":{"name":"List risk reviews for a resource","description":{"content":"Returns the risk reviews for a charge, hold, refund, payout or customer. The list is not paginated. A reference with no reviews returns an empty `data` array.","type":"text/plain"},"url":{"path":["risk","review","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"reference_id","description":"(Required) Unique identifier for the reviewed charge (`chrg_`), hold (`hld_`), refund (`rfnd_`), payout (`po_`) or customer (`cust_`). Your own references are not accepted."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"a3991fee-3bcc-5ebf-8cd2-1a897e73950d","name":"Returns a list of risk review objects.","originalRequest":{"url":{"path":["risk","review","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"reference_id","description":"(Required) Unique identifier for the reviewed charge (`chrg_`), hold (`hld_`), refund (`rfnd_`), payout (`po_`) or customer (`cust_`). Your own references are not accepted."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"resource\": \"reviews\",\n  \"data\": [\n    {\n      \"id\": \"rvw_296645958265997327\",\n      \"resource\": \"review\",\n      \"reference\": \"chrg_296645958265997312\",\n      \"type\": \"transaction\",\n      \"status\": \"pending_review\",\n      \"status_reason\": null,\n      \"reviewer_identifier\": null,\n      \"reviewer_origin\": null,\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"expires\": \"2024-01-18T10:30:00Z\",\n      \"test_mode\": false\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"68cb4b7c-1373-5542-baf8-1a984c9d5422","name":"Invalid request parameters.","originalRequest":{"url":{"path":["risk","review","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"reference_id","description":"(Required) Unique identifier for the reviewed charge (`chrg_`), hold (`hld_`), refund (`rfnd_`), payout (`po_`) or customer (`cust_`). Your own references are not accepted."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"13b9cbee-b300-550f-9df6-5ecf33c375e9","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["risk","review","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"reference_id","description":"(Required) Unique identifier for the reviewed charge (`chrg_`), hold (`hld_`), refund (`rfnd_`), payout (`po_`) or customer (`cust_`). Your own references are not accepted."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8189f136-1d5e-506c-b9ca-e45d0c99a74e","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["risk","review","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"reference_id","description":"(Required) Unique identifier for the reviewed charge (`chrg_`), hold (`hld_`), refund (`rfnd_`), payout (`po_`) or customer (`cust_`). Your own references are not accepted."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ef9b689a-648c-5888-aaad-bb94eb6c4da5","name":"Internal server error.","originalRequest":{"url":{"path":["risk","review","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"reference_id","description":"(Required) Unique identifier for the reviewed charge (`chrg_`), hold (`hld_`), refund (`rfnd_`), payout (`po_`) or customer (`cust_`). Your own references are not accepted."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8b2c8a75-21fb-5f82-9183-2047ee02237e","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["risk","review","reference",":reference_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"reference_id","description":"(Required) Unique identifier for the reviewed charge (`chrg_`), hold (`hld_`), refund (`rfnd_`), payout (`po_`) or customer (`cust_`). Your own references are not accepted."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"af719fe7-3776-5dca-b05c-98d05e93dd96","name":"Tokens","description":{"content":"Retrieve tokenized payment method information.","type":"text/plain"},"item":[{"id":"3b363c6b-b564-5408-9b1b-f08a4f988c09","name":"Retrieve a token","request":{"name":"Retrieve a token","description":{"content":"Retrieves the details of a token.","type":"text/plain"},"url":{"path":["tokens",":token_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"tok_card_296645958265997326","key":"token_id","description":"(Required) The identifier of the token."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"48cd3b61-6dac-5664-80ac-7ecc050516fc","name":"Returns the token object.","originalRequest":{"url":{"path":["tokens",":token_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"tok_card_296645958265997326","key":"token_id","description":"(Required) The identifier of the token."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"tok_card_296645958265997326\",\n  \"type\": \"card\",\n  \"resource\": \"token\",\n  \"card\": {\n    \"bin\": \"424242\",\n    \"brand\": \"visa\",\n    \"cardholder_currency\": \"usd\",\n    \"country\": \"US\",\n    \"exp_month\": \"12\",\n    \"exp_year\": \"2028\",\n    \"fingerprint\": \"fp_abc123xyz789\",\n    \"funding\": \"debit\",\n    \"last4\": \"4242\",\n    \"network\": \"visa\",\n    \"category\": \"consumer\",\n    \"security_checks\": {\n      \"address_line1_check\": \"unavailable\",\n      \"address_postal_code_check\": \"unavailable\",\n      \"cvc_check\": \"pass\"\n    },\n    \"wallet\": {\n      \"type\": \"googlepay\",\n      \"googlepay\": {\n        \"type\": \"cryptogram_3ds\",\n        \"physical_card_last4\": \"4242\"\n      },\n      \"applepay\": {\n        \"physical_card_last4\": \"4242\"\n      },\n      \"ctp\": {\n        \"physical_card_last4\": \"string\",\n        \"physical_card_bin\": \"string\",\n        \"physical_card_exp_month\": \"string\",\n        \"physical_card_exp_year\": \"string\"\n      }\n    },\n    \"token\": \"tok_card_296645958265997326\",\n    \"three_d_secure\": {\n      \"authentication_flow\": \"challenge\",\n      \"result\": \"success\",\n      \"result_reason\": \"authenticated\",\n      \"version\": \"2.2.0\",\n      \"eci\": \"05\",\n      \"cardholder_info\": \"string\",\n      \"liability_shift\": true\n    },\n    \"three_ds\": {\n      \"authentication_flow\": \"challenge\",\n      \"result\": \"success\",\n      \"result_reason\": \"authenticated\",\n      \"status_reason\": \"string\",\n      \"protocol_version\": \"2.2.0\",\n      \"eci\": \"02\",\n      \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n      \"liability_shift\": true,\n      \"cardholder_info\": \"string\",\n      \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n      \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n      \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n      \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n      \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n    },\n    \"payout\": \"not_available\",\n    \"name_verification\": \"match\",\n    \"partial_approval\": {\n      \"status\": \"accepted\",\n      \"amount_requested\": 10000,\n      \"amount_authorized\": 7500,\n      \"amount_charged\": 7500,\n      \"product_id\": \"prod_12345\"\n    },\n    \"name\": \"John Smith\",\n    \"issuer\": \"Chase Bank\"\n  },\n  \"flow_directions\": {\n    \"payment\": true,\n    \"payout\": false\n  },\n  \"test_mode\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"15457720-575c-5e6b-8dea-ee8fc19f45a8","name":"Invalid request parameters.","originalRequest":{"url":{"path":["tokens",":token_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"tok_card_296645958265997326","key":"token_id","description":"(Required) The identifier of the token."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"66b06cf6-af3a-59ac-ad15-12e5326d3654","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["tokens",":token_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"tok_card_296645958265997326","key":"token_id","description":"(Required) The identifier of the token."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"febdddd2-3b9d-5c26-98bc-dcc4d40d3614","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["tokens",":token_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"tok_card_296645958265997326","key":"token_id","description":"(Required) The identifier of the token."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0f17fe8f-4cac-516a-9dac-d204fdfca02d","name":"Token not found.","originalRequest":{"url":{"path":["tokens",":token_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"tok_card_296645958265997326","key":"token_id","description":"(Required) The identifier of the token."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f186aee8-7655-52f3-9b3c-9fd236059c69","name":"Internal server error.","originalRequest":{"url":{"path":["tokens",":token_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"tok_card_296645958265997326","key":"token_id","description":"(Required) The identifier of the token."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ca485ced-ca08-50b9-b4ca-d5abc7e0cfac","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["tokens",":token_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"tok_card_296645958265997326","key":"token_id","description":"(Required) The identifier of the token."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"396f0464-4da5-5a08-897a-49e0bec6ee79","name":"AuthenticationSessionsIndependent","description":{"content":"Create standalone 3D Secure authentication sessions independent of payment flows.","type":"text/plain"},"item":[{"id":"b823a56c-11e2-50ad-a8de-980f67eafbaa","name":"Create an independent authentication session","request":{"name":"Create an independent authentication session","description":{"content":"Creates a new independent (standalone) 3D Secure authentication session for a payment method, without creating a charge or hold.","type":"text/plain"},"url":{"path":["authentication","session","independent"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"payment\": true,\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"reference\": \"order_12345\",\n  \"return_url\": \"https://example.com/return\",\n  \"authentication_options\": {\n    \"type\": \"three_ds\",\n    \"return_url\": \"https://example.com/return\",\n    \"three_ds\": {\n      \"channel\": {\n        \"type\": \"browser\",\n        \"browser\": {\n          \"customer_ip_address\": \"203.0.113.10\",\n          \"browser_details\": {\n            \"accept_header\": \"text/html,application/xhtml+xml\",\n            \"javascript_enabled\": true,\n            \"language\": \"en-US\",\n            \"user_agent\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)\",\n            \"screen_width\": 1440,\n            \"screen_height\": 900,\n            \"timezone_offset\": \"-120\",\n            \"java_enabled\": false,\n            \"color_depth\": 24\n          }\n        }\n      }\n    }\n  },\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"4355dea3-770f-551b-b341-d4b6624b7219","name":"Returns the created authentication session object.","originalRequest":{"url":{"path":["authentication","session","independent"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"payment\": true,\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"reference\": \"order_12345\",\n  \"return_url\": \"https://example.com/return\",\n  \"authentication_options\": {\n    \"type\": \"three_ds\",\n    \"return_url\": \"https://example.com/return\",\n    \"three_ds\": {\n      \"channel\": {\n        \"type\": \"browser\",\n        \"browser\": {\n          \"customer_ip_address\": \"203.0.113.10\",\n          \"browser_details\": {\n            \"accept_header\": \"text/html,application/xhtml+xml\",\n            \"javascript_enabled\": true,\n            \"language\": \"en-US\",\n            \"user_agent\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)\",\n            \"screen_width\": 1440,\n            \"screen_height\": 900,\n            \"timezone_offset\": \"-120\",\n            \"java_enabled\": false,\n            \"color_depth\": 24\n          }\n        }\n      }\n    }\n  },\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"sca_296645958265997334\",\n  \"resource\": \"independent_authentication_session\",\n  \"type\": \"setup\",\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"test_mode\": false,\n  \"status\": \"requires_authentication\",\n  \"amount_human_readable\": \"100.00\",\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  },\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"payment_method_details\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"bin\": \"424242\",\n      \"brand\": \"visa\",\n      \"cardholder_currency\": \"usd\",\n      \"country\": \"US\",\n      \"exp_month\": \"12\",\n      \"exp_year\": \"2028\",\n      \"fingerprint\": \"fp_abc123xyz789\",\n      \"funding\": \"credit\",\n      \"last4\": \"4242\",\n      \"network\": \"visa\",\n      \"category\": \"consumer\",\n      \"security_checks\": {\n        \"address_line1_check\": \"unavailable\",\n        \"address_postal_code_check\": \"unavailable\",\n        \"cvc_check\": \"pass\"\n      },\n      \"wallet\": {\n        \"type\": \"googlepay\",\n        \"googlepay\": {\n          \"type\": \"cryptogram_3ds\",\n          \"physical_card_last4\": \"4242\"\n        },\n        \"applepay\": {\n          \"physical_card_last4\": \"4242\"\n        },\n        \"ctp\": {\n          \"physical_card_last4\": \"string\",\n          \"physical_card_bin\": \"string\",\n          \"physical_card_exp_month\": \"string\",\n          \"physical_card_exp_year\": \"string\"\n        }\n      },\n      \"token\": \"tok_card_296645958265997326\",\n      \"three_d_secure\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"version\": \"2.2.0\",\n        \"eci\": \"05\",\n        \"cardholder_info\": \"string\",\n        \"liability_shift\": true\n      },\n      \"three_ds\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"status_reason\": \"string\",\n        \"protocol_version\": \"2.2.0\",\n        \"eci\": \"02\",\n        \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n        \"liability_shift\": true,\n        \"cardholder_info\": \"string\",\n        \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n        \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n        \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n        \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n        \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n      },\n      \"payout\": \"not_available\",\n      \"name_verification\": \"match\",\n      \"partial_approval\": {\n        \"status\": \"accepted\",\n        \"amount_requested\": 10000,\n        \"amount_authorized\": 7500,\n        \"amount_charged\": 7500,\n        \"product_id\": \"prod_12345\"\n      },\n      \"name\": \"John Smith\",\n      \"issuer\": \"Chase Bank\"\n    },\n    \"cashapp\": {\n      \"cashtag\": \"$acmecustomer\",\n      \"name\": \"Jenny Rosen\"\n    },\n    \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n    \"setup_future_usage\": \"on_session\"\n  },\n  \"reference\": \"order_12345\",\n  \"shipping\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"phone\": \"+14155551234\"\n  },\n  \"return_url\": \"https://example.com/return\",\n  \"authentication_options\": {\n    \"three_ds\": {\n      \"flow_indicator\": {\n        \"type\": \"frictionless\",\n        \"frictionless\": {\n          \"sca_exemption_type\": \"low_value\"\n        }\n      }\n    }\n  },\n  \"authentication_type\": \"three_ds\",\n  \"authentication_details\": {\n    \"three_ds\": {\n      \"cavv\": \"AAEBAwQjSQAAXXXXXXXJYe0BbQA=\",\n      \"xid\": \"string\",\n      \"eci\": \"05\",\n      \"cardholder_info\": \"string\",\n      \"status_reason\": \"string\",\n      \"authentication_flow\": \"challenge\",\n      \"protocol_version\": \"2.2.0\",\n      \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n      \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n      \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n      \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n      \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\",\n      \"flow\": \"challenge\",\n      \"version\": \"2.2.0\",\n      \"ds_trans_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\"\n    }\n  },\n  \"fingerprint_url\": \"https://example.com/fingerprint?client_secret=REDACTED\",\n  \"url\": \"https://example.com/authenticate?client_secret=REDACTED\",\n  \"result\": \"authenticated\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e9261941-5ce6-5ec4-8ee5-f1b97eddf482","name":"Invalid request parameters, or the authentication was declined (`payment_method_error`).","originalRequest":{"url":{"path":["authentication","session","independent"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"payment\": true,\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"reference\": \"order_12345\",\n  \"return_url\": \"https://example.com/return\",\n  \"authentication_options\": {\n    \"type\": \"three_ds\",\n    \"return_url\": \"https://example.com/return\",\n    \"three_ds\": {\n      \"channel\": {\n        \"type\": \"browser\",\n        \"browser\": {\n          \"customer_ip_address\": \"203.0.113.10\",\n          \"browser_details\": {\n            \"accept_header\": \"text/html,application/xhtml+xml\",\n            \"javascript_enabled\": true,\n            \"language\": \"en-US\",\n            \"user_agent\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)\",\n            \"screen_width\": 1440,\n            \"screen_height\": 900,\n            \"timezone_offset\": \"-120\",\n            \"java_enabled\": false,\n            \"color_depth\": 24\n          }\n        }\n      }\n    }\n  },\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f1dbe415-3f96-5a88-8b40-5756ff32a810","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["authentication","session","independent"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"payment\": true,\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"reference\": \"order_12345\",\n  \"return_url\": \"https://example.com/return\",\n  \"authentication_options\": {\n    \"type\": \"three_ds\",\n    \"return_url\": \"https://example.com/return\",\n    \"three_ds\": {\n      \"channel\": {\n        \"type\": \"browser\",\n        \"browser\": {\n          \"customer_ip_address\": \"203.0.113.10\",\n          \"browser_details\": {\n            \"accept_header\": \"text/html,application/xhtml+xml\",\n            \"javascript_enabled\": true,\n            \"language\": \"en-US\",\n            \"user_agent\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)\",\n            \"screen_width\": 1440,\n            \"screen_height\": 900,\n            \"timezone_offset\": \"-120\",\n            \"java_enabled\": false,\n            \"color_depth\": 24\n          }\n        }\n      }\n    }\n  },\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e84c4488-19f6-5049-b478-1d5ee6381c93","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["authentication","session","independent"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"payment\": true,\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"reference\": \"order_12345\",\n  \"return_url\": \"https://example.com/return\",\n  \"authentication_options\": {\n    \"type\": \"three_ds\",\n    \"return_url\": \"https://example.com/return\",\n    \"three_ds\": {\n      \"channel\": {\n        \"type\": \"browser\",\n        \"browser\": {\n          \"customer_ip_address\": \"203.0.113.10\",\n          \"browser_details\": {\n            \"accept_header\": \"text/html,application/xhtml+xml\",\n            \"javascript_enabled\": true,\n            \"language\": \"en-US\",\n            \"user_agent\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)\",\n            \"screen_width\": 1440,\n            \"screen_height\": 900,\n            \"timezone_offset\": \"-120\",\n            \"java_enabled\": false,\n            \"color_depth\": 24\n          }\n        }\n      }\n    }\n  },\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a61008ab-6de8-5149-932e-a6152b6a3c27","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["authentication","session","independent"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"payment\": true,\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"reference\": \"order_12345\",\n  \"return_url\": \"https://example.com/return\",\n  \"authentication_options\": {\n    \"type\": \"three_ds\",\n    \"return_url\": \"https://example.com/return\",\n    \"three_ds\": {\n      \"channel\": {\n        \"type\": \"browser\",\n        \"browser\": {\n          \"customer_ip_address\": \"203.0.113.10\",\n          \"browser_details\": {\n            \"accept_header\": \"text/html,application/xhtml+xml\",\n            \"javascript_enabled\": true,\n            \"language\": \"en-US\",\n            \"user_agent\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)\",\n            \"screen_width\": 1440,\n            \"screen_height\": 900,\n            \"timezone_offset\": \"-120\",\n            \"java_enabled\": false,\n            \"color_depth\": 24\n          }\n        }\n      }\n    }\n  },\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"45171090-f099-582e-a437-848f97066af6","name":"Internal server error.","originalRequest":{"url":{"path":["authentication","session","independent"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"payment\": true,\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"reference\": \"order_12345\",\n  \"return_url\": \"https://example.com/return\",\n  \"authentication_options\": {\n    \"type\": \"three_ds\",\n    \"return_url\": \"https://example.com/return\",\n    \"three_ds\": {\n      \"channel\": {\n        \"type\": \"browser\",\n        \"browser\": {\n          \"customer_ip_address\": \"203.0.113.10\",\n          \"browser_details\": {\n            \"accept_header\": \"text/html,application/xhtml+xml\",\n            \"javascript_enabled\": true,\n            \"language\": \"en-US\",\n            \"user_agent\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)\",\n            \"screen_width\": 1440,\n            \"screen_height\": 900,\n            \"timezone_offset\": \"-120\",\n            \"java_enabled\": false,\n            \"color_depth\": 24\n          }\n        }\n      }\n    }\n  },\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e4058dd9-d106-5034-8e1b-1698dd84afb6","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["authentication","session","independent"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"payment\": true,\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"reference\": \"order_12345\",\n  \"return_url\": \"https://example.com/return\",\n  \"authentication_options\": {\n    \"type\": \"three_ds\",\n    \"return_url\": \"https://example.com/return\",\n    \"three_ds\": {\n      \"channel\": {\n        \"type\": \"browser\",\n        \"browser\": {\n          \"customer_ip_address\": \"203.0.113.10\",\n          \"browser_details\": {\n            \"accept_header\": \"text/html,application/xhtml+xml\",\n            \"javascript_enabled\": true,\n            \"language\": \"en-US\",\n            \"user_agent\": \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)\",\n            \"screen_width\": 1440,\n            \"screen_height\": 900,\n            \"timezone_offset\": \"-120\",\n            \"java_enabled\": false,\n            \"color_depth\": 24\n          }\n        }\n      }\n    }\n  },\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"257944de-bcd3-5363-aa15-d602c3cb0273","name":"Submit an independent authentication session","request":{"name":"Submit an independent authentication session","description":{"content":"Submits an independent authentication session that has status `requires_submission` (after device fingerprinting) and returns the updated session. A session that was already processed returns 400.","type":"text/plain"},"url":{"path":["authentication",":id","submit"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sca_296645958265997334","key":"id","description":"(Required) The unique identifier of the authentication session."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null},"response":[{"id":"9635f2dc-9053-55e5-afc4-d6fe6c98f10f","name":"Returns the authentication session object.","originalRequest":{"url":{"path":["authentication",":id","submit"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sca_296645958265997334","key":"id","description":"(Required) The unique identifier of the authentication session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"sca_296645958265997334\",\n  \"resource\": \"independent_authentication_session\",\n  \"type\": \"setup\",\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"test_mode\": false,\n  \"status\": \"requires_authentication\",\n  \"amount_human_readable\": \"100.00\",\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  },\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"payment_method_details\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"bin\": \"424242\",\n      \"brand\": \"visa\",\n      \"cardholder_currency\": \"usd\",\n      \"country\": \"US\",\n      \"exp_month\": \"12\",\n      \"exp_year\": \"2028\",\n      \"fingerprint\": \"fp_abc123xyz789\",\n      \"funding\": \"credit\",\n      \"last4\": \"4242\",\n      \"network\": \"visa\",\n      \"category\": \"consumer\",\n      \"security_checks\": {\n        \"address_line1_check\": \"unavailable\",\n        \"address_postal_code_check\": \"unavailable\",\n        \"cvc_check\": \"pass\"\n      },\n      \"wallet\": {\n        \"type\": \"googlepay\",\n        \"googlepay\": {\n          \"type\": \"cryptogram_3ds\",\n          \"physical_card_last4\": \"4242\"\n        },\n        \"applepay\": {\n          \"physical_card_last4\": \"4242\"\n        },\n        \"ctp\": {\n          \"physical_card_last4\": \"string\",\n          \"physical_card_bin\": \"string\",\n          \"physical_card_exp_month\": \"string\",\n          \"physical_card_exp_year\": \"string\"\n        }\n      },\n      \"token\": \"tok_card_296645958265997326\",\n      \"three_d_secure\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"version\": \"2.2.0\",\n        \"eci\": \"05\",\n        \"cardholder_info\": \"string\",\n        \"liability_shift\": true\n      },\n      \"three_ds\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"status_reason\": \"string\",\n        \"protocol_version\": \"2.2.0\",\n        \"eci\": \"02\",\n        \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n        \"liability_shift\": true,\n        \"cardholder_info\": \"string\",\n        \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n        \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n        \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n        \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n        \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n      },\n      \"payout\": \"not_available\",\n      \"name_verification\": \"match\",\n      \"partial_approval\": {\n        \"status\": \"accepted\",\n        \"amount_requested\": 10000,\n        \"amount_authorized\": 7500,\n        \"amount_charged\": 7500,\n        \"product_id\": \"prod_12345\"\n      },\n      \"name\": \"John Smith\",\n      \"issuer\": \"Chase Bank\"\n    },\n    \"cashapp\": {\n      \"cashtag\": \"$acmecustomer\",\n      \"name\": \"Jenny Rosen\"\n    },\n    \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n    \"setup_future_usage\": \"on_session\"\n  },\n  \"reference\": \"order_12345\",\n  \"shipping\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"phone\": \"+14155551234\"\n  },\n  \"return_url\": \"https://example.com/return\",\n  \"authentication_options\": {\n    \"three_ds\": {\n      \"flow_indicator\": {\n        \"type\": \"frictionless\",\n        \"frictionless\": {\n          \"sca_exemption_type\": \"low_value\"\n        }\n      }\n    }\n  },\n  \"authentication_type\": \"three_ds\",\n  \"authentication_details\": {\n    \"three_ds\": {\n      \"cavv\": \"AAEBAwQjSQAAXXXXXXXJYe0BbQA=\",\n      \"xid\": \"string\",\n      \"eci\": \"05\",\n      \"cardholder_info\": \"string\",\n      \"status_reason\": \"string\",\n      \"authentication_flow\": \"challenge\",\n      \"protocol_version\": \"2.2.0\",\n      \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n      \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n      \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n      \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n      \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\",\n      \"flow\": \"challenge\",\n      \"version\": \"2.2.0\",\n      \"ds_trans_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\"\n    }\n  },\n  \"fingerprint_url\": \"https://example.com/fingerprint?client_secret=REDACTED\",\n  \"url\": \"https://example.com/authenticate?client_secret=REDACTED\",\n  \"result\": \"authenticated\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3ec40e3d-cc64-5ce9-bb74-3cdfd3c8435d","name":"Invalid request parameters, the session was already processed, or the authentication was declined (`payment_method_error`).","originalRequest":{"url":{"path":["authentication",":id","submit"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sca_296645958265997334","key":"id","description":"(Required) The unique identifier of the authentication session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ec712edd-c81e-51a0-b310-659fa7625ac3","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["authentication",":id","submit"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sca_296645958265997334","key":"id","description":"(Required) The unique identifier of the authentication session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d89b3bea-7232-5abe-a00c-d39d19375352","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["authentication",":id","submit"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sca_296645958265997334","key":"id","description":"(Required) The unique identifier of the authentication session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ae841f33-c3eb-5a0d-9c07-d426949c8a7c","name":"Authentication session not found.","originalRequest":{"url":{"path":["authentication",":id","submit"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sca_296645958265997334","key":"id","description":"(Required) The unique identifier of the authentication session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"39da90f3-1f14-5753-aab1-4148553e4f46","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["authentication",":id","submit"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sca_296645958265997334","key":"id","description":"(Required) The unique identifier of the authentication session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"51910c91-237b-58ed-b82e-bf2b1b8c9c09","name":"Internal server error.","originalRequest":{"url":{"path":["authentication",":id","submit"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sca_296645958265997334","key":"id","description":"(Required) The unique identifier of the authentication session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9cfdf0ef-7f04-5080-9ae1-279f7dffd836","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["authentication",":id","submit"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sca_296645958265997334","key":"id","description":"(Required) The unique identifier of the authentication session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"b549ccf4-f962-5d6b-b2b6-1e5e21ea6350","name":"Retrieve an independent authentication session","request":{"name":"Retrieve an independent authentication session","description":{"content":"Retrieves the details of an independent authentication session.","type":"text/plain"},"url":{"path":["authentication",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sca_296645958265997334","key":"id","description":"(Required) The unique identifier of the authentication session."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"3194acb1-474e-56fa-b2d9-72849197a942","name":"Returns the authentication session object.","originalRequest":{"url":{"path":["authentication",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sca_296645958265997334","key":"id","description":"(Required) The unique identifier of the authentication session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"sca_296645958265997334\",\n  \"resource\": \"independent_authentication_session\",\n  \"type\": \"setup\",\n  \"amount\": 10000,\n  \"currency\": \"usd\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"test_mode\": false,\n  \"status\": \"requires_authentication\",\n  \"amount_human_readable\": \"100.00\",\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"metadata\": {\n    \"order_id\": \"12345\",\n    \"source\": \"website\"\n  },\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"payment_method_details\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"bin\": \"424242\",\n      \"brand\": \"visa\",\n      \"cardholder_currency\": \"usd\",\n      \"country\": \"US\",\n      \"exp_month\": \"12\",\n      \"exp_year\": \"2028\",\n      \"fingerprint\": \"fp_abc123xyz789\",\n      \"funding\": \"credit\",\n      \"last4\": \"4242\",\n      \"network\": \"visa\",\n      \"category\": \"consumer\",\n      \"security_checks\": {\n        \"address_line1_check\": \"unavailable\",\n        \"address_postal_code_check\": \"unavailable\",\n        \"cvc_check\": \"pass\"\n      },\n      \"wallet\": {\n        \"type\": \"googlepay\",\n        \"googlepay\": {\n          \"type\": \"cryptogram_3ds\",\n          \"physical_card_last4\": \"4242\"\n        },\n        \"applepay\": {\n          \"physical_card_last4\": \"4242\"\n        },\n        \"ctp\": {\n          \"physical_card_last4\": \"string\",\n          \"physical_card_bin\": \"string\",\n          \"physical_card_exp_month\": \"string\",\n          \"physical_card_exp_year\": \"string\"\n        }\n      },\n      \"token\": \"tok_card_296645958265997326\",\n      \"three_d_secure\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"version\": \"2.2.0\",\n        \"eci\": \"05\",\n        \"cardholder_info\": \"string\",\n        \"liability_shift\": true\n      },\n      \"three_ds\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"status_reason\": \"string\",\n        \"protocol_version\": \"2.2.0\",\n        \"eci\": \"02\",\n        \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n        \"liability_shift\": true,\n        \"cardholder_info\": \"string\",\n        \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n        \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n        \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n        \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n        \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n      },\n      \"payout\": \"not_available\",\n      \"name_verification\": \"match\",\n      \"partial_approval\": {\n        \"status\": \"accepted\",\n        \"amount_requested\": 10000,\n        \"amount_authorized\": 7500,\n        \"amount_charged\": 7500,\n        \"product_id\": \"prod_12345\"\n      },\n      \"name\": \"John Smith\",\n      \"issuer\": \"Chase Bank\"\n    },\n    \"cashapp\": {\n      \"cashtag\": \"$acmecustomer\",\n      \"name\": \"Jenny Rosen\"\n    },\n    \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n    \"setup_future_usage\": \"on_session\"\n  },\n  \"reference\": \"order_12345\",\n  \"shipping\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"phone\": \"+14155551234\"\n  },\n  \"return_url\": \"https://example.com/return\",\n  \"authentication_options\": {\n    \"three_ds\": {\n      \"flow_indicator\": {\n        \"type\": \"frictionless\",\n        \"frictionless\": {\n          \"sca_exemption_type\": \"low_value\"\n        }\n      }\n    }\n  },\n  \"authentication_type\": \"three_ds\",\n  \"authentication_details\": {\n    \"three_ds\": {\n      \"cavv\": \"AAEBAwQjSQAAXXXXXXXJYe0BbQA=\",\n      \"xid\": \"string\",\n      \"eci\": \"05\",\n      \"cardholder_info\": \"string\",\n      \"status_reason\": \"string\",\n      \"authentication_flow\": \"challenge\",\n      \"protocol_version\": \"2.2.0\",\n      \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n      \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n      \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n      \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n      \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\",\n      \"flow\": \"challenge\",\n      \"version\": \"2.2.0\",\n      \"ds_trans_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\"\n    }\n  },\n  \"fingerprint_url\": \"https://example.com/fingerprint?client_secret=REDACTED\",\n  \"url\": \"https://example.com/authenticate?client_secret=REDACTED\",\n  \"result\": \"authenticated\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"393e60fc-b438-599a-b060-a2062c20d1d7","name":"Invalid request parameters.","originalRequest":{"url":{"path":["authentication",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sca_296645958265997334","key":"id","description":"(Required) The unique identifier of the authentication session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cfe88671-2db5-5fd6-b4ca-cd3c250190bf","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["authentication",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sca_296645958265997334","key":"id","description":"(Required) The unique identifier of the authentication session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5d05d296-f4de-5057-b6b7-16d94e1c512d","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["authentication",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sca_296645958265997334","key":"id","description":"(Required) The unique identifier of the authentication session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"95cd7e5a-b81c-5b40-a896-06486e38898d","name":"Authentication session not found.","originalRequest":{"url":{"path":["authentication",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sca_296645958265997334","key":"id","description":"(Required) The unique identifier of the authentication session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"40e402e0-367d-5dbb-a7ea-1ec305dfbe43","name":"Internal server error.","originalRequest":{"url":{"path":["authentication",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sca_296645958265997334","key":"id","description":"(Required) The unique identifier of the authentication session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7722b73b-0e74-56a1-9f4e-189c7499a20a","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["authentication",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"sca_296645958265997334","key":"id","description":"(Required) The unique identifier of the authentication session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"18bd8748-0208-50f2-a97d-2a3a35ea3519","name":"PartialApproval","description":{"content":"Handle partial approval scenarios for charges.","type":"text/plain"},"item":[{"id":"da096f87-3e26-5c27-9d01-70bf76075e0e","name":"Cancel a partial approval for a payment session","request":{"name":"Cancel a partial approval for a payment session","description":{"content":"Cancels a partially approved payment in a payment session. The partially approved amount is released and the session's payment is not completed.\n\nOnly available when server-to-server partial approval is enabled on your account; otherwise the response is 403 (`S2S Partial approval is not enabled for this merchant`). The payment session must have status `requires_partial_approval_action`.","type":"text/plain"},"url":{"path":["sessions","payment",":id","partial_approval","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null},"response":[{"id":"cd02d82c-7637-533f-8acd-f36767ef15ec","name":"Returns the payment session object.","originalRequest":{"url":{"path":["sessions","payment",":id","partial_approval","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"ps_296645958265997318\",\n  \"resource\": \"payment_session\",\n  \"amount\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"capture\": true,\n  \"currency\": \"usd\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"status\": \"completed\",\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"charge\": \"chrg_296645958265997312\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"setup_future_usage\": \"off_session\",\n  \"client_secret\": \"REDACTED\",\n  \"customer\": \"cust_296645958265997317\",\n  \"description\": \"Payment for Order #12345.\",\n  \"failure_code\": \"string\",\n  \"failure_message\": \"string\",\n  \"hold\": \"hld_296645958265997313\",\n  \"metadata\": {},\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"payment_method_details\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"bin\": \"424242\",\n      \"brand\": \"visa\",\n      \"cardholder_currency\": \"usd\",\n      \"country\": \"US\",\n      \"exp_month\": \"12\",\n      \"exp_year\": \"2028\",\n      \"fingerprint\": \"fp_abc123xyz789\",\n      \"funding\": \"debit\",\n      \"last4\": \"4242\",\n      \"network\": \"visa\",\n      \"category\": \"consumer\",\n      \"security_checks\": {\n        \"address_line1_check\": \"unavailable\",\n        \"address_postal_code_check\": \"unavailable\",\n        \"cvc_check\": \"pass\"\n      },\n      \"wallet\": {\n        \"type\": \"googlepay\",\n        \"googlepay\": {\n          \"type\": \"cryptogram_3ds\",\n          \"physical_card_last4\": \"4242\"\n        },\n        \"applepay\": {\n          \"physical_card_last4\": \"4242\"\n        },\n        \"ctp\": {\n          \"physical_card_last4\": \"string\",\n          \"physical_card_bin\": \"string\",\n          \"physical_card_exp_month\": \"string\",\n          \"physical_card_exp_year\": \"string\"\n        }\n      },\n      \"token\": \"tok_card_296645958265997326\",\n      \"three_d_secure\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"version\": \"2.2.0\",\n        \"eci\": \"05\",\n        \"cardholder_info\": \"string\",\n        \"liability_shift\": true\n      },\n      \"three_ds\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"status_reason\": \"string\",\n        \"protocol_version\": \"2.2.0\",\n        \"eci\": \"02\",\n        \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n        \"liability_shift\": true,\n        \"cardholder_info\": \"string\",\n        \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n        \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n        \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n        \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n        \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n      },\n      \"payout\": \"not_available\",\n      \"name_verification\": \"match\",\n      \"partial_approval\": {\n        \"status\": \"accepted\",\n        \"amount_requested\": 10000,\n        \"amount_authorized\": 7500,\n        \"amount_charged\": 7500,\n        \"product_id\": \"prod_12345\"\n      },\n      \"name\": \"John Smith\",\n      \"issuer\": \"Chase Bank\"\n    },\n    \"cashapp\": {\n      \"cashtag\": \"$acmecustomer\",\n      \"name\": \"Jenny Rosen\"\n    },\n    \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n    \"setup_future_usage\": \"on_session\"\n  },\n  \"payment_method_options\": {\n    \"card\": {\n      \"security_checks\": {\n        \"address_line1_check\": true,\n        \"address_postal_code_check\": true,\n        \"cvv_check\": true\n      }\n    }\n  },\n  \"payment_method_types\": [\n    \"card\",\n    \"card\"\n  ],\n  \"reference\": \"order_12345\",\n  \"receipt\": null,\n  \"return_url\": \"https://example.com/checkout/complete\",\n  \"settlement_account\": \"sa_296645958265997349\",\n  \"settlement_account_details\": {\n    \"processor\": \"worldpay\",\n    \"currency\": \"usd\",\n    \"name\": \"Main USD account\",\n    \"entity\": \"ent_296645958265997352\",\n    \"entity_details\": {\n      \"legal_name\": \"Acme Inc.\",\n      \"country\": \"US\"\n    }\n  },\n  \"shipping\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"phone\": \"+14155551234\"\n  },\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"test_mode\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f2ac91e5-9740-5ccf-be7b-52d8fe8cf3b3","name":"Invalid request parameters. Also returned when the payment session is not in partial approval state, or not in a state that allows partial approval cancellation.","originalRequest":{"url":{"path":["sessions","payment",":id","partial_approval","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c6ec5010-e73d-5b9f-9402-393e4d4dafef","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["sessions","payment",":id","partial_approval","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"750fb4b9-3db3-5054-850e-ef68fb3235a6","name":"Server-to-server partial approval is not enabled for your account.\n\nA 403 can also mean the key may not make this request; `code` says why.","originalRequest":{"url":{"path":["sessions","payment",":id","partial_approval","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"817968d0-bd46-506f-9cd8-1b9bbe66864a","name":"Payment session not found.","originalRequest":{"url":{"path":["sessions","payment",":id","partial_approval","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4b2bf87d-b9fe-5ab2-a428-242416c1624b","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["sessions","payment",":id","partial_approval","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cd4e7b24-c937-5626-8f10-e5beea7d8041","name":"Internal server error.","originalRequest":{"url":{"path":["sessions","payment",":id","partial_approval","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4972ca02-be3e-50d3-86b8-362671f48edc","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["sessions","payment",":id","partial_approval","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"9660fc06-d6d4-509f-8791-2bfe54c6d8ea","name":"Confirm a partial approval for a payment session","request":{"name":"Confirm a partial approval for a payment session","description":{"content":"Confirms a partially approved payment in a payment session for the approved amount, or for a lower `amount` or a predefined product.\n\nOnly available when server-to-server partial approval is enabled on your account; otherwise the response is 403 (`S2S Partial approval is not enabled for this merchant`). The payment session must have status `requires_partial_approval_action`.","type":"text/plain"},"url":{"path":["sessions","payment",":id","partial_approval","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"amount\": 5000\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"5b44c1ef-b591-5d8a-bb49-1c6539a93689","name":"Returns the payment session object.","originalRequest":{"url":{"path":["sessions","payment",":id","partial_approval","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 5000\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"ps_296645958265997318\",\n  \"resource\": \"payment_session\",\n  \"amount\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"capture\": true,\n  \"currency\": \"usd\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"status\": \"completed\",\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"charge\": \"chrg_296645958265997312\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"setup_future_usage\": \"off_session\",\n  \"client_secret\": \"REDACTED\",\n  \"customer\": \"cust_296645958265997317\",\n  \"description\": \"Payment for Order #12345.\",\n  \"failure_code\": \"string\",\n  \"failure_message\": \"string\",\n  \"hold\": \"hld_296645958265997313\",\n  \"metadata\": {},\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"payment_method_details\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"bin\": \"424242\",\n      \"brand\": \"visa\",\n      \"cardholder_currency\": \"usd\",\n      \"country\": \"US\",\n      \"exp_month\": \"12\",\n      \"exp_year\": \"2028\",\n      \"fingerprint\": \"fp_abc123xyz789\",\n      \"funding\": \"debit\",\n      \"last4\": \"4242\",\n      \"network\": \"visa\",\n      \"category\": \"consumer\",\n      \"security_checks\": {\n        \"address_line1_check\": \"unavailable\",\n        \"address_postal_code_check\": \"unavailable\",\n        \"cvc_check\": \"pass\"\n      },\n      \"wallet\": {\n        \"type\": \"googlepay\",\n        \"googlepay\": {\n          \"type\": \"cryptogram_3ds\",\n          \"physical_card_last4\": \"4242\"\n        },\n        \"applepay\": {\n          \"physical_card_last4\": \"4242\"\n        },\n        \"ctp\": {\n          \"physical_card_last4\": \"string\",\n          \"physical_card_bin\": \"string\",\n          \"physical_card_exp_month\": \"string\",\n          \"physical_card_exp_year\": \"string\"\n        }\n      },\n      \"token\": \"tok_card_296645958265997326\",\n      \"three_d_secure\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"version\": \"2.2.0\",\n        \"eci\": \"05\",\n        \"cardholder_info\": \"string\",\n        \"liability_shift\": true\n      },\n      \"three_ds\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"status_reason\": \"string\",\n        \"protocol_version\": \"2.2.0\",\n        \"eci\": \"02\",\n        \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n        \"liability_shift\": true,\n        \"cardholder_info\": \"string\",\n        \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n        \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n        \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n        \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n        \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n      },\n      \"payout\": \"not_available\",\n      \"name_verification\": \"match\",\n      \"partial_approval\": {\n        \"status\": \"accepted\",\n        \"amount_requested\": 10000,\n        \"amount_authorized\": 7500,\n        \"amount_charged\": 7500,\n        \"product_id\": \"prod_12345\"\n      },\n      \"name\": \"John Smith\",\n      \"issuer\": \"Chase Bank\"\n    },\n    \"cashapp\": {\n      \"cashtag\": \"$acmecustomer\",\n      \"name\": \"Jenny Rosen\"\n    },\n    \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n    \"setup_future_usage\": \"on_session\"\n  },\n  \"payment_method_options\": {\n    \"card\": {\n      \"security_checks\": {\n        \"address_line1_check\": true,\n        \"address_postal_code_check\": true,\n        \"cvv_check\": true\n      }\n    }\n  },\n  \"payment_method_types\": [\n    \"card\",\n    \"card\"\n  ],\n  \"reference\": \"order_12345\",\n  \"receipt\": null,\n  \"return_url\": \"https://example.com/checkout/complete\",\n  \"settlement_account\": \"sa_296645958265997349\",\n  \"settlement_account_details\": {\n    \"processor\": \"worldpay\",\n    \"currency\": \"usd\",\n    \"name\": \"Main USD account\",\n    \"entity\": \"ent_296645958265997352\",\n    \"entity_details\": {\n      \"legal_name\": \"Acme Inc.\",\n      \"country\": \"US\"\n    }\n  },\n  \"shipping\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"phone\": \"+14155551234\"\n  },\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"test_mode\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f3d885c9-0dc8-5278-9437-32364cac4dfe","name":"Invalid request parameters. Also returned when the payment session is not in partial approval state, the product is not found (`Product with id ... not found`), or the amount exceeds the approved amount (`Amount to confirm exceeds approved amount`).","originalRequest":{"url":{"path":["sessions","payment",":id","partial_approval","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 5000\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3a76900a-4400-5ba6-ba66-ab37add19fc9","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["sessions","payment",":id","partial_approval","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 5000\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"04001e63-3ee4-5049-b616-9a1c61db35e7","name":"Server-to-server partial approval is not enabled for your account.\n\nA 403 can also mean the key may not make this request; `code` says why.","originalRequest":{"url":{"path":["sessions","payment",":id","partial_approval","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 5000\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"aeb3461f-d364-5e58-b484-3fb9901bb520","name":"Payment session not found.","originalRequest":{"url":{"path":["sessions","payment",":id","partial_approval","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 5000\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"60bbb116-f134-5190-b25c-79fdb481662c","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["sessions","payment",":id","partial_approval","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 5000\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"360ad1b2-ef03-5a68-912b-cdda4b4d9166","name":"Internal server error.","originalRequest":{"url":{"path":["sessions","payment",":id","partial_approval","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 5000\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a1f4cc73-fd55-5896-afc6-6a1bd38dc021","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["sessions","payment",":id","partial_approval","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"ps_296645958265997318","key":"id","description":"(Required) The unique identifier of the payment session."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 5000\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"0a8e117a-0521-5bcf-bd6a-6108d5984a1b","name":"Cancel a partial approval","request":{"name":"Cancel a partial approval","description":{"content":"Cancels a partially approved charge instead of accepting the lower approved amount.\n\nOnly available when server-to-server partial approval is enabled on your account; otherwise the response is 403 (`S2S Partial approval is not enabled for this merchant`). The charge must have status `requires_partial_approval_action`.","type":"text/plain"},"url":{"path":["charges",":transaction_id","partial_approval","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null},"response":[{"id":"26979d8b-6d92-5c14-b40c-3b4574728fe2","name":"Returns the charge object.","originalRequest":{"url":{"path":["charges",":transaction_id","partial_approval","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"chrg_296645958265997312\",\n  \"resource\": \"charge\",\n  \"amount\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"amount_refunded\": 0,\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"calculated_statement_descriptor\": \"ACME * ACME STORE\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"currency\": \"usd\",\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"cashflow_transaction\": \"cflw_tx_296645958265997312\",\n  \"description\": \"Payment for Order #12345\",\n  \"disputed\": false,\n  \"failure_code\": \"string\",\n  \"failure_message\": \"string\",\n  \"metadata\": {},\n  \"paid\": true,\n  \"payment_session\": \"ps_296645958265997318\",\n  \"hold\": \"string\",\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"fraud\": true,\n  \"retry_attempts\": [\n    {\n      \"id\": \"rtratt_296645958265997312_1_1\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"type\": \"fallback\",\n      \"failure_code\": \"card_declined\",\n      \"failure_message\": \"The card was declined.\",\n      \"underlying_network_details\": {\n        \"network\": \"visa\",\n        \"visa\": {\n          \"arn\": \"74234567890123456789012\",\n          \"auth_code\": \"123456\",\n          \"raw_response_code\": \"00\",\n          \"rrn\": \"123456789012\",\n          \"eci\": \"05\",\n          \"aci\": \"Y\",\n          \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n        }\n      },\n      \"underlying_network_id\": \"74234567890123456789012\",\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      },\n      \"payment_method_options\": {\n        \"card\": {\n          \"security_checks\": {\n            \"address_line1_check\": true,\n            \"address_postal_code_check\": true,\n            \"cvv_check\": true\n          }\n        }\n      }\n    },\n    {\n      \"id\": \"rtratt_296645958265997312_1_1\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"type\": \"fallback\",\n      \"failure_code\": \"card_declined\",\n      \"failure_message\": \"The card was declined.\",\n      \"underlying_network_details\": {\n        \"network\": \"visa\",\n        \"visa\": {\n          \"arn\": \"74234567890123456789012\",\n          \"auth_code\": \"123456\",\n          \"raw_response_code\": \"00\",\n          \"rrn\": \"123456789012\",\n          \"eci\": \"05\",\n          \"aci\": \"Y\",\n          \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n        }\n      },\n      \"underlying_network_id\": \"74234567890123456789012\",\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      },\n      \"payment_method_options\": {\n        \"card\": {\n          \"security_checks\": {\n            \"address_line1_check\": true,\n            \"address_postal_code_check\": true,\n            \"cvv_check\": true\n          }\n        }\n      }\n    }\n  ],\n  \"payment_method_details\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"bin\": \"424242\",\n      \"brand\": \"visa\",\n      \"cardholder_currency\": \"usd\",\n      \"country\": \"US\",\n      \"exp_month\": \"12\",\n      \"exp_year\": \"2028\",\n      \"fingerprint\": \"fp_abc123xyz789\",\n      \"funding\": \"prepaid\",\n      \"last4\": \"4242\",\n      \"network\": \"visa\",\n      \"category\": \"business\",\n      \"security_checks\": {\n        \"address_line1_check\": \"unavailable\",\n        \"address_postal_code_check\": \"unavailable\",\n        \"cvc_check\": \"pass\"\n      },\n      \"wallet\": {\n        \"type\": \"googlepay\",\n        \"googlepay\": {\n          \"type\": \"cryptogram_3ds\",\n          \"physical_card_last4\": \"4242\"\n        },\n        \"applepay\": {\n          \"physical_card_last4\": \"4242\"\n        },\n        \"ctp\": {\n          \"physical_card_last4\": \"string\",\n          \"physical_card_bin\": \"string\",\n          \"physical_card_exp_month\": \"string\",\n          \"physical_card_exp_year\": \"string\"\n        }\n      },\n      \"token\": \"tok_card_296645958265997326\",\n      \"three_d_secure\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"version\": \"2.2.0\",\n        \"eci\": \"05\",\n        \"cardholder_info\": \"string\",\n        \"liability_shift\": true\n      },\n      \"three_ds\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"status_reason\": \"string\",\n        \"protocol_version\": \"2.2.0\",\n        \"eci\": \"02\",\n        \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n        \"liability_shift\": true,\n        \"cardholder_info\": \"string\",\n        \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n        \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n        \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n        \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n        \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n      },\n      \"payout\": \"not_available\",\n      \"name_verification\": \"match\",\n      \"partial_approval\": {\n        \"status\": \"accepted\",\n        \"amount_requested\": 10000,\n        \"amount_authorized\": 7500,\n        \"amount_charged\": 7500,\n        \"product_id\": \"prod_12345\"\n      },\n      \"name\": \"John Smith\",\n      \"issuer\": \"Chase Bank\"\n    },\n    \"cashapp\": {\n      \"cashtag\": \"$acmecustomer\",\n      \"name\": \"Jenny Rosen\"\n    },\n    \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n    \"setup_future_usage\": \"on_session\"\n  },\n  \"payment_method_options\": {\n    \"card\": {\n      \"security_checks\": {\n        \"address_line1_check\": true,\n        \"address_postal_code_check\": true,\n        \"cvv_check\": true\n      }\n    }\n  },\n  \"refunded\": false,\n  \"refunds\": {\n    \"data\": [\n      {\n        \"id\": \"rfnd_296645958265997314\",\n        \"resource\": \"refund\",\n        \"amount\": 10000,\n        \"amount_human_readable\": \"100.00\",\n        \"charge\": \"chrg_296645958265997312\",\n        \"created\": \"2024-01-15T10:30:00Z\",\n        \"currency\": \"usd\",\n        \"customer\": \"cust_296645958265997317\",\n        \"customer_reference_id\": \"cust_ext_abc123\",\n        \"metadata\": {},\n        \"reference\": \"refund_order_12345\",\n        \"status\": \"succeeded\",\n        \"failure_code\": \"string\",\n        \"failure_message\": \"string\",\n        \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n        \"test_mode\": true,\n        \"underlying_network_id\": \"123456789012345\",\n        \"underlying_network_details\": {\n          \"network\": \"visa\",\n          \"visa\": {\n            \"arn\": \"74234567890123456789012\",\n            \"auth_code\": \"123456\",\n            \"raw_response_code\": \"00\",\n            \"rrn\": \"123456789012\",\n            \"eci\": \"05\",\n            \"aci\": \"Y\",\n            \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n          }\n        },\n        \"underlying_processing_details\": {\n          \"processor\": \"stripe\",\n          \"transaction_id\": \"pi_abc123xyz789\",\n          \"settlement_account\": \"sa_296645958265997349\",\n          \"settlement_account_details\": {\n            \"processor\": \"pay_com\",\n            \"currency\": \"usd\",\n            \"name\": \"Main Settlement Account\",\n            \"entity\": \"ent_296645958265997359\",\n            \"entity_details\": {\n              \"legal_name\": \"ACME Corp\",\n              \"country\": \"US\"\n            }\n          }\n        },\n        \"risk_assessment_details\": {\n          \"outcome\": \"allow\",\n          \"outcome_source\": \"score\",\n          \"rule_id\": \"rl_296645958265997337\",\n          \"rules_id\": [\n            \"rl_296645958265997337\"\n          ],\n          \"score\": \"31\",\n          \"flags\": [\n            \"no_correlation_history\",\n            \"multiple_identities_billing\",\n            \"multiple_identities_card\",\n            \"free_email_provider\",\n            \"risky_billing_time\",\n            \"velocity_multiple_addresses\",\n            \"velocity_multiple_names\"\n          ]\n        },\n        \"receipt\": null,\n        \"tax_details\": {\n          \"amount_total\": 825,\n          \"tax_behavior\": \"exclusive\",\n          \"tax_quote\": \"txq_296645958265997339\",\n          \"effective_tax_rate\": \"8.25\",\n          \"tax_transaction\": null\n        }\n      },\n      {\n        \"id\": \"rfnd_296645958265997314\",\n        \"resource\": \"refund\",\n        \"amount\": 10000,\n        \"amount_human_readable\": \"100.00\",\n        \"charge\": \"chrg_296645958265997312\",\n        \"created\": \"2024-01-15T10:30:00Z\",\n        \"currency\": \"usd\",\n        \"customer\": \"cust_296645958265997317\",\n        \"customer_reference_id\": \"cust_ext_abc123\",\n        \"metadata\": {},\n        \"reference\": \"refund_order_12345\",\n        \"status\": \"succeeded\",\n        \"failure_code\": \"string\",\n        \"failure_message\": \"string\",\n        \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n        \"test_mode\": false,\n        \"underlying_network_id\": \"123456789012345\",\n        \"underlying_network_details\": {\n          \"network\": \"visa\",\n          \"visa\": {\n            \"arn\": \"74234567890123456789012\",\n            \"auth_code\": \"123456\",\n            \"raw_response_code\": \"00\",\n            \"rrn\": \"123456789012\",\n            \"eci\": \"05\",\n            \"aci\": \"Y\",\n            \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n          }\n        },\n        \"underlying_processing_details\": {\n          \"processor\": \"stripe\",\n          \"transaction_id\": \"pi_abc123xyz789\",\n          \"settlement_account\": \"sa_296645958265997349\",\n          \"settlement_account_details\": {\n            \"processor\": \"pay_com\",\n            \"currency\": \"usd\",\n            \"name\": \"Main Settlement Account\",\n            \"entity\": \"ent_296645958265997359\",\n            \"entity_details\": {\n              \"legal_name\": \"ACME Corp\",\n              \"country\": \"US\"\n            }\n          }\n        },\n        \"risk_assessment_details\": {\n          \"outcome\": \"allow\",\n          \"outcome_source\": \"score\",\n          \"rule_id\": \"rl_296645958265997337\",\n          \"rules_id\": [\n            \"rl_296645958265997337\"\n          ],\n          \"score\": \"31\",\n          \"flags\": [\n            \"no_correlation_history\",\n            \"multiple_identities_billing\",\n            \"multiple_identities_card\",\n            \"free_email_provider\",\n            \"risky_billing_time\",\n            \"velocity_multiple_addresses\",\n            \"velocity_multiple_names\"\n          ]\n        },\n        \"receipt\": null,\n        \"tax_details\": {\n          \"amount_total\": 825,\n          \"tax_behavior\": \"exclusive\",\n          \"tax_quote\": \"txq_296645958265997339\",\n          \"effective_tax_rate\": \"8.25\",\n          \"tax_transaction\": null\n        }\n      }\n    ],\n    \"url\": \"/v1/charges/chrg_296645958265997312/refunds\"\n  },\n  \"reference\": \"order_12345\",\n  \"shipping\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"phone\": \"+14155551234\"\n  },\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"status\": \"blocked\",\n  \"underlying_network_details\": {\n    \"network\": \"visa\",\n    \"visa\": {\n      \"arn\": \"74234567890123456789012\",\n      \"auth_code\": \"123456\",\n      \"raw_response_code\": \"00\",\n      \"rrn\": \"123456789012\",\n      \"eci\": \"05\",\n      \"aci\": \"Y\",\n      \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n    }\n  },\n  \"underlying_network_id\": \"123456789012345\",\n  \"risk_assessment_details\": {\n    \"outcome\": \"allow\",\n    \"outcome_source\": \"score\",\n    \"rule_id\": \"rl_296645958265997337\",\n    \"rules_id\": [\n      \"rl_296645958265997337\"\n    ],\n    \"score\": \"31\",\n    \"flags\": [\n      \"no_correlation_history\",\n      \"multiple_identities_billing\",\n      \"multiple_identities_card\",\n      \"free_email_provider\",\n      \"risky_billing_time\",\n      \"velocity_multiple_addresses\",\n      \"velocity_multiple_names\"\n    ]\n  },\n  \"test_mode\": false,\n  \"receipt\": null,\n  \"underlying_processing_details\": {\n    \"processor\": \"stripe\",\n    \"transaction_id\": \"pi_abc123xyz789\",\n    \"settlement_account\": \"sa_296645958265997349\",\n    \"settlement_account_details\": {\n      \"processor\": \"pay_com\",\n      \"currency\": \"usd\",\n      \"name\": \"Main Settlement Account\",\n      \"entity\": \"ent_296645958265997359\",\n      \"entity_details\": {\n        \"legal_name\": \"ACME Corp\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"tax_details\": {\n    \"amount_total\": 825,\n    \"tax_behavior\": \"exclusive\",\n    \"tax_quote\": \"txq_296645958265997339\",\n    \"effective_tax_rate\": \"8.25\",\n    \"tax_transaction\": null\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4f9f67d4-f4b2-5ef7-9e1d-add1109a4fb4","name":"Invalid request parameters. Also returned when the charge is not in partial approval state, or does not allow it.","originalRequest":{"url":{"path":["charges",":transaction_id","partial_approval","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"554db68b-2019-5d3b-b473-e9c5b5084f8e","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["charges",":transaction_id","partial_approval","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9139ff38-763f-5c05-933c-51d9f565c1a8","name":"Server-to-server partial approval is not enabled for your account.\n\nA 403 can also mean the key may not make this request; `code` says why.","originalRequest":{"url":{"path":["charges",":transaction_id","partial_approval","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7185b2b3-2f0c-5bac-9ca7-fbfb78be82c8","name":"Charge not found.","originalRequest":{"url":{"path":["charges",":transaction_id","partial_approval","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"91d8db14-6d00-52a7-a7d4-cf3c3be78ecd","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["charges",":transaction_id","partial_approval","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0c363785-8892-5cf3-bd19-1df931163759","name":"Internal server error.","originalRequest":{"url":{"path":["charges",":transaction_id","partial_approval","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0c77ad01-3c45-5378-975e-592320c1e305","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["charges",":transaction_id","partial_approval","cancel"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c7eeadf9-dc47-506a-938e-c44b1ba1db7a","name":"Confirm a partial approval","request":{"name":"Confirm a partial approval","description":{"content":"Confirms a partially approved charge for the approved amount, or for a lower `amount` or a predefined product.\n\nOnly available when server-to-server partial approval is enabled on your account; otherwise the response is 403 (`S2S Partial approval is not enabled for this merchant`). The charge must have status `requires_partial_approval_action`.","type":"text/plain"},"url":{"path":["charges",":transaction_id","partial_approval","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"amount\": 5000\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"d82bd41d-26c2-529c-a93b-168ab0dbf129","name":"Returns the charge object.","originalRequest":{"url":{"path":["charges",":transaction_id","partial_approval","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 5000\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"chrg_296645958265997312\",\n  \"resource\": \"charge\",\n  \"amount\": 10000,\n  \"amount_human_readable\": \"100.00\",\n  \"amount_refunded\": 0,\n  \"billing_details\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"email\": \"john.smith@example.com\",\n    \"phone\": \"+14155551234\",\n    \"dob\": \"1985-07-15\",\n    \"national_identification_number\": \"123-45-6789\"\n  },\n  \"calculated_statement_descriptor\": \"ACME * ACME STORE\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"currency\": \"usd\",\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"cashflow_transaction\": \"cflw_tx_296645958265997312\",\n  \"description\": \"Payment for Order #12345\",\n  \"disputed\": false,\n  \"failure_code\": \"string\",\n  \"failure_message\": \"string\",\n  \"metadata\": {},\n  \"paid\": true,\n  \"payment_session\": \"ps_296645958265997318\",\n  \"hold\": \"string\",\n  \"payment_method\": \"pm_card_296645958265997316\",\n  \"fraud\": true,\n  \"retry_attempts\": [\n    {\n      \"id\": \"rtratt_296645958265997312_1_1\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"type\": \"fallback\",\n      \"failure_code\": \"card_declined\",\n      \"failure_message\": \"The card was declined.\",\n      \"underlying_network_details\": {\n        \"network\": \"visa\",\n        \"visa\": {\n          \"arn\": \"74234567890123456789012\",\n          \"auth_code\": \"123456\",\n          \"raw_response_code\": \"00\",\n          \"rrn\": \"123456789012\",\n          \"eci\": \"05\",\n          \"aci\": \"Y\",\n          \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n        }\n      },\n      \"underlying_network_id\": \"74234567890123456789012\",\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      },\n      \"payment_method_options\": {\n        \"card\": {\n          \"security_checks\": {\n            \"address_line1_check\": true,\n            \"address_postal_code_check\": true,\n            \"cvv_check\": true\n          }\n        }\n      }\n    },\n    {\n      \"id\": \"rtratt_296645958265997312_1_1\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"type\": \"fallback\",\n      \"failure_code\": \"card_declined\",\n      \"failure_message\": \"The card was declined.\",\n      \"underlying_network_details\": {\n        \"network\": \"visa\",\n        \"visa\": {\n          \"arn\": \"74234567890123456789012\",\n          \"auth_code\": \"123456\",\n          \"raw_response_code\": \"00\",\n          \"rrn\": \"123456789012\",\n          \"eci\": \"05\",\n          \"aci\": \"Y\",\n          \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n        }\n      },\n      \"underlying_network_id\": \"74234567890123456789012\",\n      \"underlying_processing_details\": {\n        \"processor\": \"stripe\",\n        \"transaction_id\": \"pi_abc123xyz789\",\n        \"settlement_account\": \"sa_296645958265997349\",\n        \"settlement_account_details\": {\n          \"processor\": \"pay_com\",\n          \"currency\": \"usd\",\n          \"name\": \"Main Settlement Account\",\n          \"entity\": \"ent_296645958265997359\",\n          \"entity_details\": {\n            \"legal_name\": \"ACME Corp\",\n            \"country\": \"US\"\n          }\n        }\n      },\n      \"payment_method_options\": {\n        \"card\": {\n          \"security_checks\": {\n            \"address_line1_check\": true,\n            \"address_postal_code_check\": true,\n            \"cvv_check\": true\n          }\n        }\n      }\n    }\n  ],\n  \"payment_method_details\": {\n    \"type\": \"card\",\n    \"card\": {\n      \"bin\": \"424242\",\n      \"brand\": \"visa\",\n      \"cardholder_currency\": \"usd\",\n      \"country\": \"US\",\n      \"exp_month\": \"12\",\n      \"exp_year\": \"2028\",\n      \"fingerprint\": \"fp_abc123xyz789\",\n      \"funding\": \"prepaid\",\n      \"last4\": \"4242\",\n      \"network\": \"visa\",\n      \"category\": \"business\",\n      \"security_checks\": {\n        \"address_line1_check\": \"unavailable\",\n        \"address_postal_code_check\": \"unavailable\",\n        \"cvc_check\": \"pass\"\n      },\n      \"wallet\": {\n        \"type\": \"googlepay\",\n        \"googlepay\": {\n          \"type\": \"cryptogram_3ds\",\n          \"physical_card_last4\": \"4242\"\n        },\n        \"applepay\": {\n          \"physical_card_last4\": \"4242\"\n        },\n        \"ctp\": {\n          \"physical_card_last4\": \"string\",\n          \"physical_card_bin\": \"string\",\n          \"physical_card_exp_month\": \"string\",\n          \"physical_card_exp_year\": \"string\"\n        }\n      },\n      \"token\": \"tok_card_296645958265997326\",\n      \"three_d_secure\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"version\": \"2.2.0\",\n        \"eci\": \"05\",\n        \"cardholder_info\": \"string\",\n        \"liability_shift\": true\n      },\n      \"three_ds\": {\n        \"authentication_flow\": \"challenge\",\n        \"result\": \"success\",\n        \"result_reason\": \"authenticated\",\n        \"status_reason\": \"string\",\n        \"protocol_version\": \"2.2.0\",\n        \"eci\": \"02\",\n        \"cryptogram\": \"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\",\n        \"liability_shift\": true,\n        \"cardholder_info\": \"string\",\n        \"acs_transaction_id\": \"f43f659d-f5b3-48ca-b375-cda2f7c51b8c\",\n        \"three_ds_server_transaction_id\": \"9274c344-2fdf-4be8-a1d8-941e0944d0f2\",\n        \"ds_transaction_id\": \"a1b10a96-d03b-416e-b80a-d16894e7c9c5\",\n        \"ares\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"ARes\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"acsReferenceNumber\\\":\\\"3DS_LOA_ACS_MOMD_020200_00332\\\",\\\"acsURL\\\":\\\"https://acs2.swedbank.se/mdpayacs/creq\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"acsChallengeMandated\\\":\\\"N\\\",\\\"dsReferenceNumber\\\":\\\"3DS_LOA_DIS_MAST_020301_00931\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"C\\\",\\\"acsOperatorID\\\":\\\"ACS-V210-MODIRUM_OÜ-42496\\\"}\",\n        \"rreq\": \"{\\\"messageVersion\\\":\\\"2.2.0\\\",\\\"messageType\\\":\\\"RReq\\\",\\\"acsTransID\\\":\\\"e87e38d4-bdea-4490-a67f-c71438379b3d\\\",\\\"authenticationType\\\":\\\"03\\\",\\\"authenticationValue\\\":\\\"kBMHHbJSZISD+A/IX6Ic4ZeBcdmC\\\",\\\"dsTransID\\\":\\\"b27790e7-e79e-478c-989a-ca808ebea1d0\\\",\\\"threeDSServerTransID\\\":\\\"16e015d2-3413-4fe5-8b1e-29de15e1300e\\\",\\\"transStatus\\\":\\\"Y\\\",\\\"interactionCounter\\\":\\\"00\\\",\\\"eci\\\":\\\"02\\\",\\\"messageCategory\\\":\\\"01\\\"}\"\n      },\n      \"payout\": \"not_available\",\n      \"name_verification\": \"match\",\n      \"partial_approval\": {\n        \"status\": \"accepted\",\n        \"amount_requested\": 10000,\n        \"amount_authorized\": 7500,\n        \"amount_charged\": 7500,\n        \"product_id\": \"prod_12345\"\n      },\n      \"name\": \"John Smith\",\n      \"issuer\": \"Chase Bank\"\n    },\n    \"cashapp\": {\n      \"cashtag\": \"$acmecustomer\",\n      \"name\": \"Jenny Rosen\"\n    },\n    \"reference\": \"card_1OfSQcB6FTYroegbKHEHHYkm\",\n    \"setup_future_usage\": \"on_session\"\n  },\n  \"payment_method_options\": {\n    \"card\": {\n      \"security_checks\": {\n        \"address_line1_check\": true,\n        \"address_postal_code_check\": true,\n        \"cvv_check\": true\n      }\n    }\n  },\n  \"refunded\": false,\n  \"refunds\": {\n    \"data\": [\n      {\n        \"id\": \"rfnd_296645958265997314\",\n        \"resource\": \"refund\",\n        \"amount\": 10000,\n        \"amount_human_readable\": \"100.00\",\n        \"charge\": \"chrg_296645958265997312\",\n        \"created\": \"2024-01-15T10:30:00Z\",\n        \"currency\": \"usd\",\n        \"customer\": \"cust_296645958265997317\",\n        \"customer_reference_id\": \"cust_ext_abc123\",\n        \"metadata\": {},\n        \"reference\": \"refund_order_12345\",\n        \"status\": \"succeeded\",\n        \"failure_code\": \"string\",\n        \"failure_message\": \"string\",\n        \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n        \"test_mode\": true,\n        \"underlying_network_id\": \"123456789012345\",\n        \"underlying_network_details\": {\n          \"network\": \"visa\",\n          \"visa\": {\n            \"arn\": \"74234567890123456789012\",\n            \"auth_code\": \"123456\",\n            \"raw_response_code\": \"00\",\n            \"rrn\": \"123456789012\",\n            \"eci\": \"05\",\n            \"aci\": \"Y\",\n            \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n          }\n        },\n        \"underlying_processing_details\": {\n          \"processor\": \"stripe\",\n          \"transaction_id\": \"pi_abc123xyz789\",\n          \"settlement_account\": \"sa_296645958265997349\",\n          \"settlement_account_details\": {\n            \"processor\": \"pay_com\",\n            \"currency\": \"usd\",\n            \"name\": \"Main Settlement Account\",\n            \"entity\": \"ent_296645958265997359\",\n            \"entity_details\": {\n              \"legal_name\": \"ACME Corp\",\n              \"country\": \"US\"\n            }\n          }\n        },\n        \"risk_assessment_details\": {\n          \"outcome\": \"allow\",\n          \"outcome_source\": \"score\",\n          \"rule_id\": \"rl_296645958265997337\",\n          \"rules_id\": [\n            \"rl_296645958265997337\"\n          ],\n          \"score\": \"31\",\n          \"flags\": [\n            \"no_correlation_history\",\n            \"multiple_identities_billing\",\n            \"multiple_identities_card\",\n            \"free_email_provider\",\n            \"risky_billing_time\",\n            \"velocity_multiple_addresses\",\n            \"velocity_multiple_names\"\n          ]\n        },\n        \"receipt\": null,\n        \"tax_details\": {\n          \"amount_total\": 825,\n          \"tax_behavior\": \"exclusive\",\n          \"tax_quote\": \"txq_296645958265997339\",\n          \"effective_tax_rate\": \"8.25\",\n          \"tax_transaction\": null\n        }\n      },\n      {\n        \"id\": \"rfnd_296645958265997314\",\n        \"resource\": \"refund\",\n        \"amount\": 10000,\n        \"amount_human_readable\": \"100.00\",\n        \"charge\": \"chrg_296645958265997312\",\n        \"created\": \"2024-01-15T10:30:00Z\",\n        \"currency\": \"usd\",\n        \"customer\": \"cust_296645958265997317\",\n        \"customer_reference_id\": \"cust_ext_abc123\",\n        \"metadata\": {},\n        \"reference\": \"refund_order_12345\",\n        \"status\": \"succeeded\",\n        \"failure_code\": \"string\",\n        \"failure_message\": \"string\",\n        \"cashflow_transaction\": \"cflw_tx_296645958265997333\",\n        \"test_mode\": false,\n        \"underlying_network_id\": \"123456789012345\",\n        \"underlying_network_details\": {\n          \"network\": \"visa\",\n          \"visa\": {\n            \"arn\": \"74234567890123456789012\",\n            \"auth_code\": \"123456\",\n            \"raw_response_code\": \"00\",\n            \"rrn\": \"123456789012\",\n            \"eci\": \"05\",\n            \"aci\": \"Y\",\n            \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n          }\n        },\n        \"underlying_processing_details\": {\n          \"processor\": \"stripe\",\n          \"transaction_id\": \"pi_abc123xyz789\",\n          \"settlement_account\": \"sa_296645958265997349\",\n          \"settlement_account_details\": {\n            \"processor\": \"pay_com\",\n            \"currency\": \"usd\",\n            \"name\": \"Main Settlement Account\",\n            \"entity\": \"ent_296645958265997359\",\n            \"entity_details\": {\n              \"legal_name\": \"ACME Corp\",\n              \"country\": \"US\"\n            }\n          }\n        },\n        \"risk_assessment_details\": {\n          \"outcome\": \"allow\",\n          \"outcome_source\": \"score\",\n          \"rule_id\": \"rl_296645958265997337\",\n          \"rules_id\": [\n            \"rl_296645958265997337\"\n          ],\n          \"score\": \"31\",\n          \"flags\": [\n            \"no_correlation_history\",\n            \"multiple_identities_billing\",\n            \"multiple_identities_card\",\n            \"free_email_provider\",\n            \"risky_billing_time\",\n            \"velocity_multiple_addresses\",\n            \"velocity_multiple_names\"\n          ]\n        },\n        \"receipt\": null,\n        \"tax_details\": {\n          \"amount_total\": 825,\n          \"tax_behavior\": \"exclusive\",\n          \"tax_quote\": \"txq_296645958265997339\",\n          \"effective_tax_rate\": \"8.25\",\n          \"tax_transaction\": null\n        }\n      }\n    ],\n    \"url\": \"/v1/charges/chrg_296645958265997312/refunds\"\n  },\n  \"reference\": \"order_12345\",\n  \"shipping\": {\n    \"address\": {\n      \"city\": \"San Francisco\",\n      \"country\": \"US\",\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"postal_code\": \"94102\",\n      \"state\": \"CA\"\n    },\n    \"name\": \"John Smith\",\n    \"phone\": \"+14155551234\"\n  },\n  \"statement_descriptor_suffix\": \"ACME STORE\",\n  \"status\": \"blocked\",\n  \"underlying_network_details\": {\n    \"network\": \"visa\",\n    \"visa\": {\n      \"arn\": \"74234567890123456789012\",\n      \"auth_code\": \"123456\",\n      \"raw_response_code\": \"00\",\n      \"rrn\": \"123456789012\",\n      \"eci\": \"05\",\n      \"aci\": \"Y\",\n      \"payment_account_reference\": \"ABCD1234567890123456789012345\"\n    }\n  },\n  \"underlying_network_id\": \"123456789012345\",\n  \"risk_assessment_details\": {\n    \"outcome\": \"allow\",\n    \"outcome_source\": \"score\",\n    \"rule_id\": \"rl_296645958265997337\",\n    \"rules_id\": [\n      \"rl_296645958265997337\"\n    ],\n    \"score\": \"31\",\n    \"flags\": [\n      \"no_correlation_history\",\n      \"multiple_identities_billing\",\n      \"multiple_identities_card\",\n      \"free_email_provider\",\n      \"risky_billing_time\",\n      \"velocity_multiple_addresses\",\n      \"velocity_multiple_names\"\n    ]\n  },\n  \"test_mode\": false,\n  \"receipt\": null,\n  \"underlying_processing_details\": {\n    \"processor\": \"stripe\",\n    \"transaction_id\": \"pi_abc123xyz789\",\n    \"settlement_account\": \"sa_296645958265997349\",\n    \"settlement_account_details\": {\n      \"processor\": \"pay_com\",\n      \"currency\": \"usd\",\n      \"name\": \"Main Settlement Account\",\n      \"entity\": \"ent_296645958265997359\",\n      \"entity_details\": {\n        \"legal_name\": \"ACME Corp\",\n        \"country\": \"US\"\n      }\n    }\n  },\n  \"tax_details\": {\n    \"amount_total\": 825,\n    \"tax_behavior\": \"exclusive\",\n    \"tax_quote\": \"txq_296645958265997339\",\n    \"effective_tax_rate\": \"8.25\",\n    \"tax_transaction\": null\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"62ea81b0-09f2-5c0a-b53b-6770dfa99dd4","name":"Invalid request parameters. Also returned when the charge is not in partial approval state, the product is not found (`Product with id ... not found`), or the amount exceeds the approved amount (`Amount to confirm exceeds approved amount`).","originalRequest":{"url":{"path":["charges",":transaction_id","partial_approval","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 5000\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ac2dc340-0034-5dbf-913f-cdcbcc3e7f83","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["charges",":transaction_id","partial_approval","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 5000\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6a7f7823-3cb3-5d41-bcbe-d510e5895d06","name":"Server-to-server partial approval is not enabled for your account.\n\nA 403 can also mean the key may not make this request; `code` says why.","originalRequest":{"url":{"path":["charges",":transaction_id","partial_approval","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 5000\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4564f3b4-da6f-50c7-acc9-a25d1d5e5549","name":"Charge not found.","originalRequest":{"url":{"path":["charges",":transaction_id","partial_approval","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 5000\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bee39daf-3c69-5db3-bd3f-6bda742958eb","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["charges",":transaction_id","partial_approval","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 5000\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0a70f44c-f19d-51cf-a054-53a339ed64c1","name":"Internal server error.","originalRequest":{"url":{"path":["charges",":transaction_id","partial_approval","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 5000\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"dd89a2c3-43c0-573d-b13e-ad6326867379","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["charges",":transaction_id","partial_approval","confirm"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"chrg_296645958265997312","key":"transaction_id","description":"(Required) Transaction ID that matches the \"^chrg_\\d{18,20}$\" pattern."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"amount\": 5000\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"8fc9ab74-2d08-54c6-80f5-c6c2c1670bfe","name":"NetworkTokens","description":{"content":"Retrieve and manage network tokens for payment methods.","type":"text/plain"},"item":[{"id":"b2a06dc5-37d4-57a3-a83d-b21467960c05","name":"Retrieve a network token","request":{"name":"Retrieve a network token","description":{"content":"Retrieves the network token of a payment method.","type":"text/plain"},"url":{"path":["payment_methods",":payment_method_id","network_token"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"0b7280f2-4ab2-5cdb-99cd-f243484fcdcc","name":"Returns the network token object.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id","network_token"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"ntok_296645958265997345\",\n  \"resource\": \"network_token\",\n  \"number\": \"4111111111111111\",\n  \"exp_month\": \"12\",\n  \"exp_year\": \"2028\",\n  \"payment_account_reference\": \"ABCD1234567890123456789012345\",\n  \"token_service\": \"vts\",\n  \"requestor_id\": \"40012345678\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3339a48e-a638-5f1e-9154-ce4cad8db77a","name":"Invalid request parameters.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id","network_token"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"75a45848-5509-5dbe-883c-5ff2310c16f0","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["payment_methods",":payment_method_id","network_token"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"933299e5-ee7e-5ea5-b338-cc9ce54229e8","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id","network_token"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"53b585cb-0675-5f44-a4ac-7454724684a5","name":"Payment method not found.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id","network_token"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"db54c355-2180-5180-a9f2-7f84e2480796","name":"Internal server error.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id","network_token"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1f815c68-6402-546a-96d1-1ea8502f6fe6","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id","network_token"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"96c158ae-ad92-522d-a8c5-075e88f8a7db","name":"Retrieve a network token cryptogram","request":{"name":"Retrieve a network token cryptogram","description":{"content":"Retrieves the network token cryptogram of a payment method.","type":"text/plain"},"url":{"path":["payment_methods",":payment_method_id","network_token","cryptogram"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"5a38111b-a2d1-5ac8-8a92-b5145385ce8e","name":"Returns the network token cryptogram object.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id","network_token","cryptogram"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"cryptogram_296645958265997345\",\n  \"resource\": \"cryptogram\",\n  \"cryptogram\": \"AgAAAAAAAIR8CQrXcIhbQAAAAAA=\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f272ca02-da5d-5a23-8933-693f7b5d84a7","name":"Invalid request parameters.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id","network_token","cryptogram"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"89edb6fb-8e0f-5fe5-9e06-4068968bf4f2","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["payment_methods",":payment_method_id","network_token","cryptogram"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ca7866d4-6b75-582a-b4f1-c936ed42ce62","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id","network_token","cryptogram"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"974691d1-f6c9-5e18-b842-b44f927bf168","name":"Payment method not found.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id","network_token","cryptogram"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8ae65517-5f97-5f51-aa98-9a17a18e164b","name":"Internal server error.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id","network_token","cryptogram"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c8d3c40e-0921-5ff7-880a-28bde1d35d16","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["payment_methods",":payment_method_id","network_token","cryptogram"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"pm_card_296645958265997316","key":"payment_method_id","description":"(Required) The identifier of the payment method."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"17998340-fc34-5d7c-8e7f-98c7ba2f635d","name":"ApplePaySessions","description":{"content":"Create Apple Pay sessions for merchant validation.","type":"text/plain"},"item":[{"id":"de812e7e-6d89-5677-bea3-3e0570d7c83a","name":"Create an Apple Pay session","request":{"name":"Create an Apple Pay session","description":{"content":"Creates an Apple Pay session for merchant validation. Returns session data required for Apple Pay web payments.","type":"text/plain"},"url":{"path":["sessions","applepay"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"domain\": \"example.com\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"f9f15ecf-6ba5-57b5-b628-898839e42c5d","name":"Returns the Apple Pay session object.","originalRequest":{"url":{"path":["sessions","applepay"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"domain\": \"example.com\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"displayName\": \"ACME Corp\",\n  \"domainName\": \"example.com\",\n  \"epochTimestamp\": 1705312200000,\n  \"expiresAt\": 1705315800000,\n  \"merchantSessionIdentifier\": \"SSH1A2B3C4D5E6F7G8H9I0\",\n  \"nonce\": \"abc123def456\",\n  \"signature\": \"base64encodedSignature...\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9ed1508d-08b1-5d54-b188-ba09e6ad893d","name":"Invalid request parameters, or Apple rejected the merchant validation (for example because the domain is not registered). Errors returned by Apple are passed through with their own status code, so other 4xx codes are possible.","originalRequest":{"url":{"path":["sessions","applepay"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"domain\": \"example.com\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a70005ff-323a-57dc-997b-d6a7aab80fbf","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["sessions","applepay"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"domain\": \"example.com\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5266dfad-c7e2-5bf9-863d-a2ecf595234b","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["sessions","applepay"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"domain\": \"example.com\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fac48df1-53dd-5274-a324-54a502cf4042","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["sessions","applepay"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"domain\": \"example.com\"\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4630ba40-771a-576f-9663-523b85a3b979","name":"Internal server error.","originalRequest":{"url":{"path":["sessions","applepay"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"domain\": \"example.com\"\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5065979c-eeba-593c-b853-da14d098b6f8","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["sessions","applepay"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"domain\": \"example.com\"\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"2455e814-80aa-587f-914a-bf3fe9f8826c","name":"TokenizationSessions","description":{"content":"Create tokenization sessions for secure card collection.","type":"text/plain"},"item":[{"id":"af515d93-34cf-572c-8b4a-bcb8efd19f3a","name":"Create a tokenization session","request":{"name":"Create a tokenization session","description":{"content":"Creates a tokenization session for securely collecting card details client-side.","type":"text/plain"},"url":{"path":["sessions","tokenization"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null},"response":[{"id":"864ea1de-5d06-5f1a-ac92-ecbba6235a36","name":"Returns the created tokenization session object.","originalRequest":{"url":{"path":["sessions","tokenization"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"ts_296645958265997342\",\n  \"resource\": \"tokenization_session\",\n  \"client_secret\": \"REDACTED\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c3d42cbb-c43e-5a06-aa73-6ba7a97739ff","name":"Invalid request parameters.","originalRequest":{"url":{"path":["sessions","tokenization"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a34b988f-8d64-53d0-9532-282706409399","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["sessions","tokenization"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"06aa55fa-15c1-56e1-87b9-b5c66431ace5","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["sessions","tokenization"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"325c08f3-9420-5a83-af0d-adaaabaff140","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["sessions","tokenization"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"55aaa887-5361-50ce-abc1-492c76d4f012","name":"Internal server error.","originalRequest":{"url":{"path":["sessions","tokenization"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"df369318-375e-5586-9262-cb728ebf23b3","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["sessions","tokenization"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"a72d8c20-d61c-5431-9dea-f3d1240388e4","name":"PaymentMethodDomains","description":{"content":"Register and manage the domains where you offer Apple Pay on the web.","type":"text/plain"},"item":[{"id":"bbc003e1-e3a6-5dec-93bb-4db4c1d08b0c","name":"List payment method domains","request":{"name":"List payment method domains","description":{"content":"Retrieves the list of domains registered for Apple Pay on the web. The list is read from Apple; errors returned by Apple are passed through as 400 responses.","type":"text/plain"},"url":{"path":["payment_method_domains"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"b1a2f5ec-dd64-53d5-8f85-248a8e859893","name":"Returns a list of payment method domain objects.","originalRequest":{"url":{"path":["payment_method_domains"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"resource\": \"payment_method_domains\",\n  \"domain_names\": [\n    \"example.com\",\n    \"shop.example.com\"\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ab4d2288-0073-5706-bfed-67afe952e302","name":"Invalid request parameters, or Apple returned an error (for example when your merchant is not registered with Apple Pay).","originalRequest":{"url":{"path":["payment_method_domains"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c632b7f3-02b9-5cd7-bf7d-9cbef5bf1f08","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["payment_method_domains"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a5f26a44-acbb-5254-b9e1-522196d7bc06","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["payment_method_domains"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"61094270-cefe-5105-999a-d5fde044a80e","name":"Internal server error.","originalRequest":{"url":{"path":["payment_method_domains"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d8aadc77-2493-5775-82c8-f61f56367661","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["payment_method_domains"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"4b9144d6-bea8-56e2-b8ef-d004c776fb5b","name":"Register a payment method domain","request":{"name":"Register a payment method domain","description":{"content":"Registers a payment method domain.","type":"text/plain"},"url":{"path":["payment_method_domains","register"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"domain_names\": [\n    \"example.com\"\n  ]\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"90f62a04-be0c-5522-8c9e-ff151b951d55","name":"Domain registered successfully.","originalRequest":{"url":{"path":["payment_method_domains","register"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"}],"method":"POST","body":{}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"7b6d7d4e-07da-5d7c-a057-666266318b1e","name":"Invalid request parameters.","originalRequest":{"url":{"path":["payment_method_domains","register"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4e25296f-2c70-5e56-8c30-343c740de8aa","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["payment_method_domains","register"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6ab336bc-fc3b-5d0c-a906-20e849f98858","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["payment_method_domains","register"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3436d079-b805-5b41-84b4-55d4875e7d6d","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["payment_method_domains","register"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"897c900d-b64d-5e21-b553-5e86868dce57","name":"Internal server error.","originalRequest":{"url":{"path":["payment_method_domains","register"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c7c0e511-ce57-541b-9ac9-7b1c09ed624b","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["payment_method_domains","register"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"74b168ae-76df-5d65-8fe8-00ab75028ff7","name":"Unregister a payment method domain","request":{"name":"Unregister a payment method domain","description":{"content":"Unregisters a payment method domain.","type":"text/plain"},"url":{"path":["payment_method_domains","unregister"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"domain_names\": [\n    \"example.com\"\n  ],\n  \"reason\": \"Domain no longer in use.\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"8270c3e7-3473-5b9b-a90c-35316cf3f608","name":"Payment method domains unregistered successfully.","originalRequest":{"url":{"path":["payment_method_domains","unregister"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"}],"method":"POST","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"a63cbe8d-e322-5641-b5b7-28c4e0297ec5","name":"Invalid request parameters.","originalRequest":{"url":{"path":["payment_method_domains","unregister"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f32ee942-9fb4-5bb0-9bf4-b038f32a2108","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["payment_method_domains","unregister"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6e8e0417-9f47-50e7-ac0e-bee0754cc8c9","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["payment_method_domains","unregister"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"638c29b8-f938-519a-98d5-cd5d293b78fe","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["payment_method_domains","unregister"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"10115b47-598e-5e01-ace8-532afcab63f6","name":"Internal server error.","originalRequest":{"url":{"path":["payment_method_domains","unregister"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2f99ecdf-9788-5030-8f3f-f901ee6f0db5","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["payment_method_domains","unregister"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"586a793c-08a2-56e3-bc1f-0ac7b2d10916","name":"Documents","description":{"content":"Upload and manage documents used as dispute evidence. Only dispute evidence documents can be created and retrieved through the API.","type":"text/plain"},"item":[{"id":"55529155-4e6b-54ce-8cb7-4e26bdfe5d15","name":"Create a document","request":{"name":"Create a document","description":{"content":"Creates a new dispute evidence document record with status `created`. Then upload the file with `POST /documents/{document_id}/upload`; the upload body must be exactly `content_length` bytes.","type":"text/plain"},"url":{"path":["documents"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"filename\": \"receipt.pdf\",\n  \"reference\": \"order_12345\",\n  \"content_type\": \"application/pdf\",\n  \"content_length\": 102400,\n  \"title\": \"Order Receipt\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"dca3915e-743b-59e4-a6ff-e0ff194411fd","name":"Returns the created document object.","originalRequest":{"url":{"path":["documents"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"filename\": \"receipt.pdf\",\n  \"reference\": \"order_12345\",\n  \"content_type\": \"application/pdf\",\n  \"content_length\": 102400,\n  \"title\": \"Order Receipt\"\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"doc_296645958265997322\",\n  \"resource\": \"document\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"filename\": \"receipt.pdf\",\n  \"reference\": \"order_12345\",\n  \"status\": \"created\",\n  \"content_type\": \"application/pdf\",\n  \"content_length\": 102400,\n  \"category\": \"dispute_evidence\",\n  \"url\": \"https://api.pay.com/v1/documents/doc_296645958265997322/contents\",\n  \"title\": \"Order Receipt\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f006e691-a426-5a95-b5af-1012e56fe719","name":"Invalid request parameters.","originalRequest":{"url":{"path":["documents"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"filename\": \"receipt.pdf\",\n  \"reference\": \"order_12345\",\n  \"content_type\": \"application/pdf\",\n  \"content_length\": 102400,\n  \"title\": \"Order Receipt\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7b82e32c-09d3-5aa2-8622-f4a5e68bb88e","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["documents"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"filename\": \"receipt.pdf\",\n  \"reference\": \"order_12345\",\n  \"content_type\": \"application/pdf\",\n  \"content_length\": 102400,\n  \"title\": \"Order Receipt\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4d0975f0-1796-5b5f-880c-aadfaefc29b9","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["documents"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"filename\": \"receipt.pdf\",\n  \"reference\": \"order_12345\",\n  \"content_type\": \"application/pdf\",\n  \"content_length\": 102400,\n  \"title\": \"Order Receipt\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"d118a0da-937e-5830-b349-fc81b241af81","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["documents"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"filename\": \"receipt.pdf\",\n  \"reference\": \"order_12345\",\n  \"content_type\": \"application/pdf\",\n  \"content_length\": 102400,\n  \"title\": \"Order Receipt\"\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f017b5b4-1f3f-5ecc-8d50-1ab7245fbde8","name":"Internal server error.","originalRequest":{"url":{"path":["documents"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"filename\": \"receipt.pdf\",\n  \"reference\": \"order_12345\",\n  \"content_type\": \"application/pdf\",\n  \"content_length\": 102400,\n  \"title\": \"Order Receipt\"\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7786d19e-b547-5a5b-ab09-8cfddf27c944","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["documents"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"filename\": \"receipt.pdf\",\n  \"reference\": \"order_12345\",\n  \"content_type\": \"application/pdf\",\n  \"content_length\": 102400,\n  \"title\": \"Order Receipt\"\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"cf4a1a12-6545-5d73-a109-96cb67666b6b","name":"Retrieve a document","request":{"name":"Retrieve a document","description":{"content":"Retrieves the details of a dispute evidence document by its unique identifier.","type":"text/plain"},"url":{"path":["documents",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"doc_296645958265997322","key":"id","description":"(Required) Unique identifier for the document."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"b2bbf12f-5310-5747-b12d-a168b66cefc6","name":"Returns the document object.","originalRequest":{"url":{"path":["documents",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"doc_296645958265997322","key":"id","description":"(Required) Unique identifier for the document."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"doc_296645958265997322\",\n  \"resource\": \"document\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"filename\": \"receipt.pdf\",\n  \"reference\": \"order_12345\",\n  \"status\": \"active\",\n  \"content_type\": \"application/pdf\",\n  \"content_length\": 102400,\n  \"category\": \"dispute_evidence\",\n  \"url\": \"https://api.pay.com/v1/documents/doc_296645958265997322/contents\",\n  \"title\": \"Order Receipt\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e739dc54-480f-5cab-aacc-0c1c06c50e18","name":"Invalid request parameters.","originalRequest":{"url":{"path":["documents",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"doc_296645958265997322","key":"id","description":"(Required) Unique identifier for the document."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"afdbd3ad-5496-5137-93ab-02fb2a795b71","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["documents",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"doc_296645958265997322","key":"id","description":"(Required) Unique identifier for the document."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"07933df8-c3c7-55ba-9400-18fe939e7acf","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["documents",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"doc_296645958265997322","key":"id","description":"(Required) Unique identifier for the document."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"293d3285-adea-5a9f-9674-162c40c101af","name":"Document not found.","originalRequest":{"url":{"path":["documents",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"doc_296645958265997322","key":"id","description":"(Required) Unique identifier for the document."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5b82f807-5125-5653-9f6e-3b31dec25dea","name":"Internal server error.","originalRequest":{"url":{"path":["documents",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"doc_296645958265997322","key":"id","description":"(Required) Unique identifier for the document."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"523a7624-ba2d-55b3-9e6e-c7c10b663804","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["documents",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"doc_296645958265997322","key":"id","description":"(Required) Unique identifier for the document."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"3e5f1999-8094-5052-b183-0901111ee0d4","name":"Retrieve document contents","request":{"name":"Retrieve document contents","description":{"content":"Retrieves the binary contents of a document. The response `Content-Type` is the content type of the uploaded file. Contents are only available once the document status is `active`; before that the request returns 404.","type":"text/plain"},"url":{"path":["documents",":id","contents"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"doc_296645958265997322","key":"id","description":"(Required) Unique identifier for the document."}]},"header":[{"key":"Accept","value":"*/*"}],"method":"GET","auth":null},"response":[{"id":"1df63ac7-b5d0-5727-8b18-2961920af24c","name":"Returns the document contents, with the `Content-Type` of the uploaded file.","originalRequest":{"url":{"path":["documents",":id","contents"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"doc_296645958265997322","key":"id","description":"(Required) Unique identifier for the document."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"*/*"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"*/*"}],"body":"string","cookie":[],"_postman_previewlanguage":"text"},{"id":"d1a7c4bd-2f76-54c9-8755-034af8ce85fe","name":"Invalid request parameters.","originalRequest":{"url":{"path":["documents",":id","contents"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"doc_296645958265997322","key":"id","description":"(Required) Unique identifier for the document."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f972c6e2-fe94-51e0-950c-6c124dadf7b6","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["documents",":id","contents"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"doc_296645958265997322","key":"id","description":"(Required) Unique identifier for the document."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b24a7962-de2d-5c2c-907f-0133267e0e20","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["documents",":id","contents"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"doc_296645958265997322","key":"id","description":"(Required) Unique identifier for the document."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"dc336f81-8272-5609-beb3-f61aac0f345a","name":"Document not found, or its status is not yet `active`.","originalRequest":{"url":{"path":["documents",":id","contents"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"doc_296645958265997322","key":"id","description":"(Required) Unique identifier for the document."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"27b51dc0-593c-555d-8a8e-6b2d0cdc6c6a","name":"Internal server error.","originalRequest":{"url":{"path":["documents",":id","contents"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"doc_296645958265997322","key":"id","description":"(Required) Unique identifier for the document."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0fe47465-cce6-5cef-9157-6d6a9316d891","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["documents",":id","contents"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"doc_296645958265997322","key":"id","description":"(Required) Unique identifier for the document."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"7b6d84e6-2509-5c56-a666-1bac057919d1","name":"Upload document contents","request":{"name":"Upload document contents","description":{"content":"Uploads the binary contents for a document. The document must be created first with `POST /documents`.\n\nThe body must be exactly the `content_length` bytes declared when the document was created. The `Content-Type` header of this request replaces the `content_type` given at creation. The request body can be up to 50 MB, but dispute evidence submissions only accept documents within the processor's limits (10 MB and 50 pages by default).\n\nAfter the upload the document is scanned (`pending`) and then becomes `active` or `rejected`.","type":"text/plain"},"url":{"path":["documents",":document_id","upload"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"doc_296645958265997322","key":"document_id","description":"(Required) Unique identifier for the document."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"disabled":false,"description":"(Required) The size of the file in bytes. Must equal the document's `content_length`.","key":"Content-Length","value":"102400"},{"key":"Content-Type","value":"application/octet-stream"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"string"}},"response":[{"id":"49af55da-8047-5d03-abb0-d2cfd35198f0","name":"Document uploaded successfully.","originalRequest":{"url":{"path":["documents",":document_id","upload"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"doc_296645958265997322","key":"document_id","description":"(Required) Unique identifier for the document."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"disabled":false,"description":"(Required) The MIME type of the file being uploaded. Any type is accepted and replaces the document's `content_type`.","key":"Content-Type","value":"application/pdf"},{"disabled":false,"description":"(Required) The size of the file in bytes. Must equal the document's `content_length`.","key":"Content-Length","value":"102400"}],"method":"POST","body":{"mode":"raw","raw":"string"}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"4d5e9f13-d4ca-5b6a-b12e-e14cb3ba4d82","name":"Invalid request parameters.","originalRequest":{"url":{"path":["documents",":document_id","upload"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"doc_296645958265997322","key":"document_id","description":"(Required) Unique identifier for the document."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"disabled":false,"description":"(Required) The MIME type of the file being uploaded. Any type is accepted and replaces the document's `content_type`.","key":"Content-Type","value":"application/pdf"},{"disabled":false,"description":"(Required) The size of the file in bytes. Must equal the document's `content_length`.","key":"Content-Length","value":"102400"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"string"}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0462cd2c-f0b7-554d-a211-4a2f9cc15596","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["documents",":document_id","upload"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"doc_296645958265997322","key":"document_id","description":"(Required) Unique identifier for the document."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"disabled":false,"description":"(Required) The MIME type of the file being uploaded. Any type is accepted and replaces the document's `content_type`.","key":"Content-Type","value":"application/pdf"},{"disabled":false,"description":"(Required) The size of the file in bytes. Must equal the document's `content_length`.","key":"Content-Length","value":"102400"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"string"}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"87329413-a256-5dea-bbd4-72230daa7a71","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["documents",":document_id","upload"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"doc_296645958265997322","key":"document_id","description":"(Required) Unique identifier for the document."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"disabled":false,"description":"(Required) The MIME type of the file being uploaded. Any type is accepted and replaces the document's `content_type`.","key":"Content-Type","value":"application/pdf"},{"disabled":false,"description":"(Required) The size of the file in bytes. Must equal the document's `content_length`.","key":"Content-Length","value":"102400"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"string"}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"af727145-1bc6-50ee-81d0-60f7a02fc8bb","name":"Document not found.","originalRequest":{"url":{"path":["documents",":document_id","upload"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"doc_296645958265997322","key":"document_id","description":"(Required) Unique identifier for the document."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"disabled":false,"description":"(Required) The MIME type of the file being uploaded. Any type is accepted and replaces the document's `content_type`.","key":"Content-Type","value":"application/pdf"},{"disabled":false,"description":"(Required) The size of the file in bytes. Must equal the document's `content_length`.","key":"Content-Length","value":"102400"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"string"}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"db754349-d516-5a5b-8750-433bc1f56302","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["documents",":document_id","upload"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"doc_296645958265997322","key":"document_id","description":"(Required) Unique identifier for the document."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"disabled":false,"description":"(Required) The MIME type of the file being uploaded. Any type is accepted and replaces the document's `content_type`.","key":"Content-Type","value":"application/pdf"},{"disabled":false,"description":"(Required) The size of the file in bytes. Must equal the document's `content_length`.","key":"Content-Length","value":"102400"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"string"}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"59325ce6-7a58-5503-9ed3-a2288a463e53","name":"File too large. The maximum request body size is 50 MB.","originalRequest":{"url":{"path":["documents",":document_id","upload"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"doc_296645958265997322","key":"document_id","description":"(Required) Unique identifier for the document."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"disabled":false,"description":"(Required) The MIME type of the file being uploaded. Any type is accepted and replaces the document's `content_type`.","key":"Content-Type","value":"application/pdf"},{"disabled":false,"description":"(Required) The size of the file in bytes. Must equal the document's `content_length`.","key":"Content-Length","value":"102400"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"string"}},"status":"Request Entity Too Large","code":413,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4e6d5968-ed6d-5797-9956-42dca788a7e9","name":"Internal server error.","originalRequest":{"url":{"path":["documents",":document_id","upload"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"doc_296645958265997322","key":"document_id","description":"(Required) Unique identifier for the document."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"disabled":false,"description":"(Required) The MIME type of the file being uploaded. Any type is accepted and replaces the document's `content_type`.","key":"Content-Type","value":"application/pdf"},{"disabled":false,"description":"(Required) The size of the file in bytes. Must equal the document's `content_length`.","key":"Content-Length","value":"102400"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"string"}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a097d8f0-c070-59d9-be77-b414502bab90","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["documents",":document_id","upload"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"doc_296645958265997322","key":"document_id","description":"(Required) Unique identifier for the document."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"disabled":false,"description":"(Required) The MIME type of the file being uploaded. Any type is accepted and replaces the document's `content_type`.","key":"Content-Type","value":"application/pdf"},{"disabled":false,"description":"(Required) The size of the file in bytes. Must equal the document's `content_length`.","key":"Content-Length","value":"102400"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"string"}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"b844c40d-9f8e-5f60-a8e7-bdcc5d22ab07","name":"SubscriptionPackages","description":{"content":"Create and manage subscription packages that define billing terms for recurring payments.","type":"text/plain"},"item":[{"id":"5f2e30bc-ba8f-5d71-9d1f-08eb27ea8d79","name":"Create a subscription package","request":{"name":"Create a subscription package","description":{"content":"Creates a new subscription package.","type":"text/plain"},"url":{"path":["subscriptions","packages"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"reference\": \"premium_monthly_plan\",\n  \"description\": \"Monthly premium subscription plan.\",\n  \"settings\": {\n    \"amount\": {\n      \"type\": \"fixed\",\n      \"amount\": 10000\n    },\n    \"currency\": \"usd\",\n    \"schedule\": {\n      \"interval\": \"month\",\n      \"interval_count\": 1\n    },\n    \"retries\": {\n      \"attempts\": 3,\n      \"interval\": \"day\",\n      \"interval_count\": 1\n    },\n    \"failure\": \"cancel\"\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"3bbdba67-50ba-569b-89d5-18f24b6a2347","name":"Returns the created subscription package object.","originalRequest":{"url":{"path":["subscriptions","packages"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"reference\": \"premium_monthly_plan\",\n  \"description\": \"Monthly premium subscription plan.\",\n  \"settings\": {\n    \"amount\": {\n      \"type\": \"fixed\",\n      \"amount\": 10000\n    },\n    \"currency\": \"usd\",\n    \"schedule\": {\n      \"interval\": \"month\",\n      \"interval_count\": 1\n    },\n    \"retries\": {\n      \"attempts\": 3,\n      \"interval\": \"day\",\n      \"interval_count\": 1\n    },\n    \"failure\": \"cancel\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"subpkg_296645958265997332\",\n  \"resource\": \"subscription_package\",\n  \"active\": true,\n  \"description\": \"Monthly premium subscription plan.\",\n  \"reference\": \"premium_monthly_plan\",\n  \"settings\": {\n    \"amount\": {\n      \"type\": \"dynamic\",\n      \"amount\": 10000,\n      \"dynamic_amount_url\": \"string\"\n    },\n    \"currency\": \"usd\",\n    \"retries\": {\n      \"attempts\": 8809,\n      \"interval\": \"year\",\n      \"interval_count\": 2250\n    },\n    \"schedule\": {\n      \"interval\": \"year\",\n      \"interval_count\": 3203\n    },\n    \"trial\": {\n      \"interval\": \"year\",\n      \"interval_count\": 5023\n    },\n    \"cancel\": {\n      \"interval\": \"month\",\n      \"interval_count\": 9619\n    },\n    \"pause\": \"draft\",\n    \"failure\": \"cancel\",\n    \"dispute\": {\n      \"created\": {\n        \"current_subscription\": \"cancel_immediately\",\n        \"other_subscriptions\": \"do_nothing\"\n      },\n      \"lost\": {\n        \"current_subscription\": \"cancel_end_of_term\",\n        \"other_subscriptions\": \"do_nothing\"\n      }\n    },\n    \"fraud_warning\": {\n      \"current_subscription\": \"cancel_end_of_term\",\n      \"other_subscriptions\": \"cancel_end_of_term\"\n    },\n    \"initial_term_extension\": {\n      \"interval\": \"month\",\n      \"interval_count\": 2681\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"808a6f02-81d8-5679-bf33-768fb5b5f093","name":"Invalid request parameters.","originalRequest":{"url":{"path":["subscriptions","packages"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"reference\": \"premium_monthly_plan\",\n  \"description\": \"Monthly premium subscription plan.\",\n  \"settings\": {\n    \"amount\": {\n      \"type\": \"fixed\",\n      \"amount\": 10000\n    },\n    \"currency\": \"usd\",\n    \"schedule\": {\n      \"interval\": \"month\",\n      \"interval_count\": 1\n    },\n    \"retries\": {\n      \"attempts\": 3,\n      \"interval\": \"day\",\n      \"interval_count\": 1\n    },\n    \"failure\": \"cancel\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c318ae16-bfeb-5cce-9793-b7a443dd829f","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["subscriptions","packages"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"reference\": \"premium_monthly_plan\",\n  \"description\": \"Monthly premium subscription plan.\",\n  \"settings\": {\n    \"amount\": {\n      \"type\": \"fixed\",\n      \"amount\": 10000\n    },\n    \"currency\": \"usd\",\n    \"schedule\": {\n      \"interval\": \"month\",\n      \"interval_count\": 1\n    },\n    \"retries\": {\n      \"attempts\": 3,\n      \"interval\": \"day\",\n      \"interval_count\": 1\n    },\n    \"failure\": \"cancel\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"041445d1-d91d-500a-8dd2-dd4b5abd2c16","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["subscriptions","packages"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"reference\": \"premium_monthly_plan\",\n  \"description\": \"Monthly premium subscription plan.\",\n  \"settings\": {\n    \"amount\": {\n      \"type\": \"fixed\",\n      \"amount\": 10000\n    },\n    \"currency\": \"usd\",\n    \"schedule\": {\n      \"interval\": \"month\",\n      \"interval_count\": 1\n    },\n    \"retries\": {\n      \"attempts\": 3,\n      \"interval\": \"day\",\n      \"interval_count\": 1\n    },\n    \"failure\": \"cancel\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1377b407-dc95-5243-b971-ecc77ca9b630","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["subscriptions","packages"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"reference\": \"premium_monthly_plan\",\n  \"description\": \"Monthly premium subscription plan.\",\n  \"settings\": {\n    \"amount\": {\n      \"type\": \"fixed\",\n      \"amount\": 10000\n    },\n    \"currency\": \"usd\",\n    \"schedule\": {\n      \"interval\": \"month\",\n      \"interval_count\": 1\n    },\n    \"retries\": {\n      \"attempts\": 3,\n      \"interval\": \"day\",\n      \"interval_count\": 1\n    },\n    \"failure\": \"cancel\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"7c34e88b-552b-5a44-804a-113bb190e67a","name":"Internal server error.","originalRequest":{"url":{"path":["subscriptions","packages"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"reference\": \"premium_monthly_plan\",\n  \"description\": \"Monthly premium subscription plan.\",\n  \"settings\": {\n    \"amount\": {\n      \"type\": \"fixed\",\n      \"amount\": 10000\n    },\n    \"currency\": \"usd\",\n    \"schedule\": {\n      \"interval\": \"month\",\n      \"interval_count\": 1\n    },\n    \"retries\": {\n      \"attempts\": 3,\n      \"interval\": \"day\",\n      \"interval_count\": 1\n    },\n    \"failure\": \"cancel\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8422ad7d-b284-5e99-a3ed-9a4499f65b20","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["subscriptions","packages"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"reference\": \"premium_monthly_plan\",\n  \"description\": \"Monthly premium subscription plan.\",\n  \"settings\": {\n    \"amount\": {\n      \"type\": \"fixed\",\n      \"amount\": 10000\n    },\n    \"currency\": \"usd\",\n    \"schedule\": {\n      \"interval\": \"month\",\n      \"interval_count\": 1\n    },\n    \"retries\": {\n      \"attempts\": 3,\n      \"interval\": \"day\",\n      \"interval_count\": 1\n    },\n    \"failure\": \"cancel\"\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"76fdc41c-365f-57a4-a3b3-dfdd259dd8ff","name":"Retrieve a subscription package","request":{"name":"Retrieve a subscription package","description":{"content":"Retrieves the details of a subscription package.","type":"text/plain"},"url":{"path":["subscriptions","packages",":subscription_package_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"subpkg_296645958265997332","key":"subscription_package_id","description":"(Required) Unique identifier for the Subscription Package resource."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"39a1d4bd-e9f7-5d14-aa05-1e1d0e1d1a50","name":"Returns the subscription package object. Deleted packages are returned with `active` set to `false`.","originalRequest":{"url":{"path":["subscriptions","packages",":subscription_package_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"subpkg_296645958265997332","key":"subscription_package_id","description":"(Required) Unique identifier for the Subscription Package resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"subpkg_296645958265997332\",\n  \"resource\": \"subscription_package\",\n  \"active\": true,\n  \"description\": \"Monthly premium subscription plan.\",\n  \"reference\": \"premium_monthly_plan\",\n  \"settings\": {\n    \"amount\": {\n      \"type\": \"dynamic\",\n      \"amount\": 10000,\n      \"dynamic_amount_url\": \"string\"\n    },\n    \"currency\": \"usd\",\n    \"retries\": {\n      \"attempts\": 8809,\n      \"interval\": \"year\",\n      \"interval_count\": 2250\n    },\n    \"schedule\": {\n      \"interval\": \"year\",\n      \"interval_count\": 3203\n    },\n    \"trial\": {\n      \"interval\": \"year\",\n      \"interval_count\": 5023\n    },\n    \"cancel\": {\n      \"interval\": \"month\",\n      \"interval_count\": 9619\n    },\n    \"pause\": \"draft\",\n    \"failure\": \"cancel\",\n    \"dispute\": {\n      \"created\": {\n        \"current_subscription\": \"cancel_immediately\",\n        \"other_subscriptions\": \"do_nothing\"\n      },\n      \"lost\": {\n        \"current_subscription\": \"cancel_end_of_term\",\n        \"other_subscriptions\": \"do_nothing\"\n      }\n    },\n    \"fraud_warning\": {\n      \"current_subscription\": \"cancel_end_of_term\",\n      \"other_subscriptions\": \"cancel_end_of_term\"\n    },\n    \"initial_term_extension\": {\n      \"interval\": \"month\",\n      \"interval_count\": 2681\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6432ee52-b324-5c72-b721-07e0f91630f9","name":"Invalid request parameters.","originalRequest":{"url":{"path":["subscriptions","packages",":subscription_package_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"subpkg_296645958265997332","key":"subscription_package_id","description":"(Required) Unique identifier for the Subscription Package resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"e10eef97-df99-5a1f-8676-8a3bcbbc5ae9","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["subscriptions","packages",":subscription_package_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"subpkg_296645958265997332","key":"subscription_package_id","description":"(Required) Unique identifier for the Subscription Package resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"82deaa82-01da-5b54-a4d8-72918a1f6f32","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["subscriptions","packages",":subscription_package_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"subpkg_296645958265997332","key":"subscription_package_id","description":"(Required) Unique identifier for the Subscription Package resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3b36f645-1d75-55e4-b4b6-1788a891ee16","name":"Subscription package not found.","originalRequest":{"url":{"path":["subscriptions","packages",":subscription_package_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"subpkg_296645958265997332","key":"subscription_package_id","description":"(Required) Unique identifier for the Subscription Package resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0f177fb9-0bae-5e55-8ddb-137bd2f66f8f","name":"Internal server error.","originalRequest":{"url":{"path":["subscriptions","packages",":subscription_package_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"subpkg_296645958265997332","key":"subscription_package_id","description":"(Required) Unique identifier for the Subscription Package resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0acc4996-dd52-5129-b608-e37b02ca72b2","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["subscriptions","packages",":subscription_package_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"subpkg_296645958265997332","key":"subscription_package_id","description":"(Required) Unique identifier for the Subscription Package resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"569bfef2-752d-5206-91b4-3018ffdcb196","name":"Update a subscription package","request":{"name":"Update a subscription package","description":{"content":"Updates a subscription package. Only the fields you send are changed.","type":"text/plain"},"url":{"path":["subscriptions","packages",":subscription_package_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"subpkg_296645958265997332","key":"subscription_package_id","description":"(Required) Unique identifier for the Subscription Package resource."}]},"header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"PATCH","auth":null,"body":{"mode":"raw","raw":"{\n  \"description\": \"Monthly premium subscription plan.\",\n  \"settings\": {\n    \"amount\": {\n      \"type\": \"fixed\",\n      \"amount\": 10000\n    },\n    \"currency\": \"usd\",\n    \"schedule\": {\n      \"interval\": \"month\",\n      \"interval_count\": 1\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"9341763f-ec79-5286-9951-538eaad00d89","name":"Returns the updated subscription package object.","originalRequest":{"url":{"path":["subscriptions","packages",":subscription_package_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"subpkg_296645958265997332","key":"subscription_package_id","description":"(Required) Unique identifier for the Subscription Package resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"description\": \"Monthly premium subscription plan.\",\n  \"settings\": {\n    \"amount\": {\n      \"type\": \"fixed\",\n      \"amount\": 10000\n    },\n    \"currency\": \"usd\",\n    \"schedule\": {\n      \"interval\": \"month\",\n      \"interval_count\": 1\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"subpkg_296645958265997332\",\n  \"resource\": \"subscription_package\",\n  \"active\": true,\n  \"description\": \"Monthly premium subscription plan.\",\n  \"reference\": \"premium_monthly_plan\",\n  \"settings\": {\n    \"amount\": {\n      \"type\": \"dynamic\",\n      \"amount\": 10000,\n      \"dynamic_amount_url\": \"string\"\n    },\n    \"currency\": \"usd\",\n    \"retries\": {\n      \"attempts\": 8809,\n      \"interval\": \"year\",\n      \"interval_count\": 2250\n    },\n    \"schedule\": {\n      \"interval\": \"year\",\n      \"interval_count\": 3203\n    },\n    \"trial\": {\n      \"interval\": \"year\",\n      \"interval_count\": 5023\n    },\n    \"cancel\": {\n      \"interval\": \"month\",\n      \"interval_count\": 9619\n    },\n    \"pause\": \"draft\",\n    \"failure\": \"cancel\",\n    \"dispute\": {\n      \"created\": {\n        \"current_subscription\": \"cancel_immediately\",\n        \"other_subscriptions\": \"do_nothing\"\n      },\n      \"lost\": {\n        \"current_subscription\": \"cancel_end_of_term\",\n        \"other_subscriptions\": \"do_nothing\"\n      }\n    },\n    \"fraud_warning\": {\n      \"current_subscription\": \"cancel_end_of_term\",\n      \"other_subscriptions\": \"cancel_end_of_term\"\n    },\n    \"initial_term_extension\": {\n      \"interval\": \"month\",\n      \"interval_count\": 2681\n    }\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a329cd3e-9a6f-5868-b4c5-04a8646cd35f","name":"Invalid request parameters.","originalRequest":{"url":{"path":["subscriptions","packages",":subscription_package_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"subpkg_296645958265997332","key":"subscription_package_id","description":"(Required) Unique identifier for the Subscription Package resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"description\": \"Monthly premium subscription plan.\",\n  \"settings\": {\n    \"amount\": {\n      \"type\": \"fixed\",\n      \"amount\": 10000\n    },\n    \"currency\": \"usd\",\n    \"schedule\": {\n      \"interval\": \"month\",\n      \"interval_count\": 1\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"12ce8de5-8016-517a-977c-7c44b097dc51","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["subscriptions","packages",":subscription_package_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"subpkg_296645958265997332","key":"subscription_package_id","description":"(Required) Unique identifier for the Subscription Package resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"description\": \"Monthly premium subscription plan.\",\n  \"settings\": {\n    \"amount\": {\n      \"type\": \"fixed\",\n      \"amount\": 10000\n    },\n    \"currency\": \"usd\",\n    \"schedule\": {\n      \"interval\": \"month\",\n      \"interval_count\": 1\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ff1b665a-56a0-588e-bead-1b2d60fbd9ff","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["subscriptions","packages",":subscription_package_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"subpkg_296645958265997332","key":"subscription_package_id","description":"(Required) Unique identifier for the Subscription Package resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"description\": \"Monthly premium subscription plan.\",\n  \"settings\": {\n    \"amount\": {\n      \"type\": \"fixed\",\n      \"amount\": 10000\n    },\n    \"currency\": \"usd\",\n    \"schedule\": {\n      \"interval\": \"month\",\n      \"interval_count\": 1\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3bc1782d-8713-507d-8776-59d583150f7e","name":"Subscription package not found.","originalRequest":{"url":{"path":["subscriptions","packages",":subscription_package_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"subpkg_296645958265997332","key":"subscription_package_id","description":"(Required) Unique identifier for the Subscription Package resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"description\": \"Monthly premium subscription plan.\",\n  \"settings\": {\n    \"amount\": {\n      \"type\": \"fixed\",\n      \"amount\": 10000\n    },\n    \"currency\": \"usd\",\n    \"schedule\": {\n      \"interval\": \"month\",\n      \"interval_count\": 1\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ff0f1dd0-6c19-58de-b514-d7f15bc53597","name":"Internal server error.","originalRequest":{"url":{"path":["subscriptions","packages",":subscription_package_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"subpkg_296645958265997332","key":"subscription_package_id","description":"(Required) Unique identifier for the Subscription Package resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"description\": \"Monthly premium subscription plan.\",\n  \"settings\": {\n    \"amount\": {\n      \"type\": \"fixed\",\n      \"amount\": 10000\n    },\n    \"currency\": \"usd\",\n    \"schedule\": {\n      \"interval\": \"month\",\n      \"interval_count\": 1\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"30430c2b-be77-5415-b898-2e4e71251719","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["subscriptions","packages",":subscription_package_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"subpkg_296645958265997332","key":"subscription_package_id","description":"(Required) Unique identifier for the Subscription Package resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"PATCH","body":{"mode":"raw","raw":"{\n  \"description\": \"Monthly premium subscription plan.\",\n  \"settings\": {\n    \"amount\": {\n      \"type\": \"fixed\",\n      \"amount\": 10000\n    },\n    \"currency\": \"usd\",\n    \"schedule\": {\n      \"interval\": \"month\",\n      \"interval_count\": 1\n    }\n  }\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"dd0d3559-7d9d-59e8-afec-0b87a32eefff","name":"Delete a subscription package","request":{"name":"Delete a subscription package","description":{"content":"Deactivates a subscription package. The package is not removed; it stays retrievable with `active` set to `false`, and can be reactivated by updating it with `active` set to `true`.","type":"text/plain"},"url":{"path":["subscriptions","packages",":subscription_package_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"subpkg_296645958265997332","key":"subscription_package_id","description":"(Required) Unique identifier for the Subscription Package resource."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":null},"response":[{"id":"eef8314d-089d-5efa-a3b1-be09b6c29dae","name":"Subscription package deleted successfully.","originalRequest":{"url":{"path":["subscriptions","packages",":subscription_package_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"subpkg_296645958265997332","key":"subscription_package_id","description":"(Required) Unique identifier for the Subscription Package resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"}],"method":"DELETE","body":{}},"status":"No Content","code":204,"header":[{"key":"Content-Type","value":"text/plain"}],"body":"","cookie":[],"_postman_previewlanguage":"text"},{"id":"af0a851c-7a4a-508c-a4a8-f243d0707f29","name":"Invalid request parameters.","originalRequest":{"url":{"path":["subscriptions","packages",":subscription_package_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"subpkg_296645958265997332","key":"subscription_package_id","description":"(Required) Unique identifier for the Subscription Package resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"88cf13ec-0151-5d39-9fb7-4ec2ea1aaf96","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["subscriptions","packages",":subscription_package_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"subpkg_296645958265997332","key":"subscription_package_id","description":"(Required) Unique identifier for the Subscription Package resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b3174150-ccd7-5064-b365-c724bc7ca249","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["subscriptions","packages",":subscription_package_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"subpkg_296645958265997332","key":"subscription_package_id","description":"(Required) Unique identifier for the Subscription Package resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"252a80e1-ad8d-5d12-b9f7-df062eb9c521","name":"Subscription package not found.","originalRequest":{"url":{"path":["subscriptions","packages",":subscription_package_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"subpkg_296645958265997332","key":"subscription_package_id","description":"(Required) Unique identifier for the Subscription Package resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fbd47deb-3736-5748-94c9-d32e28655e5a","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["subscriptions","packages",":subscription_package_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"subpkg_296645958265997332","key":"subscription_package_id","description":"(Required) Unique identifier for the Subscription Package resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"997c901b-6be9-562d-8d18-34322541770c","name":"Internal server error.","originalRequest":{"url":{"path":["subscriptions","packages",":subscription_package_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"subpkg_296645958265997332","key":"subscription_package_id","description":"(Required) Unique identifier for the Subscription Package resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"dcd5ccee-97f1-5635-9437-f18b6eb9c29a","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["subscriptions","packages",":subscription_package_id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"subpkg_296645958265997332","key":"subscription_package_id","description":"(Required) Unique identifier for the Subscription Package resource."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"a1370bd2-6529-55e8-b03b-710cf228d0a7","name":"CustomerBlockReviews","description":{"content":"Review, snooze, and exclude customers blocked by risk rules.","type":"text/plain"},"item":[{"id":"532a2d87-d017-5180-99ee-f655f85228fd","name":"Snooze a customer block review","request":{"name":"Snooze a customer block review","description":{"content":"Snoozes a customer block review. If `snoozed_until` is provided, the status is set to `snoozed_temporary` until that time; otherwise, it is set to `snoozed`. Use `snoozed_by` to record who performed the action.","type":"text/plain"},"url":{"path":["customer_block_reviews",":id","snooze"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cblrv_296645958265997338","key":"id","description":"(Required) The unique identifier of the customer block review."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"snoozed_until\": \"2024-01-22T10:30:00Z\",\n  \"snoozed_by\": \"john.smith@example.com\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"0a8775d7-b604-5602-b7aa-9f22037e8700","name":"Returns the updated customer block review object.","originalRequest":{"url":{"path":["customer_block_reviews",":id","snooze"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cblrv_296645958265997338","key":"id","description":"(Required) The unique identifier of the customer block review."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"snoozed_until\": \"2024-01-22T10:30:00Z\",\n  \"snoozed_by\": \"john.smith@example.com\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"cblrv_296645958265997338\",\n  \"resource\": \"customer_block_review\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"status\": \"excluded_temporary\",\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"customer_email\": \"john.smith@example.com\",\n  \"customer_name\": \"John Smith\",\n  \"rule\": \"rl_296645958265997337\",\n  \"rule_description\": \"Block customers with 3 or more declined payments in 24 hours\",\n  \"payment_attempt\": \"psatt_296645958265997343_1\",\n  \"payment_session\": \"ps_296645958265997318\",\n  \"payment_session_reference\": \"order_12345\",\n  \"charge\": \"chrg_296645958265997312\",\n  \"charge_reference\": \"order_12345\",\n  \"hold\": \"hld_296645958265997313\",\n  \"hold_reference\": \"order_12345\",\n  \"payout\": \"po_296645958265997315\",\n  \"payout_reference\": \"order_12345\",\n  \"excluded_until\": \"2024-02-15T10:30:00Z\",\n  \"snoozed_until\": \"2024-01-22T10:30:00Z\",\n  \"excluded_by\": \"john.smith@example.com\",\n  \"snoozed_by\": \"john.smith@example.com\",\n  \"test_mode\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1e655d59-0f26-59f3-930f-2d235b4c929c","name":"Invalid request parameters.","originalRequest":{"url":{"path":["customer_block_reviews",":id","snooze"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cblrv_296645958265997338","key":"id","description":"(Required) The unique identifier of the customer block review."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"snoozed_until\": \"2024-01-22T10:30:00Z\",\n  \"snoozed_by\": \"john.smith@example.com\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"169605be-9d6c-5b9f-a45c-a3f5aebc27e2","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["customer_block_reviews",":id","snooze"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cblrv_296645958265997338","key":"id","description":"(Required) The unique identifier of the customer block review."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"snoozed_until\": \"2024-01-22T10:30:00Z\",\n  \"snoozed_by\": \"john.smith@example.com\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f2d12056-e8b0-5852-8262-09788fe3c53c","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["customer_block_reviews",":id","snooze"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cblrv_296645958265997338","key":"id","description":"(Required) The unique identifier of the customer block review."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"snoozed_until\": \"2024-01-22T10:30:00Z\",\n  \"snoozed_by\": \"john.smith@example.com\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cb99ad7c-7a70-56f3-9c41-2a85afa6f2e2","name":"Customer block review not found.","originalRequest":{"url":{"path":["customer_block_reviews",":id","snooze"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cblrv_296645958265997338","key":"id","description":"(Required) The unique identifier of the customer block review."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"snoozed_until\": \"2024-01-22T10:30:00Z\",\n  \"snoozed_by\": \"john.smith@example.com\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"125fb796-c61d-57cb-bfbe-1345434ea2e0","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["customer_block_reviews",":id","snooze"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cblrv_296645958265997338","key":"id","description":"(Required) The unique identifier of the customer block review."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"snoozed_until\": \"2024-01-22T10:30:00Z\",\n  \"snoozed_by\": \"john.smith@example.com\"\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"651530a1-eaed-5caf-b08b-0a36bb8ce11c","name":"Internal server error.","originalRequest":{"url":{"path":["customer_block_reviews",":id","snooze"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cblrv_296645958265997338","key":"id","description":"(Required) The unique identifier of the customer block review."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"snoozed_until\": \"2024-01-22T10:30:00Z\",\n  \"snoozed_by\": \"john.smith@example.com\"\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a5bb2347-32a0-5f25-806c-e8f1edb9cc0a","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["customer_block_reviews",":id","snooze"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cblrv_296645958265997338","key":"id","description":"(Required) The unique identifier of the customer block review."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"snoozed_until\": \"2024-01-22T10:30:00Z\",\n  \"snoozed_by\": \"john.smith@example.com\"\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"d036cf2f-4f33-5069-b564-9e43e8faa330","name":"Exclude a customer block review","request":{"name":"Exclude a customer block review","description":{"content":"Excludes the customer in a customer block review from the rule that blocked them. If `excluded_until` is provided, the status is set to `excluded_temporary` until that time; otherwise, it is set to `excluded`.","type":"text/plain"},"url":{"path":["customer_block_reviews",":id","exclude"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cblrv_296645958265997338","key":"id","description":"(Required) The unique identifier of the customer block review."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"excluded_until\": \"2024-02-15T10:30:00Z\",\n  \"excluded_by\": \"john.smith@example.com\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"37d1d1be-19b5-5628-a9f7-abd4bae28a70","name":"Returns the updated customer block review object.","originalRequest":{"url":{"path":["customer_block_reviews",":id","exclude"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cblrv_296645958265997338","key":"id","description":"(Required) The unique identifier of the customer block review."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"excluded_until\": \"2024-02-15T10:30:00Z\",\n  \"excluded_by\": \"john.smith@example.com\"\n}","options":{"raw":{"language":"json"}}}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"cblrv_296645958265997338\",\n  \"resource\": \"customer_block_review\",\n  \"created\": \"2024-01-15T10:30:00Z\",\n  \"status\": \"excluded_temporary\",\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"customer_email\": \"john.smith@example.com\",\n  \"customer_name\": \"John Smith\",\n  \"rule\": \"rl_296645958265997337\",\n  \"rule_description\": \"Block customers with 3 or more declined payments in 24 hours\",\n  \"payment_attempt\": \"psatt_296645958265997343_1\",\n  \"payment_session\": \"ps_296645958265997318\",\n  \"payment_session_reference\": \"order_12345\",\n  \"charge\": \"chrg_296645958265997312\",\n  \"charge_reference\": \"order_12345\",\n  \"hold\": \"hld_296645958265997313\",\n  \"hold_reference\": \"order_12345\",\n  \"payout\": \"po_296645958265997315\",\n  \"payout_reference\": \"order_12345\",\n  \"excluded_until\": \"2024-02-15T10:30:00Z\",\n  \"snoozed_until\": \"2024-01-22T10:30:00Z\",\n  \"excluded_by\": \"john.smith@example.com\",\n  \"snoozed_by\": \"john.smith@example.com\",\n  \"test_mode\": false\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b2355027-3dd5-5de1-8ae9-bee7db33d13b","name":"Invalid request parameters.","originalRequest":{"url":{"path":["customer_block_reviews",":id","exclude"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cblrv_296645958265997338","key":"id","description":"(Required) The unique identifier of the customer block review."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"excluded_until\": \"2024-02-15T10:30:00Z\",\n  \"excluded_by\": \"john.smith@example.com\"\n}","options":{"raw":{"language":"json"}}}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9fa8f564-356d-54ac-9ff9-f306f2f05e69","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["customer_block_reviews",":id","exclude"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cblrv_296645958265997338","key":"id","description":"(Required) The unique identifier of the customer block review."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"excluded_until\": \"2024-02-15T10:30:00Z\",\n  \"excluded_by\": \"john.smith@example.com\"\n}","options":{"raw":{"language":"json"}}}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"bcbe4fe7-1fed-5bb7-b3bc-b15cbfebdbf0","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["customer_block_reviews",":id","exclude"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cblrv_296645958265997338","key":"id","description":"(Required) The unique identifier of the customer block review."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"excluded_until\": \"2024-02-15T10:30:00Z\",\n  \"excluded_by\": \"john.smith@example.com\"\n}","options":{"raw":{"language":"json"}}}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"71c640b3-1493-5878-b764-3786712054c3","name":"Customer block review not found.","originalRequest":{"url":{"path":["customer_block_reviews",":id","exclude"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cblrv_296645958265997338","key":"id","description":"(Required) The unique identifier of the customer block review."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"excluded_until\": \"2024-02-15T10:30:00Z\",\n  \"excluded_by\": \"john.smith@example.com\"\n}","options":{"raw":{"language":"json"}}}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"cd3eced8-ab41-57fb-b734-fc5a12e469e9","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["customer_block_reviews",":id","exclude"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cblrv_296645958265997338","key":"id","description":"(Required) The unique identifier of the customer block review."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"excluded_until\": \"2024-02-15T10:30:00Z\",\n  \"excluded_by\": \"john.smith@example.com\"\n}","options":{"raw":{"language":"json"}}}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ecdff777-aa38-59a8-b68d-995919751d04","name":"Internal server error.","originalRequest":{"url":{"path":["customer_block_reviews",":id","exclude"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cblrv_296645958265997338","key":"id","description":"(Required) The unique identifier of the customer block review."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"excluded_until\": \"2024-02-15T10:30:00Z\",\n  \"excluded_by\": \"john.smith@example.com\"\n}","options":{"raw":{"language":"json"}}}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"11f440c5-22ee-591f-b47b-1aac49732534","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["customer_block_reviews",":id","exclude"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cblrv_296645958265997338","key":"id","description":"(Required) The unique identifier of the customer block review."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{"mode":"raw","raw":"{\n  \"excluded_until\": \"2024-02-15T10:30:00Z\",\n  \"excluded_by\": \"john.smith@example.com\"\n}","options":{"raw":{"language":"json"}}}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"67711b07-dcf6-5b2c-be97-60f224028a7b","name":"List customer block reviews for a rule","request":{"name":"List customer block reviews for a rule","description":{"content":"Returns a list of customer block reviews (exclusions) for a rule. Only non-expired exclusions are returned.","type":"text/plain"},"url":{"path":["customer_block_reviews","rule",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"rl_296645958265997337","key":"id","description":"(Required) The unique identifier of the rule."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"995ff1fc-b835-5eb2-8e20-dd65e0346cdf","name":"Returns a list of customer block review objects.","originalRequest":{"url":{"path":["customer_block_reviews","rule",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"rl_296645958265997337","key":"id","description":"(Required) The unique identifier of the rule."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"resource\": \"customer_block_reviews\",\n  \"data\": [\n    {\n      \"id\": \"cblrv_296645958265997338\",\n      \"resource\": \"customer_block_review\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"status\": \"excluded_temporary\",\n      \"customer\": \"cust_296645958265997317\",\n      \"customer_reference_id\": \"cust_ext_abc123\",\n      \"customer_email\": \"john.smith@example.com\",\n      \"customer_name\": \"John Smith\",\n      \"rule\": \"rl_296645958265997337\",\n      \"rule_description\": \"Block customers with 3 or more declined payments in 24 hours\",\n      \"payment_attempt\": \"psatt_296645958265997343_1\",\n      \"payment_session\": \"ps_296645958265997318\",\n      \"payment_session_reference\": \"order_12345\",\n      \"charge\": \"chrg_296645958265997312\",\n      \"charge_reference\": \"order_12345\",\n      \"hold\": \"hld_296645958265997313\",\n      \"hold_reference\": \"order_12345\",\n      \"payout\": \"po_296645958265997315\",\n      \"payout_reference\": \"order_12345\",\n      \"excluded_until\": \"2024-02-15T10:30:00Z\",\n      \"snoozed_until\": \"2024-01-22T10:30:00Z\",\n      \"excluded_by\": \"john.smith@example.com\",\n      \"snoozed_by\": \"john.smith@example.com\",\n      \"test_mode\": false\n    },\n    {\n      \"id\": \"cblrv_296645958265997338\",\n      \"resource\": \"customer_block_review\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"status\": \"excluded_temporary\",\n      \"customer\": \"cust_296645958265997317\",\n      \"customer_reference_id\": \"cust_ext_abc123\",\n      \"customer_email\": \"john.smith@example.com\",\n      \"customer_name\": \"John Smith\",\n      \"rule\": \"rl_296645958265997337\",\n      \"rule_description\": \"Block customers with 3 or more declined payments in 24 hours\",\n      \"payment_attempt\": \"psatt_296645958265997343_1\",\n      \"payment_session\": \"ps_296645958265997318\",\n      \"payment_session_reference\": \"order_12345\",\n      \"charge\": \"chrg_296645958265997312\",\n      \"charge_reference\": \"order_12345\",\n      \"hold\": \"hld_296645958265997313\",\n      \"hold_reference\": \"order_12345\",\n      \"payout\": \"po_296645958265997315\",\n      \"payout_reference\": \"order_12345\",\n      \"excluded_until\": \"2024-02-15T10:30:00Z\",\n      \"snoozed_until\": \"2024-01-22T10:30:00Z\",\n      \"excluded_by\": \"john.smith@example.com\",\n      \"snoozed_by\": \"john.smith@example.com\",\n      \"test_mode\": false\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"60781455-3ab7-5598-bcb7-3384585ab33c","name":"Invalid request parameters.","originalRequest":{"url":{"path":["customer_block_reviews","rule",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"rl_296645958265997337","key":"id","description":"(Required) The unique identifier of the rule."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4ad79394-786e-5c8e-97d0-29ed903fdf46","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["customer_block_reviews","rule",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"rl_296645958265997337","key":"id","description":"(Required) The unique identifier of the rule."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3acb8466-f38a-5dc1-ad7d-db425f5c1f52","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["customer_block_reviews","rule",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"rl_296645958265997337","key":"id","description":"(Required) The unique identifier of the rule."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c9acef03-c9f4-548e-be42-c728f8a6dbc3","name":"Internal server error.","originalRequest":{"url":{"path":["customer_block_reviews","rule",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"rl_296645958265997337","key":"id","description":"(Required) The unique identifier of the rule."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"fe9459d1-3c91-5f3f-84b7-a4b0779af0f2","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["customer_block_reviews","rule",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"rl_296645958265997337","key":"id","description":"(Required) The unique identifier of the rule."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"dd414e7f-a92d-50f8-953e-9be9895ecfbd","name":"List excluded customers for a rule","request":{"name":"List excluded customers for a rule","description":{"content":"Returns a list of customers that are excluded from a rule. Only customers with non-expired exclusions are returned.","type":"text/plain"},"url":{"path":["customer_block_reviews","rule",":id","customers"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"rl_296645958265997337","key":"id","description":"(Required) The unique identifier of the rule."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"3d55aa49-9cd0-5232-8ac0-d3c8bc14b19d","name":"Returns a list of customer objects.","originalRequest":{"url":{"path":["customer_block_reviews","rule",":id","customers"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"rl_296645958265997337","key":"id","description":"(Required) The unique identifier of the rule."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"resource\": \"customers\",\n  \"data\": [\n    {\n      \"id\": \"cust_296645958265997317\",\n      \"resource\": \"customer\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"default_source\": \"pm_card_296645958265997316\",\n      \"email\": \"john.smith@example.com\",\n      \"metadata\": {},\n      \"name\": \"John Smith\",\n      \"phone\": \"+14155551234\",\n      \"reference_id\": \"cust_ext_abc123\",\n      \"address\": {\n        \"city\": \"San Francisco\",\n        \"country\": \"US\",\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"postal_code\": \"94102\",\n        \"state\": \"CA\"\n      },\n      \"shipping\": {\n        \"address\": {\n          \"city\": \"San Francisco\",\n          \"country\": \"US\",\n          \"line1\": \"123 Main Street\",\n          \"line2\": \"Suite 400\",\n          \"postal_code\": \"94102\",\n          \"state\": \"CA\"\n        },\n        \"name\": \"John Smith\",\n        \"phone\": \"+14155551234\"\n      },\n      \"test_mode\": false,\n      \"dob\": \"1985-07-15\",\n      \"national_identification_number\": \"123-45-6789\",\n      \"underlying_identifiers\": {\n        \"stripe\": {\n          \"acct_abc123xyz789\": \"cus_abc123xyz789\"\n        }\n      }\n    },\n    {\n      \"id\": \"cust_296645958265997317\",\n      \"resource\": \"customer\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"default_source\": \"pm_card_296645958265997316\",\n      \"email\": \"john.smith@example.com\",\n      \"metadata\": {},\n      \"name\": \"John Smith\",\n      \"phone\": \"+14155551234\",\n      \"reference_id\": \"cust_ext_abc123\",\n      \"address\": {\n        \"city\": \"San Francisco\",\n        \"country\": \"US\",\n        \"line1\": \"123 Main Street\",\n        \"line2\": \"Suite 400\",\n        \"postal_code\": \"94102\",\n        \"state\": \"CA\"\n      },\n      \"shipping\": {\n        \"address\": {\n          \"city\": \"San Francisco\",\n          \"country\": \"US\",\n          \"line1\": \"123 Main Street\",\n          \"line2\": \"Suite 400\",\n          \"postal_code\": \"94102\",\n          \"state\": \"CA\"\n        },\n        \"name\": \"John Smith\",\n        \"phone\": \"+14155551234\"\n      },\n      \"test_mode\": false,\n      \"dob\": \"1985-07-15\",\n      \"national_identification_number\": \"123-45-6789\",\n      \"underlying_identifiers\": {\n        \"stripe\": {\n          \"acct_abc123xyz789\": \"cus_abc123xyz789\"\n        }\n      }\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"505cf036-5b41-5816-b175-5a5a72dcadce","name":"Invalid request parameters.","originalRequest":{"url":{"path":["customer_block_reviews","rule",":id","customers"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"rl_296645958265997337","key":"id","description":"(Required) The unique identifier of the rule."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"5cdce917-a4e4-5d80-8166-d45f6839c3a1","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["customer_block_reviews","rule",":id","customers"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"rl_296645958265997337","key":"id","description":"(Required) The unique identifier of the rule."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ea9c18ac-743d-58fd-8d9d-a1318d40b48d","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["customer_block_reviews","rule",":id","customers"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"rl_296645958265997337","key":"id","description":"(Required) The unique identifier of the rule."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"240d23a5-e4cb-5f8c-9a6a-b2e417f1595e","name":"Internal server error.","originalRequest":{"url":{"path":["customer_block_reviews","rule",":id","customers"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"rl_296645958265997337","key":"id","description":"(Required) The unique identifier of the rule."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3423f9dd-5967-51a7-b47d-fb5ba35b833f","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["customer_block_reviews","rule",":id","customers"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"rl_296645958265997337","key":"id","description":"(Required) The unique identifier of the rule."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"c3764bf2-099e-5c2e-b659-ec96d3f57087","name":"List customer block reviews for a customer","request":{"name":"List customer block reviews for a customer","description":{"content":"Returns a list of customer block reviews for a customer. Only non-expired exclusions are returned. An unknown customer returns an empty `data` array, not 404.","type":"text/plain"},"url":{"path":["customer_block_reviews","customer",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_296645958265997317","key":"id","description":"(Required) Unique identifier for the customer."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"916c57c1-ef19-5814-9c68-469480fe54d7","name":"Returns a list of customer block review objects.","originalRequest":{"url":{"path":["customer_block_reviews","customer",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_296645958265997317","key":"id","description":"(Required) Unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"resource\": \"customer_block_reviews\",\n  \"data\": [\n    {\n      \"id\": \"cblrv_296645958265997338\",\n      \"resource\": \"customer_block_review\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"status\": \"excluded_temporary\",\n      \"customer\": \"cust_296645958265997317\",\n      \"customer_reference_id\": \"cust_ext_abc123\",\n      \"customer_email\": \"john.smith@example.com\",\n      \"customer_name\": \"John Smith\",\n      \"rule\": \"rl_296645958265997337\",\n      \"rule_description\": \"Block customers with 3 or more declined payments in 24 hours\",\n      \"payment_attempt\": \"psatt_296645958265997343_1\",\n      \"payment_session\": \"ps_296645958265997318\",\n      \"payment_session_reference\": \"order_12345\",\n      \"charge\": \"chrg_296645958265997312\",\n      \"charge_reference\": \"order_12345\",\n      \"hold\": \"hld_296645958265997313\",\n      \"hold_reference\": \"order_12345\",\n      \"payout\": \"po_296645958265997315\",\n      \"payout_reference\": \"order_12345\",\n      \"excluded_until\": \"2024-02-15T10:30:00Z\",\n      \"snoozed_until\": \"2024-01-22T10:30:00Z\",\n      \"excluded_by\": \"john.smith@example.com\",\n      \"snoozed_by\": \"john.smith@example.com\",\n      \"test_mode\": false\n    },\n    {\n      \"id\": \"cblrv_296645958265997338\",\n      \"resource\": \"customer_block_review\",\n      \"created\": \"2024-01-15T10:30:00Z\",\n      \"status\": \"excluded_temporary\",\n      \"customer\": \"cust_296645958265997317\",\n      \"customer_reference_id\": \"cust_ext_abc123\",\n      \"customer_email\": \"john.smith@example.com\",\n      \"customer_name\": \"John Smith\",\n      \"rule\": \"rl_296645958265997337\",\n      \"rule_description\": \"Block customers with 3 or more declined payments in 24 hours\",\n      \"payment_attempt\": \"psatt_296645958265997343_1\",\n      \"payment_session\": \"ps_296645958265997318\",\n      \"payment_session_reference\": \"order_12345\",\n      \"charge\": \"chrg_296645958265997312\",\n      \"charge_reference\": \"order_12345\",\n      \"hold\": \"hld_296645958265997313\",\n      \"hold_reference\": \"order_12345\",\n      \"payout\": \"po_296645958265997315\",\n      \"payout_reference\": \"order_12345\",\n      \"excluded_until\": \"2024-02-15T10:30:00Z\",\n      \"snoozed_until\": \"2024-01-22T10:30:00Z\",\n      \"excluded_by\": \"john.smith@example.com\",\n      \"snoozed_by\": \"john.smith@example.com\",\n      \"test_mode\": false\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2707b696-6d50-58b7-b3c4-4f64d63147e8","name":"Invalid request parameters.","originalRequest":{"url":{"path":["customer_block_reviews","customer",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_296645958265997317","key":"id","description":"(Required) Unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f9522c12-6eab-595d-b16a-dcc410aaa6fd","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["customer_block_reviews","customer",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_296645958265997317","key":"id","description":"(Required) Unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1a172fcb-80fe-5aeb-b6b0-3c616cb7cb99","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["customer_block_reviews","customer",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_296645958265997317","key":"id","description":"(Required) Unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"a60a9e27-88e5-57ba-824a-b4f0e7b9015b","name":"Internal server error.","originalRequest":{"url":{"path":["customer_block_reviews","customer",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_296645958265997317","key":"id","description":"(Required) Unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1c409c35-2e7a-5a79-93ea-a3895b4c477f","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["customer_block_reviews","customer",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"cust_296645958265997317","key":"id","description":"(Required) Unique identifier for the customer."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"e73dbc47-b37d-5e9b-ad3a-14609e2dc8e4","name":"TaxQuotes","description":{"content":"Create and retrieve tax quotes to calculate tax for a payment.","type":"text/plain"},"item":[{"id":"63973a02-00a2-5ac9-947d-4df691120db8","name":"Create a tax quote","request":{"name":"Create a tax quote","description":{"content":"Creates a tax quote for a set of line items. The quote can later be referenced\nfrom a charge or hold via `tax_options.tax_quote`. The merchant must have a default\ntax configuration and a connected Stripe account.","type":"text/plain"},"url":{"path":["tax_quotes"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"currency\": \"usd\",\n  \"customer_details\": {\n    \"address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    },\n    \"address_source\": \"billing\"\n  },\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"line_items\": [\n    {\n      \"amount\": 10000,\n      \"quantity\": 1,\n      \"reference\": \"order_12345\",\n      \"tax_behavior\": \"exclusive\",\n      \"tax_code\": \"txcd_77999999\"\n    }\n  ],\n  \"shipping_cost\": {\n    \"amount\": 500,\n    \"tax_behavior\": \"exclusive\",\n    \"tax_code\": \"txcd_76010001\"\n  }\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"09cbdbc8-0caf-57f4-8817-15ac386b0c4c","name":"Returns the created tax quote object.","originalRequest":{"url":{"path":["tax_quotes"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"txq_296645958265997339\",\n  \"resource\": \"tax_quote\",\n  \"amount_total\": 11393,\n  \"amount_total_human_readable\": \"113.93\",\n  \"tax_amount_exclusive\": 893,\n  \"tax_amount_inclusive\": 0,\n  \"currency\": \"usd\",\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"customer_details\": {\n    \"address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    },\n    \"address_source\": \"billing\",\n    \"ip_address\": \"203.0.113.10\",\n    \"tax_ids\": [\n      {\n        \"type\": \"eu_vat\",\n        \"value\": \"DE123456789\"\n      },\n      {\n        \"type\": \"eu_vat\",\n        \"value\": \"DE123456789\"\n      }\n    ]\n  },\n  \"ship_from_details\": {\n    \"address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  },\n  \"shipping_cost\": {\n    \"amount\": 500,\n    \"tax_amount\": 43,\n    \"tax_behavior\": \"exclusive\",\n    \"tax_code\": \"txcd_76010001\",\n    \"tax_breakdown\": [\n      {\n        \"amount\": \"850\",\n        \"inclusive\": false,\n        \"taxable_amount\": \"10000\",\n        \"tax_rate_details\": {\n          \"country\": \"US\",\n          \"state\": \"CA\",\n          \"tax_type\": \"sales_tax\",\n          \"rate_type\": \"percentage\",\n          \"percentage_decimal\": \"8.5\",\n          \"flat_amount\": {\n            \"amount\": \"100\",\n            \"currency\": \"usd\"\n          }\n        },\n        \"taxability_reason\": \"standard_rated\"\n      },\n      {\n        \"amount\": \"850\",\n        \"inclusive\": false,\n        \"taxable_amount\": \"10000\",\n        \"tax_rate_details\": {\n          \"country\": \"US\",\n          \"state\": \"CA\",\n          \"tax_type\": \"sales_tax\",\n          \"rate_type\": \"percentage\",\n          \"percentage_decimal\": \"8.5\",\n          \"flat_amount\": {\n            \"amount\": \"100\",\n            \"currency\": \"usd\"\n          }\n        },\n        \"taxability_reason\": \"standard_rated\"\n      }\n    ]\n  },\n  \"tax_breakdown\": [\n    {\n      \"amount\": \"850\",\n      \"inclusive\": false,\n      \"taxable_amount\": \"10000\",\n      \"tax_rate_details\": {\n        \"country\": \"US\",\n        \"state\": \"CA\",\n        \"tax_type\": \"sales_tax\",\n        \"rate_type\": \"percentage\",\n        \"percentage_decimal\": \"8.5\",\n        \"flat_amount\": {\n          \"amount\": \"100\",\n          \"currency\": \"usd\"\n        }\n      },\n      \"taxability_reason\": \"standard_rated\"\n    },\n    {\n      \"amount\": \"850\",\n      \"inclusive\": false,\n      \"taxable_amount\": \"10000\",\n      \"tax_rate_details\": {\n        \"country\": \"US\",\n        \"state\": \"CA\",\n        \"tax_type\": \"sales_tax\",\n        \"rate_type\": \"percentage\",\n        \"percentage_decimal\": \"8.5\",\n        \"flat_amount\": {\n          \"amount\": \"100\",\n          \"currency\": \"usd\"\n        }\n      },\n      \"taxability_reason\": \"standard_rated\"\n    }\n  ],\n  \"tax_date\": \"2024-01-15T10:30:00.000Z\",\n  \"expires\": \"2024-01-15T11:30:00.000Z\",\n  \"test_mode\": false,\n  \"created\": \"2024-01-15T10:30:00.000Z\",\n  \"line_items\": [\n    {\n      \"id\": \"txq_li_296645958265997340\",\n      \"resource\": \"tax_quote_line_item\",\n      \"amount\": 10000,\n      \"quantity\": 1,\n      \"reference\": \"order_12345\",\n      \"product\": \"prod_12345\",\n      \"tax_amount\": 850,\n      \"tax_behavior\": \"exclusive\",\n      \"tax_code\": \"txcd_77999999\",\n      \"taxability_reason\": \"standard_rated\",\n      \"tax_breakdown\": [\n        {\n          \"amount\": \"850\",\n          \"inclusive\": false,\n          \"taxable_amount\": \"10000\",\n          \"tax_rate_details\": {\n            \"country\": \"US\",\n            \"state\": \"CA\",\n            \"tax_type\": \"sales_tax\",\n            \"rate_type\": \"percentage\",\n            \"percentage_decimal\": \"8.5\",\n            \"flat_amount\": {\n              \"amount\": \"100\",\n              \"currency\": \"usd\"\n            }\n          },\n          \"taxability_reason\": \"standard_rated\"\n        },\n        {\n          \"amount\": \"850\",\n          \"inclusive\": false,\n          \"taxable_amount\": \"10000\",\n          \"tax_rate_details\": {\n            \"country\": \"US\",\n            \"state\": \"CA\",\n            \"tax_type\": \"sales_tax\",\n            \"rate_type\": \"percentage\",\n            \"percentage_decimal\": \"8.5\",\n            \"flat_amount\": {\n              \"amount\": \"100\",\n              \"currency\": \"usd\"\n            }\n          },\n          \"taxability_reason\": \"standard_rated\"\n        }\n      ]\n    },\n    {\n      \"id\": \"txq_li_296645958265997340\",\n      \"resource\": \"tax_quote_line_item\",\n      \"amount\": 10000,\n      \"quantity\": 1,\n      \"reference\": \"order_12345\",\n      \"product\": \"prod_12345\",\n      \"tax_amount\": 850,\n      \"tax_behavior\": \"exclusive\",\n      \"tax_code\": \"txcd_77999999\",\n      \"taxability_reason\": \"standard_rated\",\n      \"tax_breakdown\": [\n        {\n          \"amount\": \"850\",\n          \"inclusive\": false,\n          \"taxable_amount\": \"10000\",\n          \"tax_rate_details\": {\n            \"country\": \"US\",\n            \"state\": \"CA\",\n            \"tax_type\": \"sales_tax\",\n            \"rate_type\": \"percentage\",\n            \"percentage_decimal\": \"8.5\",\n            \"flat_amount\": {\n              \"amount\": \"100\",\n              \"currency\": \"usd\"\n            }\n          },\n          \"taxability_reason\": \"standard_rated\"\n        },\n        {\n          \"amount\": \"850\",\n          \"inclusive\": false,\n          \"taxable_amount\": \"10000\",\n          \"tax_rate_details\": {\n            \"country\": \"US\",\n            \"state\": \"CA\",\n            \"tax_type\": \"sales_tax\",\n            \"rate_type\": \"percentage\",\n            \"percentage_decimal\": \"8.5\",\n            \"flat_amount\": {\n              \"amount\": \"100\",\n              \"currency\": \"usd\"\n            }\n          },\n          \"taxability_reason\": \"standard_rated\"\n        }\n      ]\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3d4c81b6-b4c1-51ab-8b1b-ab07a447f3fe","name":"Invalid request parameters, or one of these errors:\n\n- `tax_configuration_required`: your account has no default tax configuration.\n- `stripe_connection_required`: your account has no connected Stripe account.\n- `customer_address_required`: the `customer` has no usable address; send `customer_details` instead.","originalRequest":{"url":{"path":["tax_quotes"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"aa6c99e1-6f8f-578a-abe6-bb8aae39b8ff","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["tax_quotes"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"b8610e31-58e5-5a22-9006-31a55d074f8c","name":"Tax quotes are not enabled for your account or API key.\n\nA 403 can also mean the key may not make this request; `code` says why.","originalRequest":{"url":{"path":["tax_quotes"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4124715c-89c7-5c4c-b80d-0ba71e42231e","name":"Customer not found (`customer_not_found`).","originalRequest":{"url":{"path":["tax_quotes"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"type\": \"invalid_request_error\",\n  \"code\": \"tax_configuration_required\",\n  \"message\": \"no default tax configuration; configure one before creating tax quotes\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"27d2f4c0-7884-5837-bfd4-9896696ecfb0","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["tax_quotes"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6553d29d-2289-5ea0-b7eb-2c9508dc7d51","name":"Internal server error.","originalRequest":{"url":{"path":["tax_quotes"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"type\": \"invalid_request_error\",\n  \"code\": \"tax_configuration_required\",\n  \"message\": \"no default tax configuration; configure one before creating tax quotes\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"2a16ecf6-e94e-56ac-9985-2bdb301d60e6","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["tax_quotes"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"65d6cc63-8338-57c3-b933-4b3813feafc4","name":"Retrieve a tax quote","request":{"name":"Retrieve a tax quote","description":{"content":"Retrieves the details of a tax quote.","type":"text/plain"},"url":{"path":["tax_quotes",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"txq_296645958265997339","key":"id","description":"(Required) The identifier of the tax quote."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"65d7aa32-2a63-5dae-89dd-8093aaa55463","name":"Returns the tax quote object.","originalRequest":{"url":{"path":["tax_quotes",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"txq_296645958265997339","key":"id","description":"(Required) The identifier of the tax quote."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"txq_296645958265997339\",\n  \"resource\": \"tax_quote\",\n  \"amount_total\": 11393,\n  \"amount_total_human_readable\": \"113.93\",\n  \"tax_amount_exclusive\": 893,\n  \"tax_amount_inclusive\": 0,\n  \"currency\": \"usd\",\n  \"customer\": \"cust_296645958265997317\",\n  \"customer_reference_id\": \"cust_ext_abc123\",\n  \"customer_details\": {\n    \"address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    },\n    \"address_source\": \"billing\",\n    \"ip_address\": \"203.0.113.10\",\n    \"tax_ids\": [\n      {\n        \"type\": \"eu_vat\",\n        \"value\": \"DE123456789\"\n      },\n      {\n        \"type\": \"eu_vat\",\n        \"value\": \"DE123456789\"\n      }\n    ]\n  },\n  \"ship_from_details\": {\n    \"address\": {\n      \"line1\": \"123 Main Street\",\n      \"line2\": \"Suite 400\",\n      \"city\": \"San Francisco\",\n      \"state\": \"CA\",\n      \"postal_code\": \"94102\",\n      \"country\": \"US\"\n    }\n  },\n  \"shipping_cost\": {\n    \"amount\": 500,\n    \"tax_amount\": 43,\n    \"tax_behavior\": \"exclusive\",\n    \"tax_code\": \"txcd_76010001\",\n    \"tax_breakdown\": [\n      {\n        \"amount\": \"850\",\n        \"inclusive\": false,\n        \"taxable_amount\": \"10000\",\n        \"tax_rate_details\": {\n          \"country\": \"US\",\n          \"state\": \"CA\",\n          \"tax_type\": \"sales_tax\",\n          \"rate_type\": \"percentage\",\n          \"percentage_decimal\": \"8.5\",\n          \"flat_amount\": {\n            \"amount\": \"100\",\n            \"currency\": \"usd\"\n          }\n        },\n        \"taxability_reason\": \"standard_rated\"\n      },\n      {\n        \"amount\": \"850\",\n        \"inclusive\": false,\n        \"taxable_amount\": \"10000\",\n        \"tax_rate_details\": {\n          \"country\": \"US\",\n          \"state\": \"CA\",\n          \"tax_type\": \"sales_tax\",\n          \"rate_type\": \"percentage\",\n          \"percentage_decimal\": \"8.5\",\n          \"flat_amount\": {\n            \"amount\": \"100\",\n            \"currency\": \"usd\"\n          }\n        },\n        \"taxability_reason\": \"standard_rated\"\n      }\n    ]\n  },\n  \"tax_breakdown\": [\n    {\n      \"amount\": \"850\",\n      \"inclusive\": false,\n      \"taxable_amount\": \"10000\",\n      \"tax_rate_details\": {\n        \"country\": \"US\",\n        \"state\": \"CA\",\n        \"tax_type\": \"sales_tax\",\n        \"rate_type\": \"percentage\",\n        \"percentage_decimal\": \"8.5\",\n        \"flat_amount\": {\n          \"amount\": \"100\",\n          \"currency\": \"usd\"\n        }\n      },\n      \"taxability_reason\": \"standard_rated\"\n    },\n    {\n      \"amount\": \"850\",\n      \"inclusive\": false,\n      \"taxable_amount\": \"10000\",\n      \"tax_rate_details\": {\n        \"country\": \"US\",\n        \"state\": \"CA\",\n        \"tax_type\": \"sales_tax\",\n        \"rate_type\": \"percentage\",\n        \"percentage_decimal\": \"8.5\",\n        \"flat_amount\": {\n          \"amount\": \"100\",\n          \"currency\": \"usd\"\n        }\n      },\n      \"taxability_reason\": \"standard_rated\"\n    }\n  ],\n  \"tax_date\": \"2024-01-15T10:30:00.000Z\",\n  \"expires\": \"2024-01-15T11:30:00.000Z\",\n  \"test_mode\": false,\n  \"created\": \"2024-01-15T10:30:00.000Z\",\n  \"line_items\": [\n    {\n      \"id\": \"txq_li_296645958265997340\",\n      \"resource\": \"tax_quote_line_item\",\n      \"amount\": 10000,\n      \"quantity\": 1,\n      \"reference\": \"order_12345\",\n      \"product\": \"prod_12345\",\n      \"tax_amount\": 850,\n      \"tax_behavior\": \"exclusive\",\n      \"tax_code\": \"txcd_77999999\",\n      \"taxability_reason\": \"standard_rated\",\n      \"tax_breakdown\": [\n        {\n          \"amount\": \"850\",\n          \"inclusive\": false,\n          \"taxable_amount\": \"10000\",\n          \"tax_rate_details\": {\n            \"country\": \"US\",\n            \"state\": \"CA\",\n            \"tax_type\": \"sales_tax\",\n            \"rate_type\": \"percentage\",\n            \"percentage_decimal\": \"8.5\",\n            \"flat_amount\": {\n              \"amount\": \"100\",\n              \"currency\": \"usd\"\n            }\n          },\n          \"taxability_reason\": \"standard_rated\"\n        },\n        {\n          \"amount\": \"850\",\n          \"inclusive\": false,\n          \"taxable_amount\": \"10000\",\n          \"tax_rate_details\": {\n            \"country\": \"US\",\n            \"state\": \"CA\",\n            \"tax_type\": \"sales_tax\",\n            \"rate_type\": \"percentage\",\n            \"percentage_decimal\": \"8.5\",\n            \"flat_amount\": {\n              \"amount\": \"100\",\n              \"currency\": \"usd\"\n            }\n          },\n          \"taxability_reason\": \"standard_rated\"\n        }\n      ]\n    },\n    {\n      \"id\": \"txq_li_296645958265997340\",\n      \"resource\": \"tax_quote_line_item\",\n      \"amount\": 10000,\n      \"quantity\": 1,\n      \"reference\": \"order_12345\",\n      \"product\": \"prod_12345\",\n      \"tax_amount\": 850,\n      \"tax_behavior\": \"exclusive\",\n      \"tax_code\": \"txcd_77999999\",\n      \"taxability_reason\": \"standard_rated\",\n      \"tax_breakdown\": [\n        {\n          \"amount\": \"850\",\n          \"inclusive\": false,\n          \"taxable_amount\": \"10000\",\n          \"tax_rate_details\": {\n            \"country\": \"US\",\n            \"state\": \"CA\",\n            \"tax_type\": \"sales_tax\",\n            \"rate_type\": \"percentage\",\n            \"percentage_decimal\": \"8.5\",\n            \"flat_amount\": {\n              \"amount\": \"100\",\n              \"currency\": \"usd\"\n            }\n          },\n          \"taxability_reason\": \"standard_rated\"\n        },\n        {\n          \"amount\": \"850\",\n          \"inclusive\": false,\n          \"taxable_amount\": \"10000\",\n          \"tax_rate_details\": {\n            \"country\": \"US\",\n            \"state\": \"CA\",\n            \"tax_type\": \"sales_tax\",\n            \"rate_type\": \"percentage\",\n            \"percentage_decimal\": \"8.5\",\n            \"flat_amount\": {\n              \"amount\": \"100\",\n              \"currency\": \"usd\"\n            }\n          },\n          \"taxability_reason\": \"standard_rated\"\n        }\n      ]\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1d2f21d4-e0d1-5469-bc52-ee3fc04aae37","name":"Invalid request parameters.","originalRequest":{"url":{"path":["tax_quotes",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"txq_296645958265997339","key":"id","description":"(Required) The identifier of the tax quote."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1ff0cfcb-078d-535a-b7b7-7ed125992324","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["tax_quotes",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"txq_296645958265997339","key":"id","description":"(Required) The identifier of the tax quote."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"1e513e1d-38a1-5731-aedb-3fec37e80012","name":"Tax quotes are not enabled for your account or API key.\n\nA 403 can also mean the key may not make this request; `code` says why.","originalRequest":{"url":{"path":["tax_quotes",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"txq_296645958265997339","key":"id","description":"(Required) The identifier of the tax quote."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4c504751-1886-50fb-bb72-c5404d768e59","name":"Tax quote not found.","originalRequest":{"url":{"path":["tax_quotes",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"txq_296645958265997339","key":"id","description":"(Required) The identifier of the tax quote."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"type\": \"invalid_request_error\",\n  \"code\": \"tax_configuration_required\",\n  \"message\": \"no default tax configuration; configure one before creating tax quotes\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"c1927885-3a3c-5e7e-9adc-dfcfdb9eadcc","name":"Internal server error.","originalRequest":{"url":{"path":["tax_quotes",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"txq_296645958265997339","key":"id","description":"(Required) The identifier of the tax quote."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"type\": \"invalid_request_error\",\n  \"code\": \"tax_configuration_required\",\n  \"message\": \"no default tax configuration; configure one before creating tax quotes\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8befeee7-a979-57c1-9ad7-eaab3216f543","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["tax_quotes",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"txq_296645958265997339","key":"id","description":"(Required) The identifier of the tax quote."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"dc55e643-c390-53db-b404-24719be0a72d","name":"ConfigurationSets","description":{"content":"Retrieve the payment methods available in your configuration sets.","type":"text/plain"},"item":[{"id":"6bc7cd10-9d04-58cd-a8ce-1639e5cf5ea4","name":"Retrieve default configuration set payment methods","request":{"name":"Retrieve default configuration set payment methods","description":{"content":"Retrieves the payment method types configured on the merchant's default configuration set.","type":"text/plain"},"url":{"path":["configuration_sets","default","payment_methods"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"1321d253-f765-558e-8323-19fa4c84fe98","name":"Returns a list of payment method types configured on the default configuration set.","originalRequest":{"url":{"path":["configuration_sets","default","payment_methods"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"[\n  \"card\",\n  \"applepay\"\n]","cookie":[],"_postman_previewlanguage":"json"},{"id":"2a9a9aa4-3577-5dba-a249-a45f1e3b6933","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["configuration_sets","default","payment_methods"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3c34439c-e8d0-574b-871c-f5104bf13763","name":"The API key does not have access to configuration sets.\n\nA 403 can also mean the key may not make this request; `code` says why.","originalRequest":{"url":{"path":["configuration_sets","default","payment_methods"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"889cd258-35c5-5c63-b2a1-5cc564cbf1b4","name":"Default configuration set not found.","originalRequest":{"url":{"path":["configuration_sets","default","payment_methods"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"6e3f3e14-3268-503f-94d8-5b264e558cde","name":"Internal server error.","originalRequest":{"url":{"path":["configuration_sets","default","payment_methods"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"13b92a12-87e6-5c77-a1a0-89f2c6023fc9","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["configuration_sets","default","payment_methods"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]},{"id":"09cd9ca3-bcbf-5051-a01e-a9151633fd12","name":"WebhookEndpoints","description":{"content":"Create and manage the endpoints Pay.com sends events to, and get the secret their events are signed with.","type":"text/plain"},"item":[{"id":"40ea9824-2fc1-5314-86bf-371abcfe55f0","name":"Create a webhook endpoint","request":{"name":"Create a webhook endpoint","description":{"content":"Creates a webhook endpoint that receives events of the given types. The response carries the endpoint's signing\nsecret, which no other request returns.","type":"text/plain"},"url":{"path":["webhook_endpoints"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"method":"POST","auth":null,"body":{"mode":"raw","raw":"{\n  \"url\": \"https://shop.example.com/webhooks/pay\",\n  \"event_types\": [\n    \"payment_session.completed\",\n    \"charge.succeeded\",\n    \"refund.succeeded\"\n  ],\n  \"name\": \"WooCommerce\"\n}","options":{"raw":{"language":"json"}}}},"response":[{"id":"aafd92ec-8d59-51e2-b3fb-85c5b5b8bcdf","name":"Returns the created webhook endpoint object.","originalRequest":{"url":{"path":["webhook_endpoints"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Created","code":201,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"we_296645958265997356\",\n  \"resource\": \"webhook_endpoint\",\n  \"enabled\": true,\n  \"event_types\": [\n    \"payment_session.completed\",\n    \"charge.succeeded\",\n    \"refund.succeeded\"\n  ],\n  \"name\": \"WooCommerce\",\n  \"secret\": \"0b6f1c52-7e2d-4c8b-9a41-5f3e8d2c7a19\",\n  \"url\": \"https://shop.example.com/webhooks/pay\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ce43fef3-8297-5ce2-82dd-57b96d79e6a3","name":"Invalid request parameters.","originalRequest":{"url":{"path":["webhook_endpoints"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3887bb58-b9df-5d95-b475-e000a83be5b1","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["webhook_endpoints"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"624f975e-e5ac-5db5-afe8-02d0dc1de094","name":"The API key may not subscribe to one or more of the event types (`event_type_not_allowed`). A key may subscribe\nonly to events about the resources it can read. A retry with the same `Idempotency-Key` is checked the same way.\n\nA 403 can also mean the key may not make this request; `code` says why.","originalRequest":{"url":{"path":["webhook_endpoints"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3e0600ee-e6d3-588c-b6cf-9c791d05fbe2","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["webhook_endpoints"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ce4b34f5-8eb8-5b1b-8109-046a7b555f87","name":"Internal server error.","originalRequest":{"url":{"path":["webhook_endpoints"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9c9ff43b-72f1-5a13-88c7-f0fd3c6ecb54","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["webhook_endpoints"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"POST","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"efdf07d0-d128-548f-9363-67863a4e084e","name":"List webhook endpoints","request":{"name":"List webhook endpoints","description":{"content":"Retrieves the list of webhook endpoints. Their secrets are not returned.","type":"text/plain"},"url":{"path":["webhook_endpoints"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"e075658b-ca14-505a-ab65-b6f94c5bd07e","name":"Returns a list of webhook endpoint objects.","originalRequest":{"url":{"path":["webhook_endpoints"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"resource\": \"webhook_endpoints\",\n  \"data\": [\n    {\n      \"id\": \"we_296645958265997356\",\n      \"resource\": \"webhook_endpoint\",\n      \"enabled\": true,\n      \"event_types\": [\n        \"payment_session.completed\",\n        \"charge.succeeded\",\n        \"refund.succeeded\"\n      ],\n      \"name\": \"WooCommerce\",\n      \"url\": \"https://shop.example.com/webhooks/pay\"\n    },\n    {\n      \"id\": \"we_296645958265997356\",\n      \"resource\": \"webhook_endpoint\",\n      \"enabled\": true,\n      \"event_types\": [\n        \"payment_session.completed\",\n        \"charge.succeeded\",\n        \"refund.succeeded\"\n      ],\n      \"name\": \"WooCommerce\",\n      \"url\": \"https://shop.example.com/webhooks/pay\"\n    }\n  ]\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ba837a43-280e-5b9e-a5fd-89e348cf5163","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["webhook_endpoints"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"8208721f-a92a-5e31-a980-86d34d8eee9f","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["webhook_endpoints"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"f3dc15fd-1ddb-5b33-a94b-487f6077407f","name":"Internal server error.","originalRequest":{"url":{"path":["webhook_endpoints"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"021f0d1d-45e9-5018-ae0e-d5cb26e3010a","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["webhook_endpoints"],"host":["{{pay_base_url}}"],"query":[],"variable":[]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"11e1677c-73c3-5248-9cc0-d9a264bda575","name":"Retrieve a webhook endpoint","request":{"name":"Retrieve a webhook endpoint","description":{"content":"Retrieves the details of a webhook endpoint. Its secret is not returned.","type":"text/plain"},"url":{"path":["webhook_endpoints",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"we_296645958265997356","key":"id","description":"(Required) The identifier of the webhook endpoint."}]},"header":[{"key":"Accept","value":"application/json"}],"method":"GET","auth":null},"response":[{"id":"8487a8c3-1748-55b0-bb15-70a9be1857ed","name":"Returns the webhook endpoint object.","originalRequest":{"url":{"path":["webhook_endpoints",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"we_296645958265997356","key":"id","description":"(Required) The identifier of the webhook endpoint."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"we_296645958265997356\",\n  \"resource\": \"webhook_endpoint\",\n  \"enabled\": true,\n  \"event_types\": [\n    \"payment_session.completed\",\n    \"charge.succeeded\",\n    \"refund.succeeded\"\n  ],\n  \"name\": \"WooCommerce\",\n  \"url\": \"https://shop.example.com/webhooks/pay\"\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4572f48b-db70-5579-b080-28640a8089ac","name":"Invalid request parameters.","originalRequest":{"url":{"path":["webhook_endpoints",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"we_296645958265997356","key":"id","description":"(Required) The identifier of the webhook endpoint."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9dbe8fe9-bb8a-553f-b367-84a582bee8cf","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["webhook_endpoints",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"we_296645958265997356","key":"id","description":"(Required) The identifier of the webhook endpoint."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"592ab817-ac9a-5cfe-b79e-cb29b2ce2af7","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["webhook_endpoints",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"we_296645958265997356","key":"id","description":"(Required) The identifier of the webhook endpoint."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"42eb5cda-58df-5aea-96cd-6adef0737245","name":"Webhook endpoint not found.","originalRequest":{"url":{"path":["webhook_endpoints",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"we_296645958265997356","key":"id","description":"(Required) The identifier of the webhook endpoint."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"3d8b45f2-931a-5f2e-b064-6032c9ebff19","name":"Internal server error.","originalRequest":{"url":{"path":["webhook_endpoints",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"we_296645958265997356","key":"id","description":"(Required) The identifier of the webhook endpoint."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"30688cce-7514-551a-8cb3-a860821c9796","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["webhook_endpoints",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"we_296645958265997356","key":"id","description":"(Required) The identifier of the webhook endpoint."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"key":"Accept","value":"application/json"}],"method":"GET","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}},{"id":"3a112423-48a4-5df9-94ac-beb3580eae85","name":"Delete a webhook endpoint","request":{"name":"Delete a webhook endpoint","description":{"content":"Deletes a webhook endpoint. Events are no longer sent to it.","type":"text/plain"},"url":{"path":["webhook_endpoints",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"we_296645958265997356","key":"id","description":"(Required) The identifier of the webhook endpoint."}]},"header":[{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"{{$guid}}"},{"key":"Accept","value":"application/json"}],"method":"DELETE","auth":null},"response":[{"id":"f3e4716b-4c27-502d-a35a-90734982eae4","name":"Returns the deleted webhook endpoint object.","originalRequest":{"url":{"path":["webhook_endpoints",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"we_296645958265997356","key":"id","description":"(Required) The identifier of the webhook endpoint."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"OK","code":200,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"id\": \"we_296645958265997356\",\n  \"resource\": \"webhook_endpoint\",\n  \"deleted\": true\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"31c9e96d-a142-5c06-8d18-42d91a443e70","name":"Invalid request parameters.","originalRequest":{"url":{"path":["webhook_endpoints",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"we_296645958265997356","key":"id","description":"(Required) The identifier of the webhook endpoint."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Bad Request","code":400,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_parameters\",\n    \"message\": \"ValidationError: \\\"amount\\\" is required\",\n    \"params\": [\n      {\n        \"path\": \"amount\",\n        \"message\": \"\\\"amount\\\" is required\"\n      }\n    ]\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"0175b343-d32d-5bf3-b074-6c517fa2b3d3","name":"The API key or access token is missing, unknown or no longer works (`invalid_key`, `invalid_token`, `legacy_keys_ended`, `legacy_keys_off` or `permission_denied`).","originalRequest":{"url":{"path":["webhook_endpoints",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"we_296645958265997356","key":"id","description":"(Required) The identifier of the webhook endpoint."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Unauthorized","code":401,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"invalid_key\",\n    \"message\": \"Invalid API key provided\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"347df7c6-7269-5a55-ad44-ea2670f714df","name":"The request was refused: the API key may not make it (for example `resource_not_allowed`, `key_disabled`, `network_not_allowed`, `pci_required` or `merchant_required`), or this resource isn't enabled for your account (`permission_denied`). `code` says why.","originalRequest":{"url":{"path":["webhook_endpoints",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"we_296645958265997356","key":"id","description":"(Required) The identifier of the webhook endpoint."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Forbidden","code":403,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_not_allowed\",\n    \"message\": \"API key does not have access permission to the requested resource.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"9f066894-278c-5206-b1c8-8ab9fc7b402b","name":"Webhook endpoint not found.","originalRequest":{"url":{"path":["webhook_endpoints",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"we_296645958265997356","key":"id","description":"(Required) The identifier of the webhook endpoint."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Not Found","code":404,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"invalid_request_error\",\n    \"code\": \"resource_missing\",\n    \"message\": \"Unable to find charge with id chrg_296645958265997312\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"4577097b-f6c4-5c03-b532-3b62a59b768e","name":"Another request with the same `idempotency-key` is still being processed (`request_in_progress`). Wait, then retry with the same key.","originalRequest":{"url":{"path":["webhook_endpoints",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"we_296645958265997356","key":"id","description":"(Required) The identifier of the webhook endpoint."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Conflict","code":409,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"idempotency_error\",\n    \"code\": \"request_in_progress\",\n    \"message\": \"Request is still being processed\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"181e4878-03f2-5eef-a210-e4fda1dad075","name":"Internal server error.","originalRequest":{"url":{"path":["webhook_endpoints",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"we_296645958265997356","key":"id","description":"(Required) The identifier of the webhook endpoint."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Internal Server Error","code":500,"header":[{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"internal_error\",\n    \"message\": \"Error with Pay.com's servers\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"},{"id":"ad22e05b-c720-5f7c-9090-40b5146a4762","name":"Service unavailable. Retry after the number of seconds in `Retry-After`, or after a few seconds when there's none.","originalRequest":{"url":{"path":["webhook_endpoints",":id"],"host":["{{pay_base_url}}"],"query":[],"variable":[{"disabled":false,"type":"any","value":"we_296645958265997356","key":"id","description":"(Required) The identifier of the webhook endpoint."}]},"header":[{"description":{"content":"Added as a part of security scheme: basic","type":"text/plain"},"key":"Authorization","value":"Basic <credentials>"},{"disabled":false,"description":"A unique key, such as a UUID, that makes a POST or DELETE request safe to retry. Pay.com keeps each key for 24 hours, separately for each workspace.\n\n- A retry with the same key, endpoint and body gets the first request's stored status and body, without running the request again.\n- If the first request is still being processed, a retry gets 409 `idempotency_error` (`request_in_progress`).\n- The same key on another endpoint, or with another body, gets 400 `idempotency_error` (`invalid_parameters`).\n- GET, PUT and PATCH requests ignore the key.\n\nThe response repeats the key in its `Idempotency-Key` header.","key":"idempotency-key","value":"123e4567-e89b-12d3-a456-426614174000"},{"key":"Accept","value":"application/json"}],"method":"DELETE","body":{}},"status":"Service Unavailable","code":503,"header":[{"disabled":false,"description":"Seconds to wait before retrying.","key":"Retry-After","value":"5"},{"key":"Content-Type","value":"application/json"}],"body":"{\n  \"error\": {\n    \"type\": \"api_error\",\n    \"code\": \"unavailable\",\n    \"message\": \"Try again in a moment.\"\n  }\n}","cookie":[],"_postman_previewlanguage":"json"}],"event":[],"protocolProfileBehavior":{"disableBodyPruning":true}}],"event":[]}],"event":[],"variable":[{"key":"pay_base_url","value":"https://api.sandbox.pay.com/v1","type":"string"},{"key":"pay_api_key","value":"","type":"string"}],"auth":{"type":"basic","basic":[{"key":"username","value":"","type":"string"},{"key":"password","value":"{{pay_api_key}}","type":"string"}]},"info":{"_postman_id":"0035d6a1-4e8f-57ef-a6a4-542be8b280a8","name":"Pay.com API Reference","schema":"https://schema.getpostman.com/json/collection/v2.1.0/collection.json","description":"Complete reference of all Pay.com API endpoints. Auto-generated from the OpenAPI specification."}}