Skip to content

Instantly share code, notes, and snippets.

@bhaity
Created September 6, 2024 00:27
Show Gist options
  • Save bhaity/cafb9fb868f9fd12e44a338326fecfa9 to your computer and use it in GitHub Desktop.
Save bhaity/cafb9fb868f9fd12e44a338326fecfa9 to your computer and use it in GitHub Desktop.
v2 accounts postman collection 9/5
{
"info": {
"_postman_id": "9ba14c5d-9015-417d-afe3-08b6ba964195",
"name": "bapi-srv v2 accounts Copy",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json",
"_exporter_id": "37558999"
},
"item": [
{
"name": "Charges and Transfers",
"item": [
{
"name": "Create payment intent",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript",
"packages": {}
}
}
],
"request": {
"auth": {
"type": "bearer",
"bearer": {
"token": "{{api_key}}"
}
},
"method": "POST",
"header": [
{
"key": "host",
"value": "{{stripe_host}}",
"type": "text"
}
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "customer",
"value": "{{v2_account_id}}",
"type": "text"
},
{
"key": "payment_method",
"value": "pm_card_visa",
"type": "text"
},
{
"key": "confirm",
"value": "true",
"type": "text"
}
]
},
"url": "{{stripe_url}}/v1/setup_intents"
},
"response": []
},
{
"name": "Create product with recurring price",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript",
"packages": {}
}
}
],
"request": {
"auth": {
"type": "bearer",
"bearer": {
"token": "{{api_key}}"
}
},
"method": "POST",
"header": [
{
"key": "host",
"value": "{{stripe_host}}",
"type": "text"
}
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "unit_amount",
"value": "2200",
"type": "text"
},
{
"key": "currency",
"value": "usd",
"type": "text"
},
{
"key": "product_data[name]",
"value": "cool socks",
"type": "text"
},
{
"key": "recurring[interval]",
"value": "month",
"type": "text"
}
]
},
"url": "{{stripe_url}}/v1/prices"
},
"response": []
},
{
"name": "Create subscription",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript",
"packages": {}
}
}
],
"request": {
"auth": {
"type": "bearer",
"bearer": {
"token": "{{api_key}}"
}
},
"method": "POST",
"header": [
{
"key": "host",
"value": "{{stripe_host}}",
"type": "text"
}
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "customer",
"value": "{{v2_account_id}}",
"type": "text"
},
{
"key": "items[0][price]",
"value": "price_1PtYZyP0I5skMN32dyeSIUxj",
"type": "text"
},
{
"key": "items[0][quantity]",
"value": "12",
"type": "text"
},
{
"key": "default_payment_method",
"value": "pm_1PtYZiP0I5skMN32Qndd8dCl",
"type": "text"
}
]
},
"url": "{{stripe_url}}/v1/subscriptions"
},
"response": []
},
{
"name": "Create direct charge",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript",
"packages": {}
}
}
],
"request": {
"auth": {
"type": "bearer",
"bearer": {
"token": "{{api_key}}"
}
},
"method": "POST",
"header": [
{
"key": "host",
"value": "{{stripe_host}}",
"type": "text"
},
{
"key": "Stripe-Account",
"value": "{{v1_account_id}}",
"type": "text"
}
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "payment_method",
"value": "pm_card_visa",
"type": "text"
},
{
"key": "amount",
"value": "2000",
"type": "text"
},
{
"key": "currency",
"value": "usd",
"type": "text"
},
{
"key": "automatic_payment_methods[enabled]",
"value": "true",
"type": "text"
},
{
"key": "automatic_payment_methods[allow_redirects]",
"value": "never",
"type": "text"
},
{
"key": "confirm",
"value": "true",
"type": "default"
}
]
},
"url": "{{stripe_url}}/v1/payment_intents"
},
"response": []
},
{
"name": "/v1/balance",
"request": {
"auth": {
"type": "bearer",
"bearer": {
"token": "{{api_key}}"
}
},
"method": "GET",
"header": [
{
"key": "host",
"value": "{{stripe_host}}",
"type": "text"
},
{
"key": "Stripe-Account",
"value": "{{v1_account_id}}",
"type": "text"
}
],
"url": "{{stripe_url}}/v1/balance"
},
"response": []
},
{
"name": "Create direct charge (on platform)",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript",
"packages": {}
}
}
],
"request": {
"auth": {
"type": "bearer",
"bearer": {
"token": "{{api_key}}"
}
},
"method": "POST",
"header": [
{
"key": "host",
"value": "{{stripe_host}}",
"type": "text"
}
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "payment_method",
"value": "pm_card_bypassPending",
"type": "text"
},
{
"key": "amount",
"value": "5000",
"type": "text"
},
{
"key": "currency",
"value": "usd",
"type": "text"
},
{
"key": "automatic_payment_methods[enabled]",
"value": "true",
"type": "text"
},
{
"key": "automatic_payment_methods[allow_redirects]",
"value": "never",
"type": "text"
},
{
"key": "confirm",
"value": "true",
"type": "default"
}
]
},
"url": "{{stripe_url}}/v1/payment_intents"
},
"response": []
},
{
"name": "Create transfer",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript",
"packages": {}
}
}
],
"request": {
"auth": {
"type": "bearer",
"bearer": {
"token": "{{api_key}}"
}
},
"method": "POST",
"header": [
{
"key": "host",
"value": "{{stripe_host}}",
"type": "text"
}
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "amount",
"value": "1000",
"type": "text"
},
{
"key": "currency",
"value": "usd",
"type": "text"
},
{
"key": "destination",
"value": "{{v1_account_id}}",
"type": "default"
}
]
},
"url": "{{stripe_url}}/v1/transfers"
},
"response": []
},
{
"name": "Create invoice",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript",
"packages": {}
}
}
],
"request": {
"auth": {
"type": "bearer",
"bearer": {
"token": "{{api_key}}"
}
},
"method": "POST",
"header": [
{
"key": "host",
"value": "{{stripe_host}}",
"type": "text"
}
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "customer",
"value": "{{v2_account_id}}",
"type": "default"
}
]
},
"url": "{{stripe_url}}/v1/invoices"
},
"response": []
},
{
"name": "Finalize Invoice",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
""
],
"type": "text/javascript",
"packages": {}
}
}
],
"request": {
"auth": {
"type": "bearer",
"bearer": {
"token": "{{api_key}}"
}
},
"method": "POST",
"header": [
{
"key": "host",
"value": "{{stripe_host}}",
"type": "text"
}
],
"body": {
"mode": "urlencoded",
"urlencoded": []
},
"url": "{{stripe_url}}/v1/invoices/in_1PtYbdP0I5skMN32UURxOjOo/pay"
},
"response": []
}
]
},
{
"name": "Persons",
"item": [
{
"name": "Create v2 account with Identity",
"request": {
"auth": {
"type": "bearer",
"bearer": {
"token": "{{api_key}}"
}
},
"method": "POST",
"header": [
{
"key": "host",
"value": "{{stripe_host}}",
"type": "text",
"disabled": true
},
{
"key": "Stripe-Version",
"value": "unsafe-development",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"contact_email\": \"[email protected]\",\n \"display_name\": \"moirassd account\",\n \"identity\": {\n \"country\": \"US\",\n \"type\": \"individual\",\n \"business_entity\": {\n \"name\": \"Rose Hotels\",\n \"id_numbers\": [\n {\n \"type\": \"us_taxpayer_id_number\",\n \"value\": \"000000000\"\n }\n ]\n }\n },\n \"include\": [\n \"identity\"\n ]\n}"
},
"url": "{{stripe_url}}/v2/accounts_api"
},
"response": [
{
"name": "Create v2 account (basic)",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "host",
"value": "{{stripe_host}}",
"type": "text",
"disabled": true
},
{
"key": "Stripe-Version",
"value": "unsafe-development",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"[email protected]\",\n \"name\": \"moirassd account\",\n \"legal_entity_data\": {\n \"country\": \"US\",\n \"business_type\": \"individual\"\n },\n \"include\": [\n \"legal_entity_data\"\n ]\n}"
},
"url": "{{stripe_url}}/v2/accounts_api"
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "nginx"
},
{
"key": "Date",
"value": "Tue, 30 Jul 2024 19:49:38 GMT"
},
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Content-Length",
"value": "616"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Access-Control-Allow-Methods",
"value": "GET,HEAD,PUT,PATCH,POST,DELETE"
},
{
"key": "Access-Control-Allow-Origin",
"value": "*"
},
{
"key": "Access-Control-Expose-Headers",
"value": "Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required"
},
{
"key": "Access-Control-Max-Age",
"value": "300"
},
{
"key": "Cache-Control",
"value": "max-age=0, no-cache, no-store, must-revalidate"
},
{
"key": "Content-Security-Policy",
"value": "default-src: none; base-uri: none; form-action: none; frame-ancestors: none; img-src: none; script-src: none; style-src: none;"
},
{
"key": "Cross-Origin-Opener-Policy",
"value": "same-origin"
},
{
"key": "Expires",
"value": "0"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Referrer-Policy",
"value": "strict-origin-when-cross-origin"
},
{
"key": "Request-Id",
"value": "req_v2acowrpYJmjIp0Yj"
},
{
"key": "Stripe-Action-Id",
"value": "qa_iad2DRprdbNPUj717YEkdJQ"
},
{
"key": "Vary",
"value": "Origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-Robots-Tag",
"value": "none"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=63072000; includeSubDomains; preload"
}
],
"cookie": [],
"body": "{\n \"id\": \"acct_test_61Qrk0YJtOtNAEobI16Qrk0X0WSQKEpHN068s19MeS4m\",\n \"object\": \"account\",\n \"applied_configurations\": [],\n \"configuration\": null,\n \"created\": \"2024-07-30T19:49:38.000Z\",\n \"business_profile_data\": null,\n \"legal_entity_data\": {\n \"business_entity\": {\n \"address\": null,\n \"directors_provided\": null,\n \"executives_provided\": null,\n \"id_numbers\": [],\n \"name\": null,\n \"owners_provided\": null,\n \"ownership_declaration\": null,\n \"phone\": null,\n \"script_addresses\": [],\n \"script_names\": [],\n \"structure\": null\n },\n \"business_type\": \"individual\",\n \"country\": \"US\",\n \"representative\": null,\n \"tos_acceptance\": null\n },\n \"email\": \"[email protected]\",\n \"metadata\": {},\n \"name\": \"moirassd account\"\n}"
}
]
},
{
"name": "Create v2 persons",
"request": {
"auth": {
"type": "bearer",
"bearer": {
"token": "{{api_key}}"
}
},
"method": "POST",
"header": [
{
"key": "host",
"value": "{{stripe_host}}",
"type": "text",
"disabled": true
},
{
"key": "Stripe-Version",
"value": "unsafe-development",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"given_name\": \"Moira\",\n \"surname\": \"Rose\",\n \"address\": {\n \"line1\": \"address_full_match\",\n \"city\": \"San Francisco\",\n \"postal_code\": \"94080\",\n \"state\": \"CA\",\n \"country\": \"US\"\n },\n \"date_of_birth\": {\n \"day\": 28,\n \"month\": 1,\n \"year\": 2000\n },\n \"email\": \"[email protected]\",\n \"phone\": \"213-712-2878\",\n \"id_numbers\": [\n {\n \"type\": \"us_ssn_last_4\",\n \"value\": \"0000\"\n }\n ],\n \"relationship\": {\n \"representative\": true\n }\n}"
},
"url": "{{stripe_url}}/v2/accounts_api/{{v2_account_id}}/persons"
},
"response": []
},
{
"name": "Get v2 Person",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"auth": {
"type": "bearer",
"bearer": {
"token": "{{api_key}}"
}
},
"method": "GET",
"header": [
{
"key": "host",
"value": "{{stripe_host}}",
"type": "text",
"disabled": true
},
{
"key": "Stripe-Version",
"value": "unsafe-development",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/grpc",
"type": "text",
"disabled": true
}
],
"body": {
"mode": "raw",
"raw": "{\n \"limit\": 1\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{stripe_url}}/v2/accounts_api/{{v2_account_id}}/persons/person_test_61R2waIhi3HR0WOcC16R2wZm0jSQQYAGWR2rEkTxw3uC"
},
"response": []
},
{
"name": "List v2 accounts Persons",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"auth": {
"type": "bearer",
"bearer": {
"token": "{{api_key}}"
}
},
"method": "GET",
"header": [
{
"key": "host",
"value": "{{stripe_host}}",
"type": "text",
"disabled": true
},
{
"key": "Stripe-Version",
"value": "unsafe-development",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/grpc",
"type": "text",
"disabled": true
}
],
"body": {
"mode": "raw",
"raw": "{\n \"limit\": 1\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{stripe_url}}/v2/accounts_api/{{v2_account_id}}/persons"
},
"response": []
}
]
},
{
"name": "Incremental updates",
"item": [
{
"name": "Configure account as customer with no features",
"request": {
"auth": {
"type": "bearer",
"bearer": {
"token": "{{api_key}}"
}
},
"method": "POST",
"header": [
{
"key": "host",
"value": "{{stripe_host}}",
"type": "text",
"disabled": true
},
{
"key": "Stripe-Version",
"value": "unsafe-development",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"configuration\": {\n \"customer_data\": {}\n },\n \"include\": [\n \"configuration.customer\"\n ]\n}"
},
"url": "{{stripe_url}}/v2/accounts_api/{{v2_account_id}}"
},
"response": []
},
{
"name": "Request customer features",
"request": {
"auth": {
"type": "bearer",
"bearer": {
"token": "{{api_key}}"
}
},
"method": "POST",
"header": [
{
"key": "host",
"value": "{{stripe_host}}",
"type": "text",
"disabled": true
},
{
"key": "Stripe-Version",
"value": "unsafe-development",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"configuration\": {\n \"customer_data\": {\n \"features\": {\n \"tax_collection\": {\n \"requested\": true\n }\n }\n }\n },\n \"include\": [\n \"configuration.customer\"\n ]\n}"
},
"url": "{{stripe_url}}/v2/accounts_api/{{v2_account_id}}"
},
"response": []
},
{
"name": "Supply customer information",
"request": {
"auth": {
"type": "bearer",
"bearer": {
"token": "{{api_key}}"
}
},
"method": "POST",
"header": [
{
"key": "host",
"value": "{{stripe_host}}",
"type": "text",
"disabled": true
},
{
"key": "Stripe-Version",
"value": "unsafe-development",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"configuration\": {\n \"customer_data\": {\n \"shipping\": {\n \"address\": {\n \"postal_code\": \"94588\",\n \"country\": \"US\"\n }\n }\n }\n },\n \"include\": [\n \"configuration.customer\"\n ]\n}"
},
"url": "{{stripe_url}}/v2/accounts_api/{{v2_account_id}}"
},
"response": []
},
{
"name": "Configure account as merchant",
"request": {
"auth": {
"type": "bearer",
"bearer": {
"token": "{{api_key}}"
}
},
"method": "POST",
"header": [
{
"key": "host",
"value": "{{stripe_host}}",
"type": "text",
"disabled": true
},
{
"key": "Stripe-Version",
"value": "unsafe-development",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"identity\": {\n \"business_entity\": {\n \"url\": \"http://accessible.stripe.com\"\n }\n },\n \"configuration\": {\n \"merchant\": {\n \"mcc\": \"5734\",\n \"statement_descriptor\": \"Rose hotels\",\n \"card_payments\": {\n \"decline_on\": {\n \"avs_failure\": true,\n \"cvc_failure\": true\n }\n },\n \"support\": {\n \"support_address\": {\n \"city\": \"San Jose\",\n \"state\": \"CA\"\n },\n \"support_email\": \"[email protected]\"\n },\n \"features\": {\n \"card_payments\": {\n \"requested\": true\n }\n }\n }\n },\n \"include\": [\n \"configuration.merchant\"\n ]\n}"
},
"url": "{{stripe_url}}/v2/accounts_api/{{v2_account_id}}"
},
"response": [
{
"name": "Configure account as merchant",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "host",
"value": "{{stripe_host}}",
"type": "text",
"disabled": true
},
{
"key": "Stripe-Version",
"value": "unsafe-development",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"business_profile_data\": {\n \"mcc\": \"5734\",\n \"url\": \"http://accessible.stripe.com\"\n },\n \"configuration\": {\n \"merchant_data\": {\n \"statement_descriptor\": \"Rose hotels\",\n \"statement_descriptor_prefix\": \"Rose H\",\n \"card_payments\": {\n \"decline_on\": {\n \"avs_failure\": true,\n \"cvc_failure\": true\n }\n },\n \"features\": {\n \"card_payments\": {\n \"requested\": true\n }\n }\n }\n },\n \"include\": [\n \"configuration.merchant_data\"\n ]\n}"
},
"url": "{{stripe_url}}/v2/accounts_api/{{v2_account_id}}"
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "nginx"
},
{
"key": "Date",
"value": "Wed, 31 Jul 2024 16:28:44 GMT"
},
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Content-Length",
"value": "649"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Access-Control-Allow-Methods",
"value": "GET,HEAD,PUT,PATCH,POST,DELETE"
},
{
"key": "Access-Control-Allow-Origin",
"value": "*"
},
{
"key": "Access-Control-Expose-Headers",
"value": "Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required"
},
{
"key": "Access-Control-Max-Age",
"value": "300"
},
{
"key": "Cache-Control",
"value": "max-age=0, no-cache, no-store, must-revalidate"
},
{
"key": "Content-Security-Policy",
"value": "default-src: none; base-uri: none; form-action: none; frame-ancestors: none; img-src: none; script-src: none; style-src: none;"
},
{
"key": "Cross-Origin-Opener-Policy",
"value": "same-origin"
},
{
"key": "Expires",
"value": "0"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Referrer-Policy",
"value": "strict-origin-when-cross-origin"
},
{
"key": "Request-Id",
"value": "req_v2OMWqKK1qvCUTbzU"
},
{
"key": "Stripe-Action-Id",
"value": "qa_iad1DRs5ygig8a06teKrCos"
},
{
"key": "Vary",
"value": "Origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-Robots-Tag",
"value": "none"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=63072000; includeSubDomains; preload"
}
],
"cookie": [],
"body": "{\n \"id\": \"acct_test_61Qs3GbXtYfda0v9E16Qs3Gb0WSQYu5zMuohqR3XMROi\",\n \"object\": \"account\",\n \"applied_configurations\": [\n \"customer\",\n \"merchant\"\n ],\n \"configuration\": {\n \"customer_data\": null,\n \"merchant_data\": {\n \"card_payments\": {\n \"decline_on\": {\n \"avs_failure\": true,\n \"cvc_failure\": true\n }\n },\n \"features\": {\n \"card_payments\": {\n \"requested\": true,\n \"status\": \"restricted\",\n \"status_details\": []\n }\n },\n \"statement_descriptor\": \"Rose hotels\",\n \"statement_descriptor_prefix\": \"Rose H\",\n \"v1_account_id\": \"acct_1PifOC09K2lt2xRt\"\n },\n \"recipient_data\": null\n },\n \"created\": \"2024-07-31T16:23:29.000Z\",\n \"business_profile_data\": null,\n \"legal_entity_data\": null,\n \"email\": \"[email protected]\",\n \"metadata\": {},\n \"name\": \"moirassd account\"\n}"
}
]
},
{
"name": "Configure account as recipient",
"request": {
"auth": {
"type": "bearer",
"bearer": {
"token": "{{api_key}}"
}
},
"method": "POST",
"header": [
{
"key": "host",
"value": "{{stripe_host}}",
"type": "text",
"disabled": true
},
{
"key": "Stripe-Version",
"value": "unsafe-development",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"configuration\": {\n \"recipient\": {\n \"features\": {\n \"transfers\": {\n \"requested\": true\n }\n }\n }\n },\n \"include\": [\n \"configuration.recipient\"\n ]\n}"
},
"url": "{{stripe_url}}/v2/accounts_api/{{v2_account_id}}"
},
"response": [
{
"name": "Configure account as merchant",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "host",
"value": "{{stripe_host}}",
"type": "text",
"disabled": true
},
{
"key": "Stripe-Version",
"value": "unsafe-development",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"business_profile_data\": {\n \"mcc\": \"5734\",\n \"url\": \"http://accessible.stripe.com\"\n },\n \"configuration\": {\n \"merchant_data\": {\n \"statement_descriptor\": \"Rose hotels\",\n \"statement_descriptor_prefix\": \"Rose H\",\n \"card_payments\": {\n \"decline_on\": {\n \"avs_failure\": true,\n \"cvc_failure\": true\n }\n },\n \"features\": {\n \"card_payments\": {\n \"requested\": true\n }\n }\n }\n },\n \"include\": [\n \"configuration.merchant_data\"\n ]\n}"
},
"url": "{{stripe_url}}/v2/accounts_api/{{v2_account_id}}"
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "nginx"
},
{
"key": "Date",
"value": "Wed, 31 Jul 2024 16:28:44 GMT"
},
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Content-Length",
"value": "649"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Access-Control-Allow-Methods",
"value": "GET,HEAD,PUT,PATCH,POST,DELETE"
},
{
"key": "Access-Control-Allow-Origin",
"value": "*"
},
{
"key": "Access-Control-Expose-Headers",
"value": "Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required"
},
{
"key": "Access-Control-Max-Age",
"value": "300"
},
{
"key": "Cache-Control",
"value": "max-age=0, no-cache, no-store, must-revalidate"
},
{
"key": "Content-Security-Policy",
"value": "default-src: none; base-uri: none; form-action: none; frame-ancestors: none; img-src: none; script-src: none; style-src: none;"
},
{
"key": "Cross-Origin-Opener-Policy",
"value": "same-origin"
},
{
"key": "Expires",
"value": "0"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Referrer-Policy",
"value": "strict-origin-when-cross-origin"
},
{
"key": "Request-Id",
"value": "req_v2OMWqKK1qvCUTbzU"
},
{
"key": "Stripe-Action-Id",
"value": "qa_iad1DRs5ygig8a06teKrCos"
},
{
"key": "Vary",
"value": "Origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-Robots-Tag",
"value": "none"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=63072000; includeSubDomains; preload"
}
],
"cookie": [],
"body": "{\n \"id\": \"acct_test_61Qs3GbXtYfda0v9E16Qs3Gb0WSQYu5zMuohqR3XMROi\",\n \"object\": \"account\",\n \"applied_configurations\": [\n \"customer\",\n \"merchant\"\n ],\n \"configuration\": {\n \"customer_data\": null,\n \"merchant_data\": {\n \"card_payments\": {\n \"decline_on\": {\n \"avs_failure\": true,\n \"cvc_failure\": true\n }\n },\n \"features\": {\n \"card_payments\": {\n \"requested\": true,\n \"status\": \"restricted\",\n \"status_details\": []\n }\n },\n \"statement_descriptor\": \"Rose hotels\",\n \"statement_descriptor_prefix\": \"Rose H\",\n \"v1_account_id\": \"acct_1PifOC09K2lt2xRt\"\n },\n \"recipient_data\": null\n },\n \"created\": \"2024-07-31T16:23:29.000Z\",\n \"business_profile_data\": null,\n \"legal_entity_data\": null,\n \"email\": \"[email protected]\",\n \"metadata\": {},\n \"name\": \"moirassd account\"\n}"
}
]
}
]
},
{
"name": "Create v2 account",
"request": {
"auth": {
"type": "bearer",
"bearer": {
"token": "{{api_key}}"
}
},
"method": "POST",
"header": [
{
"key": "Stripe-Version",
"value": "unsafe-development",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"contact_email\": \"[email protected]\",\n \"display_name\": \"moirassd account\",\n \"identity\": {\n \"country\": \"US\",\n \"type\": \"individual\",\n \"business_entity\": {\n \"url\": \"http://accessible.stripe.com\",\n \"name\": \"Rose Hotels\",\n \"id_numbers\": [\n {\n \"type\": \"us_taxpayer_id_number\",\n \"value\": \"000000000\"\n }\n ]\n },\n \"individual\": {\n \"given_name\": \"Moira\",\n \"surname\": \"Rose\",\n \"address\": {\n \"line1\": \"address_full_match\",\n \"city\": \"San Francisco\",\n \"postal_code\": \"94080\",\n \"state\": \"CA\",\n \"country\": \"US\"\n },\n \"date_of_birth\": {\n \"day\": 28,\n \"month\": 1,\n \"year\": 2000\n },\n \"email\": \"[email protected]\",\n \"phone\": \"213-712-2878\",\n \"id_numbers\": [\n {\n \"type\": \"us_ssn_last_4\",\n \"value\": \"0000\"\n }\n ]\n }\n },\n \"configuration\": {\n \"customer_data\": {\n \"shipping\": {\n \"phone\": \"11234567890\",\n \"name\": \"Rose hotels\",\n \"address\": {\n \"line1\": \"308399 Hockley Rd\",\n \"city\": \"San Francisco\",\n \"state\": \"California\",\n \"country\": \"US\",\n \"postal_code\": \"94080\"\n }\n },\n \"features\": {\n \"tax_collection\": {\n \"requested\": true\n }\n },\n \"tax_collection\": {\n \"exempt\": \"none\",\n \"ip_address\": null\n // \"location_source\": \"billing_address\",\n // \"location\": null\n },\n \"invoicing\": {\n \"footer\": \"my custom footer\"\n }\n },\n \"merchant\": {\n \"mcc\": \"5734\",\n \"statement_descriptor\": \"Rose hotels\",\n \"statement_descriptor_prefix\": \"Test\",\n \"card_payments\": {\n \"decline_on\": {\n \"avs_failure\": true,\n \"cvc_failure\": true\n }\n },\n \"support\": {\n \"support_address\": {\n \"city\": \"San Jose\",\n \"state\": \"CA\"\n },\n \"support_email\": \"[email protected]\"\n },\n \"features\": {\n \"card_payments\": {\n \"requested\": true\n }\n }\n },\n \"recipient\": {\n \"features\": {\n \"transfers\": {\n \"requested\": true\n }\n }\n }\n },\n \"metadata\": {\n \"my_key\": \"my_value\"\n },\n \"include\": [\n \"configuration.customer\",\n \"configuration.merchant\",\n \"configuration.recipient\",\n \"identity\"\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{stripe_url}}/v2/accounts_api"
},
"response": [
{
"name": "Create v2 account",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Stripe-Version",
"value": "unsafe-development",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"[email protected]\",\n \"name\": \"moirassd account\",\n \"legal_entity_data\": {\n \"country\": \"US\",\n \"business_type\": \"individual\",\n \"business_entity\": {\n \"name\": \"Rose Hotels\",\n \"id_numbers\": [\n {\n \"type\": \"us_taxpayer_id_number\",\n \"value\": \"000000000\"\n }\n ]\n },\n \"representative\": {\n \"given_name\": \"Moira\",\n \"surname\": \"Rose\",\n \"address\": {\n \"line1\": \"address_full_match\",\n \"city\": \"San Francisco\",\n \"postal_code\": \"94080\",\n \"state\": \"CA\",\n \"country\": \"US\"\n },\n \"dob\": {\n \"day\": 28,\n \"month\": 1,\n \"year\": 2000\n },\n \"email\": \"[email protected]\",\n \"phone\": \"213-712-2878\",\n \"id_numbers\": [\n {\n \"type\": \"us_ssn_last_4\",\n \"value\": \"0000\"\n }\n ]\n }\n },\n \"business_profile_data\": {\n \"mcc\": \"5734\",\n \"url\": \"http://accessible.stripe.com\"\n },\n \"configuration\": {\n \"customer_data\": {\n \"shipping_contact\": {\n \"phone\": \"11234567890\",\n \"name\": \"Rose hotels\",\n \"address\": {\n \"line1\": \"308399 Hockley Rd\",\n \"city\": \"San Francisco\",\n \"state\": \"California\",\n \"country\": \"US\",\n \"postal_code\": \"94080\"\n }\n },\n \"features\": {\n \"tax_collection\": {\n \"requested\": true\n }\n },\n \"tax_collection_settings\": {\n \"exempt\": \"none\",\n \"ip_address\": null\n }\n },\n \"merchant_data\": {\n \"statement_descriptor\": \"Rose hotels\",\n \"statement_descriptor_prefix\": \"Test\",\n \"card_payments\": {\n \"decline_on\": {\n \"avs_failure\": true,\n \"cvc_failure\": true\n }\n },\n \"features\": {\n \"card_payments\": {\n \"requested\": true\n }\n }\n },\n \"recipient_data\": {\n \"features\": {\n \"transfers\": {\n \"requested\": true\n }\n }\n }\n },\n \"metadata\": {\n \"my_key\": \"my_value\"\n },\n \"include\": [\n \"configuration.customer_data\",\n \"configuration.merchant_data\",\n \"configuration.recipient_data\"\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{stripe_url}}/v2/accounts_api"
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "nginx"
},
{
"key": "Date",
"value": "Tue, 30 Jul 2024 20:02:03 GMT"
},
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Content-Length",
"value": "1108"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Access-Control-Allow-Methods",
"value": "GET,HEAD,PUT,PATCH,POST,DELETE"
},
{
"key": "Access-Control-Allow-Origin",
"value": "*"
},
{
"key": "Access-Control-Expose-Headers",
"value": "Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required"
},
{
"key": "Access-Control-Max-Age",
"value": "300"
},
{
"key": "Cache-Control",
"value": "max-age=0, no-cache, no-store, must-revalidate"
},
{
"key": "Content-Security-Policy",
"value": "default-src: none; base-uri: none; form-action: none; frame-ancestors: none; img-src: none; script-src: none; style-src: none;"
},
{
"key": "Cross-Origin-Opener-Policy",
"value": "same-origin"
},
{
"key": "Expires",
"value": "0"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Referrer-Policy",
"value": "strict-origin-when-cross-origin"
},
{
"key": "Request-Id",
"value": "req_v2WxTiriCxV8iLh5b"
},
{
"key": "Stripe-Action-Id",
"value": "qa_iad2DRpt04jkNap5swNgkpu"
},
{
"key": "Vary",
"value": "Origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-Robots-Tag",
"value": "none"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=63072000; includeSubDomains; preload"
}
],
"cookie": [],
"body": "{\n \"id\": \"acct_test_61QrkCMZNJUmz7NU816QrkCM0WSQnpSUCVds6JGMyVXk\",\n \"object\": \"account\",\n \"applied_configurations\": [\n \"recipient\",\n \"customer\",\n \"merchant\"\n ],\n \"configuration\": {\n \"customer_data\": {\n \"features\": {\n \"tax_collection\": {\n \"requested\": true,\n \"status\": \"active\",\n \"status_details\": []\n }\n },\n \"shipping_contact\": {\n \"address\": {\n \"city\": \"San Francisco\",\n \"country\": \"US\",\n \"line1\": \"308399 Hockley Rd\",\n \"line2\": \"\",\n \"postal_code\": \"94080\",\n \"state\": \"California\"\n },\n \"name\": \"Rose hotels\",\n \"phone\": \"11234567890\"\n },\n \"tax_collection_settings\": null\n },\n \"merchant_data\": {\n \"card_payments\": {\n \"decline_on\": {\n \"avs_failure\": true,\n \"cvc_failure\": true\n }\n },\n \"features\": {\n \"card_payments\": {\n \"requested\": true,\n \"status\": \"restricted\",\n \"status_details\": []\n }\n },\n \"statement_descriptor\": \"Rose hotels\",\n \"statement_descriptor_prefix\": \"Test\",\n \"v1_account_id\": \"acct_1PiMF0P60Rk98NWB\"\n },\n \"recipient_data\": {\n \"features\": {\n \"transfers\": {\n \"requested\": true,\n \"status\": \"active\",\n \"status_details\": []\n }\n },\n \"v1_account_id\": \"acct_1PiMF0P60Rk98NWB\"\n }\n },\n \"created\": \"2024-07-30T20:02:03.000Z\",\n \"business_profile_data\": null,\n \"legal_entity_data\": null,\n \"email\": \"[email protected]\",\n \"metadata\": {\n \"my_key\": \"my_value\"\n },\n \"name\": \"moirassd account\"\n}"
}
]
},
{
"name": "Create v2 account (basic)",
"request": {
"auth": {
"type": "bearer",
"bearer": {
"token": "{{api_key}}"
}
},
"method": "POST",
"header": [
{
"key": "host",
"value": "{{stripe_host}}",
"type": "text",
"disabled": true
},
{
"key": "Stripe-Version",
"value": "unsafe-development",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"contact_email\": \"[email protected]\",\n \"display_name\": \"moirassd account\"\n}"
},
"url": "{{stripe_url}}/v2/accounts_api"
},
"response": [
{
"name": "Create v2 account (basic)",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "host",
"value": "{{stripe_host}}",
"type": "text",
"disabled": true
},
{
"key": "Stripe-Version",
"value": "unsafe-development",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"[email protected]\",\n \"name\": \"moirassd account\"\n}"
},
"url": "{{stripe_url}}/v2/accounts_api"
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "nginx"
},
{
"key": "Date",
"value": "Tue, 30 Jul 2024 19:57:37 GMT"
},
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Content-Length",
"value": "293"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Access-Control-Allow-Methods",
"value": "GET,HEAD,PUT,PATCH,POST,DELETE"
},
{
"key": "Access-Control-Allow-Origin",
"value": "*"
},
{
"key": "Access-Control-Expose-Headers",
"value": "Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required"
},
{
"key": "Access-Control-Max-Age",
"value": "300"
},
{
"key": "Cache-Control",
"value": "max-age=0, no-cache, no-store, must-revalidate"
},
{
"key": "Content-Security-Policy",
"value": "default-src: none; base-uri: none; form-action: none; frame-ancestors: none; img-src: none; script-src: none; style-src: none;"
},
{
"key": "Cross-Origin-Opener-Policy",
"value": "same-origin"
},
{
"key": "Expires",
"value": "0"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Referrer-Policy",
"value": "strict-origin-when-cross-origin"
},
{
"key": "Request-Id",
"value": "req_v2PCTLVJz3KPG2u7e"
},
{
"key": "Stripe-Action-Id",
"value": "qa_iad2DRpsWuIc986AgZ6OPJU"
},
{
"key": "Vary",
"value": "Origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-Robots-Tag",
"value": "none"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=63072000; includeSubDomains; preload"
}
],
"cookie": [],
"body": "{\n \"id\": \"acct_test_61Qrk8HQFjycUZ0sa16Qrk8H0WSQrmzsdZ3nXCSZETwO\",\n \"object\": \"account\",\n \"applied_configurations\": [],\n \"configuration\": null,\n \"created\": \"2024-07-30T19:57:37.000Z\",\n \"business_profile_data\": null,\n \"legal_entity_data\": null,\n \"email\": \"[email protected]\",\n \"metadata\": {},\n \"name\": \"moirassd account\"\n}"
}
]
},
{
"name": "Get v2 account",
"request": {
"auth": {
"type": "bearer",
"bearer": {
"token": "{{api_key}}"
}
},
"method": "GET",
"header": [
{
"key": "host",
"value": "{{stripe_host}}",
"type": "text",
"disabled": true
},
{
"key": "Stripe-Version",
"value": "unsafe-development",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "{{stripe_url}}/v2/accounts_api/{{v2_account_id}}?include=identity&include=configuration.customer&include=configuration.merchant&include=configuration.recipient",
"host": [
"{{stripe_url}}"
],
"path": [
"v2",
"accounts_api",
"{{v2_account_id}}"
],
"query": [
{
"key": "include",
"value": "identity"
},
{
"key": "include",
"value": "configuration.customer"
},
{
"key": "include",
"value": "configuration.merchant"
},
{
"key": "include",
"value": "configuration.recipient"
}
]
}
},
"response": [
{
"name": "Get v2 account",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "host",
"value": "{{stripe_host}}",
"type": "text",
"disabled": true
},
{
"key": "Stripe-Version",
"value": "unsafe-development",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "{{stripe_url}}/v2/accounts_api/{{v2_account_id}}?include=legal_entity_data&include=configuration.customer_data&include=configuration.merchant_data&include=configuration.recipient_data&include=business_profile_data",
"host": [
"{{stripe_url}}"
],
"path": [
"v2",
"accounts_api",
"{{v2_account_id}}"
],
"query": [
{
"key": "include",
"value": "legal_entity_data"
},
{
"key": "include",
"value": "configuration.customer_data"
},
{
"key": "include",
"value": "configuration.merchant_data"
},
{
"key": "include",
"value": "configuration.recipient_data"
},
{
"key": "include",
"value": "business_profile_data"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "nginx"
},
{
"key": "Date",
"value": "Tue, 30 Jul 2024 19:58:00 GMT"
},
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Content-Length",
"value": "1730"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Access-Control-Allow-Methods",
"value": "GET,HEAD,PUT,PATCH,POST,DELETE"
},
{
"key": "Access-Control-Allow-Origin",
"value": "*"
},
{
"key": "Access-Control-Expose-Headers",
"value": "Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required"
},
{
"key": "Access-Control-Max-Age",
"value": "300"
},
{
"key": "Cache-Control",
"value": "max-age=0, no-cache, no-store, must-revalidate"
},
{
"key": "Content-Security-Policy",
"value": "default-src: none; base-uri: none; form-action: none; frame-ancestors: none; img-src: none; script-src: none; style-src: none;"
},
{
"key": "Cross-Origin-Opener-Policy",
"value": "same-origin"
},
{
"key": "Expires",
"value": "0"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Referrer-Policy",
"value": "strict-origin-when-cross-origin"
},
{
"key": "Request-Id",
"value": "req_v2NfuLRmLmFKSVO33"
},
{
"key": "Stripe-Action-Id",
"value": "qa_iad2DRpsZaLrhH10LEKMaWP"
},
{
"key": "Vary",
"value": "Origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-Robots-Tag",
"value": "none"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=63072000; includeSubDomains; preload"
}
],
"cookie": [],
"body": "{\n \"id\": \"acct_test_61QrfbYw30cuBM5cu16QrfbY0WSQiFBcnZLTluMz291E\",\n \"object\": \"account\",\n \"applied_configurations\": [\n \"recipient\",\n \"customer\",\n \"merchant\"\n ],\n \"configuration\": {\n \"customer_data\": {\n \"features\": {\n \"tax_collection\": {\n \"requested\": true,\n \"status\": \"active\",\n \"status_details\": []\n }\n },\n \"shipping_contact\": {\n \"address\": {\n \"city\": \"New York\",\n \"country\": \"US\",\n \"line1\": \"Water St\",\n \"line2\": \"\",\n \"postal_code\": \"10041\",\n \"state\": \"New York\"\n },\n \"name\": \"\",\n \"phone\": \"\"\n },\n \"tax_collection_settings\": null\n },\n \"merchant_data\": {\n \"card_payments\": {\n \"decline_on\": {\n \"avs_failure\": false,\n \"cvc_failure\": false\n }\n },\n \"features\": {\n \"card_payments\": {\n \"requested\": true,\n \"status\": \"active\",\n \"status_details\": []\n }\n },\n \"statement_descriptor\": \"Rose hotels and resorts\",\n \"statement_descriptor_prefix\": \"Rose h and r\",\n \"v1_account_id\": \"acct_1PiHeC09WXFgySCu\"\n },\n \"recipient_data\": {\n \"features\": {\n \"transfers\": {\n \"requested\": true,\n \"status\": \"active\",\n \"status_details\": []\n }\n },\n \"v1_account_id\": \"acct_1PiHeC09WXFgySCu\"\n }\n },\n \"created\": \"2024-07-30T15:07:44.000Z\",\n \"business_profile_data\": {\n \"annual_revenue\": null,\n \"estimated_worker_count\": null,\n \"mcc\": \"5735\",\n \"monthly_estimated_revenue\": null,\n \"name\": null,\n \"product_description\": null,\n \"support_address\": null,\n \"support_email\": null,\n \"support_phone\": null,\n \"support_url\": null,\n \"url\": \"http://accessible.stripe.com\"\n },\n \"legal_entity_data\": {\n \"business_entity\": {\n \"address\": null,\n \"directors_provided\": null,\n \"executives_provided\": null,\n \"id_numbers\": [\n {\n \"type\": \"us_taxpayer_id_number\"\n }\n ],\n \"name\": \"Rose Hotels\",\n \"owners_provided\": null,\n \"ownership_declaration\": null,\n \"phone\": null,\n \"script_addresses\": [],\n \"script_names\": [],\n \"structure\": null\n },\n \"business_type\": \"individual\",\n \"country\": \"US\",\n \"representative\": null,\n \"tos_acceptance\": null\n },\n \"email\": \"[email protected]\",\n \"metadata\": {\n \"additional_key\": \"bar\",\n \"my_key\": \"my_value_2\"\n },\n \"name\": \"moiras account\"\n}"
}
]
},
{
"name": "Update v2 account",
"request": {
"auth": {
"type": "bearer",
"bearer": {
"token": "{{api_key}}"
}
},
"method": "POST",
"header": [
{
"key": "host",
"value": "{{stripe_host}}",
"type": "text",
"disabled": true
},
{
"key": "Stripe-Version",
"value": "unsafe-development",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"contact_email\": \"[email protected]\",\n \"display_name\": \"moiras account\",\n \"identity\": {\n \"country\": \"US\",\n \"individual\": {\n \"address\": {\n \"line1\": \"address_full_match\",\n \"city\": \"Seattle\",\n \"postal_code\": \"98030\",\n \"state\": \"WA\",\n \"country\": \"US\"\n }\n },\n \"tos_acceptances\": {\n \"stripe\": {\n \"date\": \"177631151\",\n \"ip\": \"255.255.255.255\"\n }\n }\n },\n \"configuration\": {\n \"customer_data\": {\n \"shipping\": {\n \"address\": {\n \"city\": \"New York\",\n \"country\": \"US\",\n \"line1\": \"Water St\",\n \"line2\": null,\n \"postal_code\": \"10041\",\n \"state\": \"New York\"\n }\n }\n },\n \"merchant\": {\n \"mcc\": \"5735\",\n \"statement_descriptor\": \"Rose hotels and resorts\",\n \"statement_descriptor_prefix\": \"Rose h and r\"\n }\n },\n \"metadata\": {\n \"my_key\": \"my_value_2\",\n \"additional_key\": \"bar\"\n },\n \"include\": [\n \"configuration.customer\",\n \"configuration.merchant\",\n \"identity\"\n ]\n}"
},
"url": "{{stripe_url}}/v2/accounts_api/{{v2_account_id}}"
},
"response": [
{
"name": "Update v2 account",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "host",
"value": "{{stripe_host}}",
"type": "text",
"disabled": true
},
{
"key": "Stripe-Version",
"value": "unsafe-development",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"[email protected]\",\n \"name\": \"moiras account\",\n \"legal_entity_data\": {\n \"country\": \"US\",\n \"representative\": {\n \"address\": {\n \"line1\": \"address_full_match\",\n \"city\": \"Seattle\",\n \"postal_code\": \"98030\",\n \"state\": \"WA\",\n \"country\": \"US\"\n }\n }\n },\n \"business_profile_data\": {\n \"mcc\": \"5735\"\n },\n \"configuration\": {\n \"customer_data\": {\n \"shipping_contact\": {\n \"address\": {\n \"city\": \"New York\",\n \"country\": \"US\",\n \"line1\": \"Water St\",\n \"line2\": null,\n \"postal_code\": \"10041\",\n \"state\": \"New York\"\n }\n }\n },\n \"merchant_data\": {\n \"statement_descriptor\": \"Rose hotels and resorts\",\n \"statement_descriptor_prefix\": \"Rose h and r\"\n }\n },\n \"metadata\": {\n \"my_key\": \"my_value_2\",\n \"additional_key\": \"bar\"\n },\n \"include\": [\n \"configuration.customer_data\",\n \"configuration.merchant_data\",\n \"legal_entity_data\",\n \"business_profile_data\"\n ]\n}"
},
"url": "{{stripe_url}}/v2/accounts_api/{{v2_account_id}}"
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "nginx"
},
{
"key": "Date",
"value": "Tue, 30 Jul 2024 19:58:24 GMT"
},
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Content-Length",
"value": "1798"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Access-Control-Allow-Methods",
"value": "GET,HEAD,PUT,PATCH,POST,DELETE"
},
{
"key": "Access-Control-Allow-Origin",
"value": "*"
},
{
"key": "Access-Control-Expose-Headers",
"value": "Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required"
},
{
"key": "Access-Control-Max-Age",
"value": "300"
},
{
"key": "Cache-Control",
"value": "max-age=0, no-cache, no-store, must-revalidate"
},
{
"key": "Content-Security-Policy",
"value": "default-src: none; base-uri: none; form-action: none; frame-ancestors: none; img-src: none; script-src: none; style-src: none;"
},
{
"key": "Cross-Origin-Opener-Policy",
"value": "same-origin"
},
{
"key": "Expires",
"value": "0"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Referrer-Policy",
"value": "strict-origin-when-cross-origin"
},
{
"key": "Request-Id",
"value": "req_v2aFyizOKMJxMTmuc"
},
{
"key": "Stripe-Action-Id",
"value": "qa_iad2DRpsc7WzhRbQgLD8vFf"
},
{
"key": "Vary",
"value": "Origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-Robots-Tag",
"value": "none"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=63072000; includeSubDomains; preload"
}
],
"cookie": [],
"body": "{\n \"id\": \"acct_test_61QrfbYw30cuBM5cu16QrfbY0WSQiFBcnZLTluMz291E\",\n \"object\": \"account\",\n \"applied_configurations\": [\n \"recipient\",\n \"customer\",\n \"merchant\"\n ],\n \"configuration\": {\n \"customer_data\": {\n \"features\": {\n \"tax_collection\": {\n \"requested\": true,\n \"status\": \"active\",\n \"status_details\": []\n }\n },\n \"shipping_contact\": {\n \"address\": {\n \"city\": \"New York\",\n \"country\": \"US\",\n \"line1\": \"Water St\",\n \"line2\": \"\",\n \"postal_code\": \"10041\",\n \"state\": \"New York\"\n },\n \"name\": \"\",\n \"phone\": \"\"\n },\n \"tax_collection_settings\": null\n },\n \"merchant_data\": {\n \"card_payments\": {\n \"decline_on\": {\n \"avs_failure\": false,\n \"cvc_failure\": false\n }\n },\n \"features\": {\n \"card_payments\": null\n },\n \"statement_descriptor\": \"Rose hotels and resorts\",\n \"statement_descriptor_prefix\": \"Rose h and r\",\n \"v1_account_id\": \"acct_1PiHeC09WXFgySCu\"\n },\n \"recipient_data\": null\n },\n \"created\": \"2024-07-30T15:07:44.000Z\",\n \"business_profile_data\": {\n \"annual_revenue\": null,\n \"estimated_worker_count\": null,\n \"mcc\": \"5735\",\n \"monthly_estimated_revenue\": null,\n \"name\": null,\n \"product_description\": null,\n \"support_address\": null,\n \"support_email\": null,\n \"support_phone\": null,\n \"support_url\": null,\n \"url\": \"http://accessible.stripe.com\"\n },\n \"legal_entity_data\": {\n \"business_entity\": {\n \"address\": null,\n \"directors_provided\": null,\n \"executives_provided\": null,\n \"id_numbers\": [\n {\n \"type\": \"us_taxpayer_id_number\"\n }\n ],\n \"name\": \"Rose Hotels\",\n \"owners_provided\": null,\n \"ownership_declaration\": null,\n \"phone\": null,\n \"script_addresses\": [],\n \"script_names\": [],\n \"structure\": null\n },\n \"business_type\": \"individual\",\n \"country\": \"US\",\n \"representative\": {\n \"address\": {\n \"city\": \"Seattle\",\n \"country\": \"US\",\n \"line1\": \"address_full_match\",\n \"line2\": null,\n \"postal_code\": \"98030\",\n \"state\": \"WA\",\n \"town\": null\n },\n \"dob\": null,\n \"email\": null,\n \"given_name\": null,\n \"id_numbers\": null,\n \"nationalities\": null,\n \"phone\": null,\n \"surname\": null\n },\n \"tos_acceptance\": null\n },\n \"email\": \"[email protected]\",\n \"metadata\": {\n \"additional_key\": \"bar\",\n \"my_key\": \"my_value_2\"\n },\n \"name\": \"moiras account\"\n}"
}
]
},
{
"name": "List v2 accounts",
"request": {
"auth": {
"type": "bearer",
"bearer": {
"token": "{{api_key}}"
}
},
"method": "GET",
"header": [
{
"key": "host",
"value": "{{stripe_host}}",
"type": "text",
"disabled": true
},
{
"key": "Stripe-Version",
"value": "unsafe-development",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/grpc",
"type": "text",
"disabled": true
}
],
"url": {
"raw": "{{stripe_url}}/v2/accounts_api?limit=10",
"host": [
"{{stripe_url}}"
],
"path": [
"v2",
"accounts_api"
],
"query": [
{
"key": "limit",
"value": "10"
},
{
"key": "page",
"value": "AemYmC5fgSRaOdJFjbDT4DCdBlSmOEhZ2LXXnPD6ILLyXvLva4O2DYa7pOgj9ExkYt0pAOg0ugXySU3dCae93ZBSPJjesNug3FEjgHIeeXbw-sf1JSuLrdK_K0NEH69pyhF4uV4yoAPYiw0k8fRlpygSmyELNH2G7mQ=",
"disabled": true
}
]
}
},
"response": [
{
"name": "List v2 accounts",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "host",
"value": "{{stripe_host}}",
"type": "text",
"disabled": true
},
{
"key": "Stripe-Version",
"value": "unsafe-development",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/grpc",
"type": "text",
"disabled": true
}
],
"url": {
"raw": "{{stripe_url}}/v2/accounts_api?limit=10&page=page_4sQCEoCILDbmECS8XA0wIEb245iDBY9KuGph4Qy9xSDUL7I4Gsd403AQBG7lGA60pd0caCHP8sF9B0GSbCEc7hOCDF61I4ZhAG98nT5977Hc0lz1XlF1GERCBs1&applied_configurations=customer",
"host": [
"{{stripe_url}}"
],
"path": [
"v2",
"accounts_api"
],
"query": [
{
"key": "limit",
"value": "10"
},
{
"key": "page",
"value": "page_4sQCEoCILDbmECS8XA0wIEb245iDBY9KuGph4Qy9xSDUL7I4Gsd403AQBG7lGA60pd0caCHP8sF9B0GSbCEc7hOCDF61I4ZhAG98nT5977Hc0lz1XlF1GERCBs1"
},
{
"key": "applied_configurations",
"value": "customer"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "nginx"
},
{
"key": "Date",
"value": "Wed, 28 Aug 2024 21:03:35 GMT"
},
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Transfer-Encoding",
"value": "chunked"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Access-Control-Allow-Methods",
"value": "GET,HEAD,PUT,PATCH,POST,DELETE"
},
{
"key": "Access-Control-Allow-Origin",
"value": "*"
},
{
"key": "Access-Control-Expose-Headers",
"value": "Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required"
},
{
"key": "Access-Control-Max-Age",
"value": "300"
},
{
"key": "Cache-Control",
"value": "max-age=0, no-cache, no-store, must-revalidate"
},
{
"key": "Content-Security-Policy",
"value": "default-src: none; base-uri: none; form-action: none; frame-ancestors: none; img-src: none; script-src: none; style-src: none;"
},
{
"key": "Cross-Origin-Opener-Policy",
"value": "same-origin"
},
{
"key": "Expires",
"value": "0"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Referrer-Policy",
"value": "strict-origin-when-cross-origin"
},
{
"key": "Request-Id",
"value": "req_v2XyFAXXxi5qBcvhR"
},
{
"key": "Stripe-Action-Id",
"value": "qa_iad1DT3CjCdus3b3HwBDxQY"
},
{
"key": "Vary",
"value": "Origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-Robots-Tag",
"value": "none"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=63072000; includeSubDomains; preload"
}
],
"cookie": [],
"body": "{\n \"data\": [\n {\n \"id\": \"acct_test_61R1mObPMrDZIIfA016R1mOb0jSQJ9keo4xg5eJuCCQK\",\n \"object\": \"account\",\n \"applied_configurations\": [\n \"recipient\",\n \"customer\"\n ],\n \"configuration\": null,\n \"contact_email\": \"[email protected]\",\n \"created\": \"2024-08-27T12:24:02.000Z\",\n \"business_profile_data\": null,\n \"identity\": null,\n \"legal_entity_data\": null,\n \"display_name\": \"testV2AccountsAol_flow3_3276348\",\n \"metadata\": {},\n \"requirements\": []\n },\n {\n \"id\": \"acct_test_61R1mOTpasMMZeQtM16R1mOT0jSQknKzpgzjBJTJg2Qy\",\n \"object\": \"account\",\n \"applied_configurations\": [\n \"recipient\",\n \"merchant\"\n ],\n \"configuration\": null,\n \"contact_email\": \"[email protected]\",\n \"created\": \"2024-08-27T12:23:56.000Z\",\n \"business_profile_data\": null,\n \"identity\": null,\n \"legal_entity_data\": null,\n \"display_name\": \"testV2AccountsAol_flow2_7859943\",\n \"metadata\": {},\n \"requirements\": []\n },\n {\n \"id\": \"acct_test_61R1mOLkcUsmHbdxo16R1mOL0jSQCpcZnj4G0B0eWVm4\",\n \"object\": \"account\",\n \"applied_configurations\": [\n \"customer\",\n \"merchant\"\n ],\n \"configuration\": null,\n \"contact_email\": \"[email protected]\",\n \"created\": \"2024-08-27T12:23:47.000Z\",\n \"business_profile_data\": null,\n \"identity\": null,\n \"legal_entity_data\": null,\n \"display_name\": \"testV2AccountsAol_flow1_7366093\",\n \"metadata\": {},\n \"requirements\": []\n },\n {\n \"id\": \"acct_test_61R1mNvi0x1HHhCKW16R1mNv0jSQ08AvruFTtPNqqUhk\",\n \"object\": \"account\",\n \"applied_configurations\": [\n \"merchant\"\n ],\n \"configuration\": null,\n \"contact_email\": \"[email protected]\",\n \"created\": \"2024-08-27T12:23:15.000Z\",\n \"business_profile_data\": null,\n \"identity\": null,\n \"legal_entity_data\": null,\n \"display_name\": \"testV2AccountsAol_flow3_3942036\",\n \"metadata\": {},\n \"requirements\": []\n },\n {\n \"id\": \"acct_test_61R1mNmjr5vhR5zRQ16R1mNm0jSQN93iNjmcid20uFe4\",\n \"object\": \"account\",\n \"applied_configurations\": [\n \"merchant\"\n ],\n \"configuration\": null,\n \"contact_email\": \"[email protected]\",\n \"created\": \"2024-08-27T12:23:06.000Z\",\n \"business_profile_data\": null,\n \"identity\": null,\n \"legal_entity_data\": null,\n \"display_name\": \"testV2AccountsAol_flow1_8021198\",\n \"metadata\": {},\n \"requirements\": []\n },\n {\n \"id\": \"acct_test_61R1mNh8e47EjLl6O16R1mNh0jSQ3kOyzOH8cjGDYSTQ\",\n \"object\": \"account\",\n \"applied_configurations\": [\n \"recipient\"\n ],\n \"configuration\": null,\n \"contact_email\": \"[email protected]\",\n \"created\": \"2024-08-27T12:23:01.000Z\",\n \"business_profile_data\": null,\n \"identity\": null,\n \"legal_entity_data\": null,\n \"display_name\": \"testV2AccountsAol_flow1_8357252\",\n \"metadata\": {},\n \"requirements\": []\n },\n {\n \"id\": \"acct_test_61R1mF3xAmtzpp30y16R1mF30jSQFdqdzBwO73QSm1KS\",\n \"object\": \"account\",\n \"applied_configurations\": [\n \"recipient\",\n \"customer\",\n \"merchant\"\n ],\n \"configuration\": null,\n \"contact_email\": \"[email protected]\",\n \"created\": \"2024-08-27T12:14:14.000Z\",\n \"business_profile_data\": null,\n \"identity\": null,\n \"legal_entity_data\": null,\n \"display_name\": \"testV2AccountsAol_flow4_4300210\",\n \"metadata\": {},\n \"requirements\": []\n },\n {\n \"id\": \"acct_test_61R1mEwdeIPiVSurw16R1mEw0jSQO9QA5J9Rv66sK00W\",\n \"object\": \"account\",\n \"applied_configurations\": [\n \"recipient\",\n \"customer\"\n ],\n \"configuration\": null,\n \"contact_email\": \"[email protected]\",\n \"created\": \"2024-08-27T12:14:04.000Z\",\n \"business_profile_data\": null,\n \"identity\": null,\n \"legal_entity_data\": null,\n \"display_name\": \"testV2AccountsAol_flow3_6570495\",\n \"metadata\": {},\n \"requirements\": []\n },\n {\n \"id\": \"acct_test_61R1mEox3dmQGFAdU16R1mEo0jSQ9bfxLlsAen0tEQhs\",\n \"object\": \"account\",\n \"applied_configurations\": [\n \"recipient\",\n \"merchant\"\n ],\n \"configuration\": null,\n \"contact_email\": \"[email protected]\",\n \"created\": \"2024-08-27T12:13:57.000Z\",\n \"business_profile_data\": null,\n \"identity\": null,\n \"legal_entity_data\": null,\n \"display_name\": \"testV2AccountsAol_flow2_4836119\",\n \"metadata\": {},\n \"requirements\": []\n },\n {\n \"id\": \"acct_test_61R1mEgUMiH6l6qjA16R1mEg0jSQ8cXsGYOadh4USWy0\",\n \"object\": \"account\",\n \"applied_configurations\": [\n \"customer\",\n \"merchant\"\n ],\n \"configuration\": null,\n \"contact_email\": \"[email protected]\",\n \"created\": \"2024-08-27T12:13:48.000Z\",\n \"business_profile_data\": null,\n \"identity\": null,\n \"legal_entity_data\": null,\n \"display_name\": \"testV2AccountsAol_flow1_2302186\",\n \"metadata\": {},\n \"requirements\": []\n }\n ],\n \"next_page\": \"/v2/accounts_api?page=page_47z7IH0Y55cb2mlG0f5gCAT1F6uEXm0wh5rZ7e27xvBuvECP0A7F3fDFXEFz6CA1xGCY59wz6GGBWz8aPFkJ2rD54WFplCoM9eVAau8deG0OBoV1ywGa46knE9P&limit=10&applied_configurations=customer\",\n \"previous_page\": \"/v2/accounts_api?page=page_GSI8t3Ev3Ggi8D9G74008Dl426Z9IC0nJEnIEkX9VF9t8CU08h6C9M3ym6x6CV7FQz7nkEwxE3tBoVAMq4tz94u0iS2kg1jTF73C2K0M3EqdFhOGKZGYh98oBjA&limit=10&applied_configurations=customer\"\n}"
}
]
},
{
"name": "/v1/accounts/:account",
"request": {
"auth": {
"type": "bearer",
"bearer": {
"token": "{{api_key}}"
}
},
"method": "GET",
"header": [
{
"key": "host",
"value": "{{stripe_host}}",
"type": "text"
}
],
"url": {
"raw": "{{stripe_url}}/v1/accounts/{{v1_account_id}}",
"host": [
"{{stripe_url}}"
],
"path": [
"v1",
"accounts",
"{{v1_account_id}}"
],
"query": [
{
"key": "tos_acceptance[date]",
"value": "1609798905",
"disabled": true
},
{
"key": "tos_acceptance[ip]",
"value": "127.0.0.1",
"disabled": true
}
]
}
},
"response": [
{
"name": "/v1/accounts (success)",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "host",
"value": "{{stripe_host}}",
"type": "text"
}
],
"url": "{{stripe_url}}/v1/accounts"
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Cache-Control",
"value": "no-cache, no-store"
},
{
"key": "Content-Encoding",
"value": "gzip"
},
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Date",
"value": "Thu, 13 Jan 2022 19:34:56 GMT"
},
{
"key": "Request-Id",
"value": "req_EMKpX5yrfUA693"
},
{
"key": "Server",
"value": "nginx"
},
{
"key": "Stripe-Version",
"value": "2020-08-27"
},
{
"key": "Vary",
"value": "Accept-Encoding"
},
{
"key": "X-Stripe-Api-Path-Priority",
"value": "p3"
},
{
"key": "X-Stripe-C-Cost",
"value": "146"
},
{
"key": "X-Stripe-Internal-Http-Path",
"value": "/v1/accounts"
},
{
"key": "Connection",
"value": "close"
},
{
"key": "Transfer-Encoding",
"value": "chunked"
}
],
"cookie": [],
"body": "{\n \"object\": \"list\",\n \"data\": [\n {\n \"id\": \"acct_1KHYMbF1UHu0Yp5z\",\n \"object\": \"account\",\n \"business_profile\": {\n \"mcc\": null,\n \"name\": null,\n \"product_description\": null,\n \"support_address\": null,\n \"support_email\": null,\n \"support_phone\": null,\n \"support_url\": null,\n \"url\": null\n },\n \"business_type\": null,\n \"capabilities\": {\n \"transfers\": \"inactive\"\n },\n \"charges_enabled\": false,\n \"country\": \"US\",\n \"created\": 1642099774,\n \"default_currency\": \"usd\",\n \"details_submitted\": false,\n \"email\": null,\n \"external_accounts\": {\n \"object\": \"list\",\n \"data\": [],\n \"has_more\": false,\n \"total_count\": 0,\n \"url\": \"/v1/accounts/acct_1KHYMbF1UHu0Yp5z/external_accounts\"\n },\n \"future_requirements\": {\n \"alternatives\": [],\n \"current_deadline\": null,\n \"currently_due\": [],\n \"disabled_reason\": null,\n \"errors\": [],\n \"eventually_due\": [],\n \"past_due\": [],\n \"pending_verification\": []\n },\n \"login_links\": {\n \"object\": \"list\",\n \"total_count\": 0,\n \"has_more\": false,\n \"url\": \"/v1/accounts/acct_1KHYMbF1UHu0Yp5z/login_links\",\n \"data\": []\n },\n \"metadata\": {},\n \"payouts_enabled\": false,\n \"requirements\": {\n \"alternatives\": [],\n \"current_deadline\": null,\n \"currently_due\": [\n \"business_profile.url\",\n \"business_type\",\n \"external_account\",\n \"tos_acceptance.date\",\n \"tos_acceptance.ip\"\n ],\n \"disabled_reason\": \"requirements.past_due\",\n \"errors\": [],\n \"eventually_due\": [\n \"business_profile.url\",\n \"business_type\",\n \"external_account\",\n \"tos_acceptance.date\",\n \"tos_acceptance.ip\"\n ],\n \"past_due\": [\n \"business_profile.url\",\n \"business_type\",\n \"external_account\",\n \"tos_acceptance.date\",\n \"tos_acceptance.ip\"\n ],\n \"pending_verification\": []\n },\n \"settings\": {\n \"bacs_debit_payments\": {},\n \"branding\": {\n \"icon\": null,\n \"logo\": null,\n \"primary_color\": null,\n \"secondary_color\": null\n },\n \"card_issuing\": {\n \"tos_acceptance\": {\n \"date\": null,\n \"ip\": null\n }\n },\n \"card_payments\": {\n \"decline_on\": {\n \"avs_failure\": false,\n \"cvc_failure\": false\n },\n \"statement_descriptor_prefix\": null\n },\n \"dashboard\": {\n \"display_name\": null,\n \"timezone\": \"Etc/UTC\"\n },\n \"payments\": {\n \"statement_descriptor\": null,\n \"statement_descriptor_kana\": null,\n \"statement_descriptor_kanji\": null\n },\n \"payouts\": {\n \"debit_negative_balances\": true,\n \"schedule\": {\n \"delay_days\": 2,\n \"interval\": \"daily\"\n },\n \"statement_descriptor\": null\n },\n \"sepa_debit_payments\": {}\n },\n \"tos_acceptance\": {\n \"date\": null,\n \"ip\": null,\n \"user_agent\": null\n },\n \"type\": \"express\"\n },\n {\n \"id\": \"acct_1KHYJaEys7g6MIWJ\",\n \"object\": \"account\",\n \"business_profile\": {\n \"mcc\": null,\n \"name\": null,\n \"support_address\": null,\n \"support_email\": null,\n \"support_phone\": null,\n \"support_url\": null,\n \"url\": \"https://www.github.com\"\n },\n \"capabilities\": {\n \"transfers\": \"active\"\n },\n \"charges_enabled\": true,\n \"country\": \"US\",\n \"created\": 1642099587,\n \"default_currency\": \"usd\",\n \"details_submitted\": true,\n \"email\": null,\n \"external_accounts\": {\n \"object\": \"list\",\n \"data\": [\n {\n \"id\": \"ba_1KHYTNEys7g6MIWJY5aLLusF\",\n \"object\": \"bank_account\",\n \"account\": \"acct_1KHYJaEys7g6MIWJ\",\n \"account_holder_name\": null,\n \"account_holder_type\": null,\n \"account_type\": null,\n \"available_payout_methods\": [\n \"standard\"\n ],\n \"bank_name\": \"JPMORGAN CHASE BANK, NA\",\n \"country\": \"US\",\n \"currency\": \"usd\",\n \"default_for_currency\": true,\n \"fingerprint\": \"WRbmtHETTZ9UF5qq\",\n \"last4\": \"6789\",\n \"metadata\": {},\n \"routing_number\": \"325070760\",\n \"status\": \"new\"\n }\n ],\n \"has_more\": false,\n \"total_count\": 1,\n \"url\": \"/v1/accounts/acct_1KHYJaEys7g6MIWJ/external_accounts\"\n },\n \"future_requirements\": {\n \"alternatives\": [],\n \"current_deadline\": null,\n \"currently_due\": [],\n \"disabled_reason\": null,\n \"errors\": [],\n \"eventually_due\": [],\n \"past_due\": [],\n \"pending_verification\": []\n },\n \"login_links\": {\n \"object\": \"list\",\n \"total_count\": 0,\n \"has_more\": false,\n \"url\": \"/v1/accounts/acct_1KHYJaEys7g6MIWJ/login_links\",\n \"data\": []\n },\n \"metadata\": {},\n \"payouts_enabled\": true,\n \"requirements\": {\n \"alternatives\": [],\n \"current_deadline\": null,\n \"currently_due\": [],\n \"disabled_reason\": null,\n \"errors\": [],\n \"eventually_due\": [\n \"individual.dob.day\",\n \"individual.dob.month\",\n \"individual.dob.year\",\n \"individual.ssn_last_4\"\n ],\n \"past_due\": [],\n \"pending_verification\": []\n },\n \"settings\": {\n \"bacs_debit_payments\": {},\n \"branding\": {\n \"icon\": null,\n \"logo\": null,\n \"primary_color\": null,\n \"secondary_color\": null\n },\n \"card_issuing\": {\n \"tos_acceptance\": {\n \"date\": null,\n \"ip\": null\n }\n },\n \"card_payments\": {\n \"decline_on\": {\n \"avs_failure\": false,\n \"cvc_failure\": false\n },\n \"statement_descriptor_prefix\": null\n },\n \"dashboard\": {\n \"display_name\": \"Medium\",\n \"timezone\": \"Etc/UTC\"\n },\n \"payments\": {\n \"statement_descriptor\": \"WWW.GITHUB.COM\",\n \"statement_descriptor_kana\": null,\n \"statement_descriptor_kanji\": null\n },\n \"payouts\": {\n \"debit_negative_balances\": true,\n \"schedule\": {\n \"delay_days\": 2,\n \"interval\": \"daily\"\n },\n \"statement_descriptor\": null\n },\n \"sepa_debit_payments\": {}\n },\n \"tos_acceptance\": {\n \"date\": 1642100207\n },\n \"type\": \"express\"\n },\n {\n \"id\": \"acct_1KHYHyDXIOukH3I7\",\n \"object\": \"account\",\n \"business_profile\": {\n \"mcc\": null,\n \"name\": null,\n \"product_description\": null,\n \"support_address\": null,\n \"support_email\": null,\n \"support_phone\": null,\n \"support_url\": null,\n \"url\": null\n },\n \"business_type\": null,\n \"capabilities\": {\n \"transfers\": \"inactive\"\n },\n \"charges_enabled\": false,\n \"country\": \"US\",\n \"created\": 1642099496,\n \"default_currency\": \"usd\",\n \"details_submitted\": false,\n \"email\": null,\n \"external_accounts\": {\n \"object\": \"list\",\n \"data\": [],\n \"has_more\": false,\n \"total_count\": 0,\n \"url\": \"/v1/accounts/acct_1KHYHyDXIOukH3I7/external_accounts\"\n },\n \"future_requirements\": {\n \"alternatives\": [],\n \"current_deadline\": null,\n \"currently_due\": [],\n \"disabled_reason\": null,\n \"errors\": [],\n \"eventually_due\": [],\n \"past_due\": [],\n \"pending_verification\": []\n },\n \"login_links\": {\n \"object\": \"list\",\n \"total_count\": 0,\n \"has_more\": false,\n \"url\": \"/v1/accounts/acct_1KHYHyDXIOukH3I7/login_links\",\n \"data\": []\n },\n \"metadata\": {},\n \"payouts_enabled\": false,\n \"requirements\": {\n \"alternatives\": [],\n \"current_deadline\": null,\n \"currently_due\": [\n \"business_profile.url\",\n \"business_type\",\n \"external_account\",\n \"tos_acceptance.date\",\n \"tos_acceptance.ip\"\n ],\n \"disabled_reason\": \"requirements.past_due\",\n \"errors\": [],\n \"eventually_due\": [\n \"business_profile.url\",\n \"business_type\",\n \"external_account\",\n \"tos_acceptance.date\",\n \"tos_acceptance.ip\"\n ],\n \"past_due\": [\n \"business_profile.url\",\n \"business_type\",\n \"external_account\",\n \"tos_acceptance.date\",\n \"tos_acceptance.ip\"\n ],\n \"pending_verification\": []\n },\n \"settings\": {\n \"bacs_debit_payments\": {},\n \"branding\": {\n \"icon\": null,\n \"logo\": null,\n \"primary_color\": null,\n \"secondary_color\": null\n },\n \"card_issuing\": {\n \"tos_acceptance\": {\n \"date\": null,\n \"ip\": null\n }\n },\n \"card_payments\": {\n \"decline_on\": {\n \"avs_failure\": false,\n \"cvc_failure\": false\n },\n \"statement_descriptor_prefix\": null\n },\n \"dashboard\": {\n \"display_name\": null,\n \"timezone\": \"Etc/UTC\"\n },\n \"payments\": {\n \"statement_descriptor\": null,\n \"statement_descriptor_kana\": null,\n \"statement_descriptor_kanji\": null\n },\n \"payouts\": {\n \"debit_negative_balances\": true,\n \"schedule\": {\n \"delay_days\": 2,\n \"interval\": \"daily\"\n },\n \"statement_descriptor\": null\n },\n \"sepa_debit_payments\": {}\n },\n \"tos_acceptance\": {\n \"date\": null,\n \"ip\": null,\n \"user_agent\": null\n },\n \"type\": \"express\"\n },\n {\n \"id\": \"acct_1KGpasCKeUlvgO8K\",\n \"object\": \"account\",\n \"business_profile\": {\n \"mcc\": null,\n \"name\": null,\n \"support_address\": null,\n \"support_email\": null,\n \"support_phone\": null,\n \"support_url\": null,\n \"url\": \"https://www.github.com\"\n },\n \"capabilities\": {\n \"transfers\": \"active\"\n },\n \"charges_enabled\": true,\n \"country\": \"US\",\n \"created\": 1641927684,\n \"default_currency\": \"usd\",\n \"details_submitted\": true,\n \"email\": null,\n \"external_accounts\": {\n \"object\": \"list\",\n \"data\": [\n {\n \"id\": \"ba_1KGphOCKeUlvgO8KijILGgxy\",\n \"object\": \"bank_account\",\n \"account\": \"acct_1KGpasCKeUlvgO8K\",\n \"account_holder_name\": null,\n \"account_holder_type\": null,\n \"account_type\": null,\n \"available_payout_methods\": [\n \"standard\"\n ],\n \"bank_name\": \"STRIPE TEST BANK\",\n \"country\": \"US\",\n \"currency\": \"usd\",\n \"default_for_currency\": true,\n \"fingerprint\": \"6ZQg0d0D7rPVs2jA\",\n \"last4\": \"6789\",\n \"metadata\": {},\n \"routing_number\": \"110000000\",\n \"status\": \"new\"\n }\n ],\n \"has_more\": false,\n \"total_count\": 1,\n \"url\": \"/v1/accounts/acct_1KGpasCKeUlvgO8K/external_accounts\"\n },\n \"future_requirements\": {\n \"alternatives\": [],\n \"current_deadline\": null,\n \"currently_due\": [],\n \"disabled_reason\": null,\n \"errors\": [],\n \"eventually_due\": [],\n \"past_due\": [],\n \"pending_verification\": []\n },\n \"login_links\": {\n \"object\": \"list\",\n \"total_count\": 0,\n \"has_more\": false,\n \"url\": \"/v1/accounts/acct_1KGpasCKeUlvgO8K/login_links\",\n \"data\": []\n },\n \"metadata\": {},\n \"payouts_enabled\": true,\n \"requirements\": {\n \"alternatives\": [],\n \"current_deadline\": null,\n \"currently_due\": [],\n \"disabled_reason\": null,\n \"errors\": [],\n \"eventually_due\": [\n \"individual.dob.day\",\n \"individual.dob.month\",\n \"individual.dob.year\",\n \"individual.ssn_last_4\"\n ],\n \"past_due\": [],\n \"pending_verification\": []\n },\n \"settings\": {\n \"bacs_debit_payments\": {},\n \"branding\": {\n \"icon\": null,\n \"logo\": null,\n \"primary_color\": null,\n \"secondary_color\": null\n },\n \"card_issuing\": {\n \"tos_acceptance\": {\n \"date\": null,\n \"ip\": null\n }\n },\n \"card_payments\": {\n \"decline_on\": {\n \"avs_failure\": false,\n \"cvc_failure\": false\n },\n \"statement_descriptor_prefix\": null\n },\n \"dashboard\": {\n \"display_name\": \"Medium\",\n \"timezone\": \"Etc/UTC\"\n },\n \"payments\": {\n \"statement_descriptor\": \"WWW.GITHUB.COM\",\n \"statement_descriptor_kana\": null,\n \"statement_descriptor_kanji\": null\n },\n \"payouts\": {\n \"debit_negative_balances\": true,\n \"schedule\": {\n \"delay_days\": 2,\n \"interval\": \"daily\"\n },\n \"statement_descriptor\": null\n },\n \"sepa_debit_payments\": {}\n },\n \"tos_acceptance\": {\n \"date\": 1641928093\n },\n \"type\": \"express\"\n },\n {\n \"id\": \"acct_1KGoNfBmIRN6Cchh\",\n \"object\": \"account\",\n \"business_profile\": {\n \"mcc\": null,\n \"name\": null,\n \"support_address\": null,\n \"support_email\": null,\n \"support_phone\": null,\n \"support_url\": null,\n \"url\": \"https://www.bbc.com\"\n },\n \"capabilities\": {\n \"transfers\": \"active\"\n },\n \"charges_enabled\": true,\n \"country\": \"US\",\n \"created\": 1641923022,\n \"default_currency\": \"usd\",\n \"details_submitted\": true,\n \"email\": null,\n \"external_accounts\": {\n \"object\": \"list\",\n \"data\": [\n {\n \"id\": \"ba_1KGoU1BmIRN6Cchhef6Xf5ur\",\n \"object\": \"bank_account\",\n \"account\": \"acct_1KGoNfBmIRN6Cchh\",\n \"account_holder_name\": null,\n \"account_holder_type\": null,\n \"account_type\": null,\n \"available_payout_methods\": [\n \"standard\"\n ],\n \"bank_name\": \"STRIPE TEST BANK\",\n \"country\": \"US\",\n \"currency\": \"usd\",\n \"default_for_currency\": true,\n \"fingerprint\": \"6ZQg0d0D7rPVs2jA\",\n \"last4\": \"6789\",\n \"metadata\": {},\n \"routing_number\": \"110000000\",\n \"status\": \"new\"\n }\n ],\n \"has_more\": false,\n \"total_count\": 1,\n \"url\": \"/v1/accounts/acct_1KGoNfBmIRN6Cchh/external_accounts\"\n },\n \"future_requirements\": {\n \"alternatives\": [],\n \"current_deadline\": null,\n \"currently_due\": [],\n \"disabled_reason\": null,\n \"errors\": [],\n \"eventually_due\": [],\n \"past_due\": [],\n \"pending_verification\": []\n },\n \"login_links\": {\n \"object\": \"list\",\n \"total_count\": 0,\n \"has_more\": false,\n \"url\": \"/v1/accounts/acct_1KGoNfBmIRN6Cchh/login_links\",\n \"data\": []\n },\n \"metadata\": {},\n \"payouts_enabled\": true,\n \"requirements\": {\n \"alternatives\": [],\n \"current_deadline\": null,\n \"currently_due\": [],\n \"disabled_reason\": null,\n \"errors\": [],\n \"eventually_due\": [\n \"individual.dob.day\",\n \"individual.dob.month\",\n \"individual.dob.year\",\n \"individual.ssn_last_4\"\n ],\n \"past_due\": [],\n \"pending_verification\": []\n },\n \"settings\": {\n \"bacs_debit_payments\": {},\n \"branding\": {\n \"icon\": null,\n \"logo\": null,\n \"primary_color\": null,\n \"secondary_color\": null\n },\n \"card_issuing\": {\n \"tos_acceptance\": {\n \"date\": null,\n \"ip\": null\n }\n },\n \"card_payments\": {\n \"decline_on\": {\n \"avs_failure\": false,\n \"cvc_failure\": false\n },\n \"statement_descriptor_prefix\": null\n },\n \"dashboard\": {\n \"display_name\": \"Medium\",\n \"timezone\": \"Etc/UTC\"\n },\n \"payments\": {\n \"statement_descriptor\": \"WWW.BBC.COM\",\n \"statement_descriptor_kana\": null,\n \"statement_descriptor_kanji\": null\n },\n \"payouts\": {\n \"debit_negative_balances\": true,\n \"schedule\": {\n \"delay_days\": 2,\n \"interval\": \"daily\"\n },\n \"statement_descriptor\": null\n },\n \"sepa_debit_payments\": {}\n },\n \"tos_acceptance\": {\n \"date\": 1641923422\n },\n \"type\": \"express\"\n },\n {\n \"id\": \"acct_1KFPWDARrP4ogPjC\",\n \"object\": \"account\",\n \"business_profile\": {\n \"mcc\": null,\n \"name\": null,\n \"support_address\": null,\n \"support_email\": null,\n \"support_phone\": null,\n \"support_url\": null,\n \"url\": \"https://www.github.com\"\n },\n \"capabilities\": {\n \"transfers\": \"active\"\n },\n \"charges_enabled\": true,\n \"country\": \"US\",\n \"created\": 1641589240,\n \"default_currency\": \"usd\",\n \"details_submitted\": true,\n \"email\": \"[email protected]\",\n \"external_accounts\": {\n \"object\": \"list\",\n \"data\": [\n {\n \"id\": \"ba_1KFPXrARrP4ogPjC73sX3LGR\",\n \"object\": \"bank_account\",\n \"account\": \"acct_1KFPWDARrP4ogPjC\",\n \"account_holder_name\": null,\n \"account_holder_type\": null,\n \"account_type\": null,\n \"available_payout_methods\": [\n \"standard\"\n ],\n \"bank_name\": \"STRIPE TEST BANK\",\n \"country\": \"US\",\n \"currency\": \"usd\",\n \"default_for_currency\": true,\n \"fingerprint\": \"6ZQg0d0D7rPVs2jA\",\n \"last4\": \"6789\",\n \"metadata\": {},\n \"routing_number\": \"110000000\",\n \"status\": \"new\"\n }\n ],\n \"has_more\": false,\n \"total_count\": 1,\n \"url\": \"/v1/accounts/acct_1KFPWDARrP4ogPjC/external_accounts\"\n },\n \"future_requirements\": {\n \"alternatives\": [],\n \"current_deadline\": null,\n \"currently_due\": [],\n \"disabled_reason\": null,\n \"errors\": [],\n \"eventually_due\": [],\n \"past_due\": [],\n \"pending_verification\": []\n },\n \"login_links\": {\n \"object\": \"list\",\n \"total_count\": 0,\n \"has_more\": false,\n \"url\": \"/v1/accounts/acct_1KFPWDARrP4ogPjC/login_links\",\n \"data\": []\n },\n \"metadata\": {},\n \"payouts_enabled\": true,\n \"requirements\": {\n \"alternatives\": [],\n \"current_deadline\": null,\n \"currently_due\": [],\n \"disabled_reason\": null,\n \"errors\": [],\n \"eventually_due\": [\n \"individual.dob.day\",\n \"individual.dob.month\",\n \"individual.dob.year\",\n \"individual.ssn_last_4\"\n ],\n \"past_due\": [],\n \"pending_verification\": []\n },\n \"settings\": {\n \"bacs_debit_payments\": {},\n \"branding\": {\n \"icon\": null,\n \"logo\": null,\n \"primary_color\": null,\n \"secondary_color\": null\n },\n \"card_issuing\": {\n \"tos_acceptance\": {\n \"date\": null,\n \"ip\": null\n }\n },\n \"card_payments\": {\n \"decline_on\": {\n \"avs_failure\": false,\n \"cvc_failure\": false\n },\n \"statement_descriptor_prefix\": null\n },\n \"dashboard\": {\n \"display_name\": \"Medium\",\n \"timezone\": \"Etc/UTC\"\n },\n \"payments\": {\n \"statement_descriptor\": \"WWW.GITHUB.COM\",\n \"statement_descriptor_kana\": null,\n \"statement_descriptor_kanji\": null\n },\n \"payouts\": {\n \"debit_negative_balances\": true,\n \"schedule\": {\n \"delay_days\": 2,\n \"interval\": \"daily\"\n },\n \"statement_descriptor\": null\n },\n \"sepa_debit_payments\": {}\n },\n \"tos_acceptance\": {\n \"date\": 1641589231\n },\n \"type\": \"express\"\n },\n {\n \"id\": \"acct_1KF2PVJBGEffkmkS\",\n \"object\": \"account\",\n \"business_profile\": {\n \"mcc\": null,\n \"name\": null,\n \"support_address\": null,\n \"support_email\": null,\n \"support_phone\": null,\n \"support_url\": null,\n \"url\": \"https://www.github.com\"\n },\n \"capabilities\": {\n \"transfers\": \"active\"\n },\n \"charges_enabled\": true,\n \"country\": \"US\",\n \"created\": 1641500359,\n \"default_currency\": \"usd\",\n \"details_submitted\": true,\n \"email\": \"[email protected]\",\n \"external_accounts\": {\n \"object\": \"list\",\n \"data\": [\n {\n \"id\": \"ba_1KF2QKJBGEffkmkSPy6HgACk\",\n \"object\": \"bank_account\",\n \"account\": \"acct_1KF2PVJBGEffkmkS\",\n \"account_holder_name\": null,\n \"account_holder_type\": null,\n \"account_type\": null,\n \"available_payout_methods\": [\n \"standard\"\n ],\n \"bank_name\": \"STRIPE TEST BANK\",\n \"country\": \"US\",\n \"currency\": \"usd\",\n \"default_for_currency\": true,\n \"fingerprint\": \"6ZQg0d0D7rPVs2jA\",\n \"last4\": \"6789\",\n \"metadata\": {},\n \"routing_number\": \"110000000\",\n \"status\": \"new\"\n }\n ],\n \"has_more\": false,\n \"total_count\": 1,\n \"url\": \"/v1/accounts/acct_1KF2PVJBGEffkmkS/external_accounts\"\n },\n \"future_requirements\": {\n \"alternatives\": [],\n \"current_deadline\": null,\n \"currently_due\": [],\n \"disabled_reason\": null,\n \"errors\": [],\n \"eventually_due\": [],\n \"past_due\": [],\n \"pending_verification\": []\n },\n \"login_links\": {\n \"object\": \"list\",\n \"total_count\": 0,\n \"has_more\": false,\n \"url\": \"/v1/accounts/acct_1KF2PVJBGEffkmkS/login_links\",\n \"data\": []\n },\n \"metadata\": {},\n \"payouts_enabled\": true,\n \"requirements\": {\n \"alternatives\": [],\n \"current_deadline\": null,\n \"currently_due\": [],\n \"disabled_reason\": null,\n \"errors\": [],\n \"eventually_due\": [\n \"individual.dob.day\",\n \"individual.dob.month\",\n \"individual.dob.year\",\n \"individual.ssn_last_4\"\n ],\n \"past_due\": [],\n \"pending_verification\": []\n },\n \"settings\": {\n \"bacs_debit_payments\": {},\n \"branding\": {\n \"icon\": null,\n \"logo\": null,\n \"primary_color\": null,\n \"secondary_color\": null\n },\n \"card_issuing\": {\n \"tos_acceptance\": {\n \"date\": null,\n \"ip\": null\n }\n },\n \"card_payments\": {\n \"decline_on\": {\n \"avs_failure\": false,\n \"cvc_failure\": false\n },\n \"statement_descriptor_prefix\": null\n },\n \"dashboard\": {\n \"display_name\": \"Medium\",\n \"timezone\": \"Etc/UTC\"\n },\n \"payments\": {\n \"statement_descriptor\": \"WWW.GITHUB.COM\",\n \"statement_descriptor_kana\": null,\n \"statement_descriptor_kanji\": null\n },\n \"payouts\": {\n \"debit_negative_balances\": true,\n \"schedule\": {\n \"delay_days\": 2,\n \"interval\": \"daily\"\n },\n \"statement_descriptor\": null\n },\n \"sepa_debit_payments\": {}\n },\n \"tos_acceptance\": {\n \"date\": 1641500350\n },\n \"type\": \"express\"\n },\n {\n \"id\": \"acct_1KF0RPJPCjKx68Hl\",\n \"object\": \"account\",\n \"business_profile\": {\n \"mcc\": null,\n \"name\": null,\n \"support_address\": null,\n \"support_email\": null,\n \"support_phone\": null,\n \"support_url\": null,\n \"url\": \"https://www.medium.com\"\n },\n \"capabilities\": {\n \"transfers\": \"active\"\n },\n \"charges_enabled\": true,\n \"country\": \"US\",\n \"created\": 1641492787,\n \"default_currency\": \"usd\",\n \"details_submitted\": true,\n \"email\": \"[email protected]\",\n \"external_accounts\": {\n \"object\": \"list\",\n \"data\": [\n {\n \"id\": \"ba_1KF0SBJPCjKx68HlsrL8OgWl\",\n \"object\": \"bank_account\",\n \"account\": \"acct_1KF0RPJPCjKx68Hl\",\n \"account_holder_name\": null,\n \"account_holder_type\": null,\n \"account_type\": null,\n \"available_payout_methods\": [\n \"standard\"\n ],\n \"bank_name\": \"STRIPE TEST BANK\",\n \"country\": \"US\",\n \"currency\": \"usd\",\n \"default_for_currency\": true,\n \"fingerprint\": \"6ZQg0d0D7rPVs2jA\",\n \"last4\": \"6789\",\n \"metadata\": {},\n \"routing_number\": \"110000000\",\n \"status\": \"new\"\n }\n ],\n \"has_more\": false,\n \"total_count\": 1,\n \"url\": \"/v1/accounts/acct_1KF0RPJPCjKx68Hl/external_accounts\"\n },\n \"future_requirements\": {\n \"alternatives\": [],\n \"current_deadline\": null,\n \"currently_due\": [],\n \"disabled_reason\": null,\n \"errors\": [],\n \"eventually_due\": [],\n \"past_due\": [],\n \"pending_verification\": []\n },\n \"login_links\": {\n \"object\": \"list\",\n \"total_count\": 0,\n \"has_more\": false,\n \"url\": \"/v1/accounts/acct_1KF0RPJPCjKx68Hl/login_links\",\n \"data\": []\n },\n \"metadata\": {},\n \"payouts_enabled\": true,\n \"requirements\": {\n \"alternatives\": [],\n \"current_deadline\": null,\n \"currently_due\": [],\n \"disabled_reason\": null,\n \"errors\": [],\n \"eventually_due\": [\n \"individual.dob.day\",\n \"individual.dob.month\",\n \"individual.dob.year\",\n \"individual.ssn_last_4\"\n ],\n \"past_due\": [],\n \"pending_verification\": []\n },\n \"settings\": {\n \"bacs_debit_payments\": {},\n \"branding\": {\n \"icon\": null,\n \"logo\": null,\n \"primary_color\": null,\n \"secondary_color\": null\n },\n \"card_issuing\": {\n \"tos_acceptance\": {\n \"date\": null,\n \"ip\": null\n }\n },\n \"card_payments\": {\n \"decline_on\": {\n \"avs_failure\": false,\n \"cvc_failure\": false\n },\n \"statement_descriptor_prefix\": null\n },\n \"dashboard\": {\n \"display_name\": \"Medium\",\n \"timezone\": \"Etc/UTC\"\n },\n \"payments\": {\n \"statement_descriptor\": \"WWW.MEDIUM.COM\",\n \"statement_descriptor_kana\": null,\n \"statement_descriptor_kanji\": null\n },\n \"payouts\": {\n \"debit_negative_balances\": true,\n \"schedule\": {\n \"delay_days\": 2,\n \"interval\": \"daily\"\n },\n \"statement_descriptor\": null\n },\n \"sepa_debit_payments\": {}\n },\n \"tos_acceptance\": {\n \"date\": 1641492778\n },\n \"type\": \"express\"\n }\n ],\n \"has_more\": false,\n \"url\": \"/v1/accounts\"\n}"
}
]
},
{
"name": "/v1/accounts",
"request": {
"auth": {
"type": "bearer",
"bearer": {
"token": "{{api_key}}"
}
},
"method": "GET",
"header": [
{
"key": "host",
"value": "{{stripe_host}}",
"type": "text"
},
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"url": "{{stripe_url}}/v1/accounts"
},
"response": [
{
"name": "/v1/accounts (success)",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "host",
"value": "{{stripe_host}}",
"type": "text"
}
],
"url": "{{stripe_url}}/v1/accounts"
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Cache-Control",
"value": "no-cache, no-store"
},
{
"key": "Content-Encoding",
"value": "gzip"
},
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Date",
"value": "Thu, 13 Jan 2022 19:34:56 GMT"
},
{
"key": "Request-Id",
"value": "req_EMKpX5yrfUA693"
},
{
"key": "Server",
"value": "nginx"
},
{
"key": "Stripe-Version",
"value": "2020-08-27"
},
{
"key": "Vary",
"value": "Accept-Encoding"
},
{
"key": "X-Stripe-Api-Path-Priority",
"value": "p3"
},
{
"key": "X-Stripe-C-Cost",
"value": "146"
},
{
"key": "X-Stripe-Internal-Http-Path",
"value": "/v1/accounts"
},
{
"key": "Connection",
"value": "close"
},
{
"key": "Transfer-Encoding",
"value": "chunked"
}
],
"cookie": [],
"body": "{\n \"object\": \"list\",\n \"data\": [\n {\n \"id\": \"acct_1KHYMbF1UHu0Yp5z\",\n \"object\": \"account\",\n \"business_profile\": {\n \"mcc\": null,\n \"name\": null,\n \"product_description\": null,\n \"support_address\": null,\n \"support_email\": null,\n \"support_phone\": null,\n \"support_url\": null,\n \"url\": null\n },\n \"business_type\": null,\n \"capabilities\": {\n \"transfers\": \"inactive\"\n },\n \"charges_enabled\": false,\n \"country\": \"US\",\n \"created\": 1642099774,\n \"default_currency\": \"usd\",\n \"details_submitted\": false,\n \"email\": null,\n \"external_accounts\": {\n \"object\": \"list\",\n \"data\": [],\n \"has_more\": false,\n \"total_count\": 0,\n \"url\": \"/v1/accounts/acct_1KHYMbF1UHu0Yp5z/external_accounts\"\n },\n \"future_requirements\": {\n \"alternatives\": [],\n \"current_deadline\": null,\n \"currently_due\": [],\n \"disabled_reason\": null,\n \"errors\": [],\n \"eventually_due\": [],\n \"past_due\": [],\n \"pending_verification\": []\n },\n \"login_links\": {\n \"object\": \"list\",\n \"total_count\": 0,\n \"has_more\": false,\n \"url\": \"/v1/accounts/acct_1KHYMbF1UHu0Yp5z/login_links\",\n \"data\": []\n },\n \"metadata\": {},\n \"payouts_enabled\": false,\n \"requirements\": {\n \"alternatives\": [],\n \"current_deadline\": null,\n \"currently_due\": [\n \"business_profile.url\",\n \"business_type\",\n \"external_account\",\n \"tos_acceptance.date\",\n \"tos_acceptance.ip\"\n ],\n \"disabled_reason\": \"requirements.past_due\",\n \"errors\": [],\n \"eventually_due\": [\n \"business_profile.url\",\n \"business_type\",\n \"external_account\",\n \"tos_acceptance.date\",\n \"tos_acceptance.ip\"\n ],\n \"past_due\": [\n \"business_profile.url\",\n \"business_type\",\n \"external_account\",\n \"tos_acceptance.date\",\n \"tos_acceptance.ip\"\n ],\n \"pending_verification\": []\n },\n \"settings\": {\n \"bacs_debit_payments\": {},\n \"branding\": {\n \"icon\": null,\n \"logo\": null,\n \"primary_color\": null,\n \"secondary_color\": null\n },\n \"card_issuing\": {\n \"tos_acceptance\": {\n \"date\": null,\n \"ip\": null\n }\n },\n \"card_payments\": {\n \"decline_on\": {\n \"avs_failure\": false,\n \"cvc_failure\": false\n },\n \"statement_descriptor_prefix\": null\n },\n \"dashboard\": {\n \"display_name\": null,\n \"timezone\": \"Etc/UTC\"\n },\n \"payments\": {\n \"statement_descriptor\": null,\n \"statement_descriptor_kana\": null,\n \"statement_descriptor_kanji\": null\n },\n \"payouts\": {\n \"debit_negative_balances\": true,\n \"schedule\": {\n \"delay_days\": 2,\n \"interval\": \"daily\"\n },\n \"statement_descriptor\": null\n },\n \"sepa_debit_payments\": {}\n },\n \"tos_acceptance\": {\n \"date\": null,\n \"ip\": null,\n \"user_agent\": null\n },\n \"type\": \"express\"\n },\n {\n \"id\": \"acct_1KHYJaEys7g6MIWJ\",\n \"object\": \"account\",\n \"business_profile\": {\n \"mcc\": null,\n \"name\": null,\n \"support_address\": null,\n \"support_email\": null,\n \"support_phone\": null,\n \"support_url\": null,\n \"url\": \"https://www.github.com\"\n },\n \"capabilities\": {\n \"transfers\": \"active\"\n },\n \"charges_enabled\": true,\n \"country\": \"US\",\n \"created\": 1642099587,\n \"default_currency\": \"usd\",\n \"details_submitted\": true,\n \"email\": null,\n \"external_accounts\": {\n \"object\": \"list\",\n \"data\": [\n {\n \"id\": \"ba_1KHYTNEys7g6MIWJY5aLLusF\",\n \"object\": \"bank_account\",\n \"account\": \"acct_1KHYJaEys7g6MIWJ\",\n \"account_holder_name\": null,\n \"account_holder_type\": null,\n \"account_type\": null,\n \"available_payout_methods\": [\n \"standard\"\n ],\n \"bank_name\": \"JPMORGAN CHASE BANK, NA\",\n \"country\": \"US\",\n \"currency\": \"usd\",\n \"default_for_currency\": true,\n \"fingerprint\": \"WRbmtHETTZ9UF5qq\",\n \"last4\": \"6789\",\n \"metadata\": {},\n \"routing_number\": \"325070760\",\n \"status\": \"new\"\n }\n ],\n \"has_more\": false,\n \"total_count\": 1,\n \"url\": \"/v1/accounts/acct_1KHYJaEys7g6MIWJ/external_accounts\"\n },\n \"future_requirements\": {\n \"alternatives\": [],\n \"current_deadline\": null,\n \"currently_due\": [],\n \"disabled_reason\": null,\n \"errors\": [],\n \"eventually_due\": [],\n \"past_due\": [],\n \"pending_verification\": []\n },\n \"login_links\": {\n \"object\": \"list\",\n \"total_count\": 0,\n \"has_more\": false,\n \"url\": \"/v1/accounts/acct_1KHYJaEys7g6MIWJ/login_links\",\n \"data\": []\n },\n \"metadata\": {},\n \"payouts_enabled\": true,\n \"requirements\": {\n \"alternatives\": [],\n \"current_deadline\": null,\n \"currently_due\": [],\n \"disabled_reason\": null,\n \"errors\": [],\n \"eventually_due\": [\n \"individual.dob.day\",\n \"individual.dob.month\",\n \"individual.dob.year\",\n \"individual.ssn_last_4\"\n ],\n \"past_due\": [],\n \"pending_verification\": []\n },\n \"settings\": {\n \"bacs_debit_payments\": {},\n \"branding\": {\n \"icon\": null,\n \"logo\": null,\n \"primary_color\": null,\n \"secondary_color\": null\n },\n \"card_issuing\": {\n \"tos_acceptance\": {\n \"date\": null,\n \"ip\": null\n }\n },\n \"card_payments\": {\n \"decline_on\": {\n \"avs_failure\": false,\n \"cvc_failure\": false\n },\n \"statement_descriptor_prefix\": null\n },\n \"dashboard\": {\n \"display_name\": \"Medium\",\n \"timezone\": \"Etc/UTC\"\n },\n \"payments\": {\n \"statement_descriptor\": \"WWW.GITHUB.COM\",\n \"statement_descriptor_kana\": null,\n \"statement_descriptor_kanji\": null\n },\n \"payouts\": {\n \"debit_negative_balances\": true,\n \"schedule\": {\n \"delay_days\": 2,\n \"interval\": \"daily\"\n },\n \"statement_descriptor\": null\n },\n \"sepa_debit_payments\": {}\n },\n \"tos_acceptance\": {\n \"date\": 1642100207\n },\n \"type\": \"express\"\n },\n {\n \"id\": \"acct_1KHYHyDXIOukH3I7\",\n \"object\": \"account\",\n \"business_profile\": {\n \"mcc\": null,\n \"name\": null,\n \"product_description\": null,\n \"support_address\": null,\n \"support_email\": null,\n \"support_phone\": null,\n \"support_url\": null,\n \"url\": null\n },\n \"business_type\": null,\n \"capabilities\": {\n \"transfers\": \"inactive\"\n },\n \"charges_enabled\": false,\n \"country\": \"US\",\n \"created\": 1642099496,\n \"default_currency\": \"usd\",\n \"details_submitted\": false,\n \"email\": null,\n \"external_accounts\": {\n \"object\": \"list\",\n \"data\": [],\n \"has_more\": false,\n \"total_count\": 0,\n \"url\": \"/v1/accounts/acct_1KHYHyDXIOukH3I7/external_accounts\"\n },\n \"future_requirements\": {\n \"alternatives\": [],\n \"current_deadline\": null,\n \"currently_due\": [],\n \"disabled_reason\": null,\n \"errors\": [],\n \"eventually_due\": [],\n \"past_due\": [],\n \"pending_verification\": []\n },\n \"login_links\": {\n \"object\": \"list\",\n \"total_count\": 0,\n \"has_more\": false,\n \"url\": \"/v1/accounts/acct_1KHYHyDXIOukH3I7/login_links\",\n \"data\": []\n },\n \"metadata\": {},\n \"payouts_enabled\": false,\n \"requirements\": {\n \"alternatives\": [],\n \"current_deadline\": null,\n \"currently_due\": [\n \"business_profile.url\",\n \"business_type\",\n \"external_account\",\n \"tos_acceptance.date\",\n \"tos_acceptance.ip\"\n ],\n \"disabled_reason\": \"requirements.past_due\",\n \"errors\": [],\n \"eventually_due\": [\n \"business_profile.url\",\n \"business_type\",\n \"external_account\",\n \"tos_acceptance.date\",\n \"tos_acceptance.ip\"\n ],\n \"past_due\": [\n \"business_profile.url\",\n \"business_type\",\n \"external_account\",\n \"tos_acceptance.date\",\n \"tos_acceptance.ip\"\n ],\n \"pending_verification\": []\n },\n \"settings\": {\n \"bacs_debit_payments\": {},\n \"branding\": {\n \"icon\": null,\n \"logo\": null,\n \"primary_color\": null,\n \"secondary_color\": null\n },\n \"card_issuing\": {\n \"tos_acceptance\": {\n \"date\": null,\n \"ip\": null\n }\n },\n \"card_payments\": {\n \"decline_on\": {\n \"avs_failure\": false,\n \"cvc_failure\": false\n },\n \"statement_descriptor_prefix\": null\n },\n \"dashboard\": {\n \"display_name\": null,\n \"timezone\": \"Etc/UTC\"\n },\n \"payments\": {\n \"statement_descriptor\": null,\n \"statement_descriptor_kana\": null,\n \"statement_descriptor_kanji\": null\n },\n \"payouts\": {\n \"debit_negative_balances\": true,\n \"schedule\": {\n \"delay_days\": 2,\n \"interval\": \"daily\"\n },\n \"statement_descriptor\": null\n },\n \"sepa_debit_payments\": {}\n },\n \"tos_acceptance\": {\n \"date\": null,\n \"ip\": null,\n \"user_agent\": null\n },\n \"type\": \"express\"\n },\n {\n \"id\": \"acct_1KGpasCKeUlvgO8K\",\n \"object\": \"account\",\n \"business_profile\": {\n \"mcc\": null,\n \"name\": null,\n \"support_address\": null,\n \"support_email\": null,\n \"support_phone\": null,\n \"support_url\": null,\n \"url\": \"https://www.github.com\"\n },\n \"capabilities\": {\n \"transfers\": \"active\"\n },\n \"charges_enabled\": true,\n \"country\": \"US\",\n \"created\": 1641927684,\n \"default_currency\": \"usd\",\n \"details_submitted\": true,\n \"email\": null,\n \"external_accounts\": {\n \"object\": \"list\",\n \"data\": [\n {\n \"id\": \"ba_1KGphOCKeUlvgO8KijILGgxy\",\n \"object\": \"bank_account\",\n \"account\": \"acct_1KGpasCKeUlvgO8K\",\n \"account_holder_name\": null,\n \"account_holder_type\": null,\n \"account_type\": null,\n \"available_payout_methods\": [\n \"standard\"\n ],\n \"bank_name\": \"STRIPE TEST BANK\",\n \"country\": \"US\",\n \"currency\": \"usd\",\n \"default_for_currency\": true,\n \"fingerprint\": \"6ZQg0d0D7rPVs2jA\",\n \"last4\": \"6789\",\n \"metadata\": {},\n \"routing_number\": \"110000000\",\n \"status\": \"new\"\n }\n ],\n \"has_more\": false,\n \"total_count\": 1,\n \"url\": \"/v1/accounts/acct_1KGpasCKeUlvgO8K/external_accounts\"\n },\n \"future_requirements\": {\n \"alternatives\": [],\n \"current_deadline\": null,\n \"currently_due\": [],\n \"disabled_reason\": null,\n \"errors\": [],\n \"eventually_due\": [],\n \"past_due\": [],\n \"pending_verification\": []\n },\n \"login_links\": {\n \"object\": \"list\",\n \"total_count\": 0,\n \"has_more\": false,\n \"url\": \"/v1/accounts/acct_1KGpasCKeUlvgO8K/login_links\",\n \"data\": []\n },\n \"metadata\": {},\n \"payouts_enabled\": true,\n \"requirements\": {\n \"alternatives\": [],\n \"current_deadline\": null,\n \"currently_due\": [],\n \"disabled_reason\": null,\n \"errors\": [],\n \"eventually_due\": [\n \"individual.dob.day\",\n \"individual.dob.month\",\n \"individual.dob.year\",\n \"individual.ssn_last_4\"\n ],\n \"past_due\": [],\n \"pending_verification\": []\n },\n \"settings\": {\n \"bacs_debit_payments\": {},\n \"branding\": {\n \"icon\": null,\n \"logo\": null,\n \"primary_color\": null,\n \"secondary_color\": null\n },\n \"card_issuing\": {\n \"tos_acceptance\": {\n \"date\": null,\n \"ip\": null\n }\n },\n \"card_payments\": {\n \"decline_on\": {\n \"avs_failure\": false,\n \"cvc_failure\": false\n },\n \"statement_descriptor_prefix\": null\n },\n \"dashboard\": {\n \"display_name\": \"Medium\",\n \"timezone\": \"Etc/UTC\"\n },\n \"payments\": {\n \"statement_descriptor\": \"WWW.GITHUB.COM\",\n \"statement_descriptor_kana\": null,\n \"statement_descriptor_kanji\": null\n },\n \"payouts\": {\n \"debit_negative_balances\": true,\n \"schedule\": {\n \"delay_days\": 2,\n \"interval\": \"daily\"\n },\n \"statement_descriptor\": null\n },\n \"sepa_debit_payments\": {}\n },\n \"tos_acceptance\": {\n \"date\": 1641928093\n },\n \"type\": \"express\"\n },\n {\n \"id\": \"acct_1KGoNfBmIRN6Cchh\",\n \"object\": \"account\",\n \"business_profile\": {\n \"mcc\": null,\n \"name\": null,\n \"support_address\": null,\n \"support_email\": null,\n \"support_phone\": null,\n \"support_url\": null,\n \"url\": \"https://www.bbc.com\"\n },\n \"capabilities\": {\n \"transfers\": \"active\"\n },\n \"charges_enabled\": true,\n \"country\": \"US\",\n \"created\": 1641923022,\n \"default_currency\": \"usd\",\n \"details_submitted\": true,\n \"email\": null,\n \"external_accounts\": {\n \"object\": \"list\",\n \"data\": [\n {\n \"id\": \"ba_1KGoU1BmIRN6Cchhef6Xf5ur\",\n \"object\": \"bank_account\",\n \"account\": \"acct_1KGoNfBmIRN6Cchh\",\n \"account_holder_name\": null,\n \"account_holder_type\": null,\n \"account_type\": null,\n \"available_payout_methods\": [\n \"standard\"\n ],\n \"bank_name\": \"STRIPE TEST BANK\",\n \"country\": \"US\",\n \"currency\": \"usd\",\n \"default_for_currency\": true,\n \"fingerprint\": \"6ZQg0d0D7rPVs2jA\",\n \"last4\": \"6789\",\n \"metadata\": {},\n \"routing_number\": \"110000000\",\n \"status\": \"new\"\n }\n ],\n \"has_more\": false,\n \"total_count\": 1,\n \"url\": \"/v1/accounts/acct_1KGoNfBmIRN6Cchh/external_accounts\"\n },\n \"future_requirements\": {\n \"alternatives\": [],\n \"current_deadline\": null,\n \"currently_due\": [],\n \"disabled_reason\": null,\n \"errors\": [],\n \"eventually_due\": [],\n \"past_due\": [],\n \"pending_verification\": []\n },\n \"login_links\": {\n \"object\": \"list\",\n \"total_count\": 0,\n \"has_more\": false,\n \"url\": \"/v1/accounts/acct_1KGoNfBmIRN6Cchh/login_links\",\n \"data\": []\n },\n \"metadata\": {},\n \"payouts_enabled\": true,\n \"requirements\": {\n \"alternatives\": [],\n \"current_deadline\": null,\n \"currently_due\": [],\n \"disabled_reason\": null,\n \"errors\": [],\n \"eventually_due\": [\n \"individual.dob.day\",\n \"individual.dob.month\",\n \"individual.dob.year\",\n \"individual.ssn_last_4\"\n ],\n \"past_due\": [],\n \"pending_verification\": []\n },\n \"settings\": {\n \"bacs_debit_payments\": {},\n \"branding\": {\n \"icon\": null,\n \"logo\": null,\n \"primary_color\": null,\n \"secondary_color\": null\n },\n \"card_issuing\": {\n \"tos_acceptance\": {\n \"date\": null,\n \"ip\": null\n }\n },\n \"card_payments\": {\n \"decline_on\": {\n \"avs_failure\": false,\n \"cvc_failure\": false\n },\n \"statement_descriptor_prefix\": null\n },\n \"dashboard\": {\n \"display_name\": \"Medium\",\n \"timezone\": \"Etc/UTC\"\n },\n \"payments\": {\n \"statement_descriptor\": \"WWW.BBC.COM\",\n \"statement_descriptor_kana\": null,\n \"statement_descriptor_kanji\": null\n },\n \"payouts\": {\n \"debit_negative_balances\": true,\n \"schedule\": {\n \"delay_days\": 2,\n \"interval\": \"daily\"\n },\n \"statement_descriptor\": null\n },\n \"sepa_debit_payments\": {}\n },\n \"tos_acceptance\": {\n \"date\": 1641923422\n },\n \"type\": \"express\"\n },\n {\n \"id\": \"acct_1KFPWDARrP4ogPjC\",\n \"object\": \"account\",\n \"business_profile\": {\n \"mcc\": null,\n \"name\": null,\n \"support_address\": null,\n \"support_email\": null,\n \"support_phone\": null,\n \"support_url\": null,\n \"url\": \"https://www.github.com\"\n },\n \"capabilities\": {\n \"transfers\": \"active\"\n },\n \"charges_enabled\": true,\n \"country\": \"US\",\n \"created\": 1641589240,\n \"default_currency\": \"usd\",\n \"details_submitted\": true,\n \"email\": \"[email protected]\",\n \"external_accounts\": {\n \"object\": \"list\",\n \"data\": [\n {\n \"id\": \"ba_1KFPXrARrP4ogPjC73sX3LGR\",\n \"object\": \"bank_account\",\n \"account\": \"acct_1KFPWDARrP4ogPjC\",\n \"account_holder_name\": null,\n \"account_holder_type\": null,\n \"account_type\": null,\n \"available_payout_methods\": [\n \"standard\"\n ],\n \"bank_name\": \"STRIPE TEST BANK\",\n \"country\": \"US\",\n \"currency\": \"usd\",\n \"default_for_currency\": true,\n \"fingerprint\": \"6ZQg0d0D7rPVs2jA\",\n \"last4\": \"6789\",\n \"metadata\": {},\n \"routing_number\": \"110000000\",\n \"status\": \"new\"\n }\n ],\n \"has_more\": false,\n \"total_count\": 1,\n \"url\": \"/v1/accounts/acct_1KFPWDARrP4ogPjC/external_accounts\"\n },\n \"future_requirements\": {\n \"alternatives\": [],\n \"current_deadline\": null,\n \"currently_due\": [],\n \"disabled_reason\": null,\n \"errors\": [],\n \"eventually_due\": [],\n \"past_due\": [],\n \"pending_verification\": []\n },\n \"login_links\": {\n \"object\": \"list\",\n \"total_count\": 0,\n \"has_more\": false,\n \"url\": \"/v1/accounts/acct_1KFPWDARrP4ogPjC/login_links\",\n \"data\": []\n },\n \"metadata\": {},\n \"payouts_enabled\": true,\n \"requirements\": {\n \"alternatives\": [],\n \"current_deadline\": null,\n \"currently_due\": [],\n \"disabled_reason\": null,\n \"errors\": [],\n \"eventually_due\": [\n \"individual.dob.day\",\n \"individual.dob.month\",\n \"individual.dob.year\",\n \"individual.ssn_last_4\"\n ],\n \"past_due\": [],\n \"pending_verification\": []\n },\n \"settings\": {\n \"bacs_debit_payments\": {},\n \"branding\": {\n \"icon\": null,\n \"logo\": null,\n \"primary_color\": null,\n \"secondary_color\": null\n },\n \"card_issuing\": {\n \"tos_acceptance\": {\n \"date\": null,\n \"ip\": null\n }\n },\n \"card_payments\": {\n \"decline_on\": {\n \"avs_failure\": false,\n \"cvc_failure\": false\n },\n \"statement_descriptor_prefix\": null\n },\n \"dashboard\": {\n \"display_name\": \"Medium\",\n \"timezone\": \"Etc/UTC\"\n },\n \"payments\": {\n \"statement_descriptor\": \"WWW.GITHUB.COM\",\n \"statement_descriptor_kana\": null,\n \"statement_descriptor_kanji\": null\n },\n \"payouts\": {\n \"debit_negative_balances\": true,\n \"schedule\": {\n \"delay_days\": 2,\n \"interval\": \"daily\"\n },\n \"statement_descriptor\": null\n },\n \"sepa_debit_payments\": {}\n },\n \"tos_acceptance\": {\n \"date\": 1641589231\n },\n \"type\": \"express\"\n },\n {\n \"id\": \"acct_1KF2PVJBGEffkmkS\",\n \"object\": \"account\",\n \"business_profile\": {\n \"mcc\": null,\n \"name\": null,\n \"support_address\": null,\n \"support_email\": null,\n \"support_phone\": null,\n \"support_url\": null,\n \"url\": \"https://www.github.com\"\n },\n \"capabilities\": {\n \"transfers\": \"active\"\n },\n \"charges_enabled\": true,\n \"country\": \"US\",\n \"created\": 1641500359,\n \"default_currency\": \"usd\",\n \"details_submitted\": true,\n \"email\": \"[email protected]\",\n \"external_accounts\": {\n \"object\": \"list\",\n \"data\": [\n {\n \"id\": \"ba_1KF2QKJBGEffkmkSPy6HgACk\",\n \"object\": \"bank_account\",\n \"account\": \"acct_1KF2PVJBGEffkmkS\",\n \"account_holder_name\": null,\n \"account_holder_type\": null,\n \"account_type\": null,\n \"available_payout_methods\": [\n \"standard\"\n ],\n \"bank_name\": \"STRIPE TEST BANK\",\n \"country\": \"US\",\n \"currency\": \"usd\",\n \"default_for_currency\": true,\n \"fingerprint\": \"6ZQg0d0D7rPVs2jA\",\n \"last4\": \"6789\",\n \"metadata\": {},\n \"routing_number\": \"110000000\",\n \"status\": \"new\"\n }\n ],\n \"has_more\": false,\n \"total_count\": 1,\n \"url\": \"/v1/accounts/acct_1KF2PVJBGEffkmkS/external_accounts\"\n },\n \"future_requirements\": {\n \"alternatives\": [],\n \"current_deadline\": null,\n \"currently_due\": [],\n \"disabled_reason\": null,\n \"errors\": [],\n \"eventually_due\": [],\n \"past_due\": [],\n \"pending_verification\": []\n },\n \"login_links\": {\n \"object\": \"list\",\n \"total_count\": 0,\n \"has_more\": false,\n \"url\": \"/v1/accounts/acct_1KF2PVJBGEffkmkS/login_links\",\n \"data\": []\n },\n \"metadata\": {},\n \"payouts_enabled\": true,\n \"requirements\": {\n \"alternatives\": [],\n \"current_deadline\": null,\n \"currently_due\": [],\n \"disabled_reason\": null,\n \"errors\": [],\n \"eventually_due\": [\n \"individual.dob.day\",\n \"individual.dob.month\",\n \"individual.dob.year\",\n \"individual.ssn_last_4\"\n ],\n \"past_due\": [],\n \"pending_verification\": []\n },\n \"settings\": {\n \"bacs_debit_payments\": {},\n \"branding\": {\n \"icon\": null,\n \"logo\": null,\n \"primary_color\": null,\n \"secondary_color\": null\n },\n \"card_issuing\": {\n \"tos_acceptance\": {\n \"date\": null,\n \"ip\": null\n }\n },\n \"card_payments\": {\n \"decline_on\": {\n \"avs_failure\": false,\n \"cvc_failure\": false\n },\n \"statement_descriptor_prefix\": null\n },\n \"dashboard\": {\n \"display_name\": \"Medium\",\n \"timezone\": \"Etc/UTC\"\n },\n \"payments\": {\n \"statement_descriptor\": \"WWW.GITHUB.COM\",\n \"statement_descriptor_kana\": null,\n \"statement_descriptor_kanji\": null\n },\n \"payouts\": {\n \"debit_negative_balances\": true,\n \"schedule\": {\n \"delay_days\": 2,\n \"interval\": \"daily\"\n },\n \"statement_descriptor\": null\n },\n \"sepa_debit_payments\": {}\n },\n \"tos_acceptance\": {\n \"date\": 1641500350\n },\n \"type\": \"express\"\n },\n {\n \"id\": \"acct_1KF0RPJPCjKx68Hl\",\n \"object\": \"account\",\n \"business_profile\": {\n \"mcc\": null,\n \"name\": null,\n \"support_address\": null,\n \"support_email\": null,\n \"support_phone\": null,\n \"support_url\": null,\n \"url\": \"https://www.medium.com\"\n },\n \"capabilities\": {\n \"transfers\": \"active\"\n },\n \"charges_enabled\": true,\n \"country\": \"US\",\n \"created\": 1641492787,\n \"default_currency\": \"usd\",\n \"details_submitted\": true,\n \"email\": \"[email protected]\",\n \"external_accounts\": {\n \"object\": \"list\",\n \"data\": [\n {\n \"id\": \"ba_1KF0SBJPCjKx68HlsrL8OgWl\",\n \"object\": \"bank_account\",\n \"account\": \"acct_1KF0RPJPCjKx68Hl\",\n \"account_holder_name\": null,\n \"account_holder_type\": null,\n \"account_type\": null,\n \"available_payout_methods\": [\n \"standard\"\n ],\n \"bank_name\": \"STRIPE TEST BANK\",\n \"country\": \"US\",\n \"currency\": \"usd\",\n \"default_for_currency\": true,\n \"fingerprint\": \"6ZQg0d0D7rPVs2jA\",\n \"last4\": \"6789\",\n \"metadata\": {},\n \"routing_number\": \"110000000\",\n \"status\": \"new\"\n }\n ],\n \"has_more\": false,\n \"total_count\": 1,\n \"url\": \"/v1/accounts/acct_1KF0RPJPCjKx68Hl/external_accounts\"\n },\n \"future_requirements\": {\n \"alternatives\": [],\n \"current_deadline\": null,\n \"currently_due\": [],\n \"disabled_reason\": null,\n \"errors\": [],\n \"eventually_due\": [],\n \"past_due\": [],\n \"pending_verification\": []\n },\n \"login_links\": {\n \"object\": \"list\",\n \"total_count\": 0,\n \"has_more\": false,\n \"url\": \"/v1/accounts/acct_1KF0RPJPCjKx68Hl/login_links\",\n \"data\": []\n },\n \"metadata\": {},\n \"payouts_enabled\": true,\n \"requirements\": {\n \"alternatives\": [],\n \"current_deadline\": null,\n \"currently_due\": [],\n \"disabled_reason\": null,\n \"errors\": [],\n \"eventually_due\": [\n \"individual.dob.day\",\n \"individual.dob.month\",\n \"individual.dob.year\",\n \"individual.ssn_last_4\"\n ],\n \"past_due\": [],\n \"pending_verification\": []\n },\n \"settings\": {\n \"bacs_debit_payments\": {},\n \"branding\": {\n \"icon\": null,\n \"logo\": null,\n \"primary_color\": null,\n \"secondary_color\": null\n },\n \"card_issuing\": {\n \"tos_acceptance\": {\n \"date\": null,\n \"ip\": null\n }\n },\n \"card_payments\": {\n \"decline_on\": {\n \"avs_failure\": false,\n \"cvc_failure\": false\n },\n \"statement_descriptor_prefix\": null\n },\n \"dashboard\": {\n \"display_name\": \"Medium\",\n \"timezone\": \"Etc/UTC\"\n },\n \"payments\": {\n \"statement_descriptor\": \"WWW.MEDIUM.COM\",\n \"statement_descriptor_kana\": null,\n \"statement_descriptor_kanji\": null\n },\n \"payouts\": {\n \"debit_negative_balances\": true,\n \"schedule\": {\n \"delay_days\": 2,\n \"interval\": \"daily\"\n },\n \"statement_descriptor\": null\n },\n \"sepa_debit_payments\": {}\n },\n \"tos_acceptance\": {\n \"date\": 1641492778\n },\n \"type\": \"express\"\n }\n ],\n \"has_more\": false,\n \"url\": \"/v1/accounts\"\n}"
}
]
},
{
"name": "/v1/customers/:account",
"request": {
"auth": {
"type": "bearer",
"bearer": {
"token": "{{api_key}}"
}
},
"method": "GET",
"header": [
{
"key": "host",
"value": "{{stripe_host}}",
"type": "text"
}
],
"url": "{{stripe_url}}/v1/customers/{{v2_account_id}}"
},
"response": []
},
{
"name": "Create external account for v2 account",
"request": {
"auth": {
"type": "bearer",
"bearer": {
"token": "{{api_key}}"
}
},
"method": "POST",
"header": [
{
"key": "Stripe-Version",
"value": "unsafe-development",
"type": "text",
"disabled": true
}
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "external_account[account_number]",
"value": "000123456789",
"type": "text"
},
{
"key": "external_account[routing_number]",
"value": "110000000",
"type": "text"
},
{
"key": "external_account[country]",
"value": "US",
"type": "text"
},
{
"key": "external_account[currency]",
"value": "usd",
"type": "text"
},
{
"key": "external_account[object]",
"value": "bank_account",
"type": "text"
}
]
},
"url": "{{stripe_url}}/v1/accounts/{{v1_account_id}}/external_accounts"
},
"response": [
{
"name": "Create v2 account",
"originalRequest": {
"method": "POST",
"header": [
{
"key": "Stripe-Version",
"value": "unsafe-development",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"email\": \"[email protected]\",\n \"name\": \"moirassd account\",\n \"legal_entity_data\": {\n \"country\": \"US\",\n \"business_type\": \"individual\",\n \"business_entity\": {\n \"name\": \"Rose Hotels\",\n \"id_numbers\": [\n {\n \"type\": \"us_taxpayer_id_number\",\n \"value\": \"000000000\"\n }\n ]\n },\n \"representative\": {\n \"given_name\": \"Moira\",\n \"surname\": \"Rose\",\n \"address\": {\n \"line1\": \"address_full_match\",\n \"city\": \"San Francisco\",\n \"postal_code\": \"94080\",\n \"state\": \"CA\",\n \"country\": \"US\"\n },\n \"dob\": {\n \"day\": 28,\n \"month\": 1,\n \"year\": 2000\n },\n \"email\": \"[email protected]\",\n \"phone\": \"213-712-2878\",\n \"id_numbers\": [\n {\n \"type\": \"us_ssn_last_4\",\n \"value\": \"0000\"\n }\n ]\n }\n },\n \"business_profile_data\": {\n \"mcc\": \"5734\",\n \"url\": \"http://accessible.stripe.com\"\n },\n \"configuration\": {\n \"customer_data\": {\n \"shipping_contact\": {\n \"phone\": \"11234567890\",\n \"name\": \"Rose hotels\",\n \"address\": {\n \"line1\": \"308399 Hockley Rd\",\n \"city\": \"San Francisco\",\n \"state\": \"California\",\n \"country\": \"US\",\n \"postal_code\": \"94080\"\n }\n },\n \"features\": {\n \"tax_collection\": {\n \"requested\": true\n }\n },\n \"tax_collection_settings\": {\n \"exempt\": \"none\",\n \"ip_address\": null\n }\n },\n \"merchant_data\": {\n \"statement_descriptor\": \"Rose hotels\",\n \"statement_descriptor_prefix\": \"Test\",\n \"card_payments\": {\n \"decline_on\": {\n \"avs_failure\": true,\n \"cvc_failure\": true\n }\n },\n \"features\": {\n \"card_payments\": {\n \"requested\": true\n }\n }\n },\n \"recipient_data\": {\n \"features\": {\n \"transfers\": {\n \"requested\": true\n }\n }\n }\n },\n \"metadata\": {\n \"my_key\": \"my_value\"\n },\n \"include\": [\n \"configuration.customer_data\",\n \"configuration.merchant_data\",\n \"configuration.recipient_data\"\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "{{stripe_url}}/v2/accounts_api"
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "nginx"
},
{
"key": "Date",
"value": "Tue, 30 Jul 2024 20:02:03 GMT"
},
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Content-Length",
"value": "1108"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Access-Control-Allow-Methods",
"value": "GET,HEAD,PUT,PATCH,POST,DELETE"
},
{
"key": "Access-Control-Allow-Origin",
"value": "*"
},
{
"key": "Access-Control-Expose-Headers",
"value": "Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required"
},
{
"key": "Access-Control-Max-Age",
"value": "300"
},
{
"key": "Cache-Control",
"value": "max-age=0, no-cache, no-store, must-revalidate"
},
{
"key": "Content-Security-Policy",
"value": "default-src: none; base-uri: none; form-action: none; frame-ancestors: none; img-src: none; script-src: none; style-src: none;"
},
{
"key": "Cross-Origin-Opener-Policy",
"value": "same-origin"
},
{
"key": "Expires",
"value": "0"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Referrer-Policy",
"value": "strict-origin-when-cross-origin"
},
{
"key": "Request-Id",
"value": "req_v2WxTiriCxV8iLh5b"
},
{
"key": "Stripe-Action-Id",
"value": "qa_iad2DRpt04jkNap5swNgkpu"
},
{
"key": "Vary",
"value": "Origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-Robots-Tag",
"value": "none"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=63072000; includeSubDomains; preload"
}
],
"cookie": [],
"body": "{\n \"id\": \"acct_test_61QrkCMZNJUmz7NU816QrkCM0WSQnpSUCVds6JGMyVXk\",\n \"object\": \"account\",\n \"applied_configurations\": [\n \"recipient\",\n \"customer\",\n \"merchant\"\n ],\n \"configuration\": {\n \"customer_data\": {\n \"features\": {\n \"tax_collection\": {\n \"requested\": true,\n \"status\": \"active\",\n \"status_details\": []\n }\n },\n \"shipping_contact\": {\n \"address\": {\n \"city\": \"San Francisco\",\n \"country\": \"US\",\n \"line1\": \"308399 Hockley Rd\",\n \"line2\": \"\",\n \"postal_code\": \"94080\",\n \"state\": \"California\"\n },\n \"name\": \"Rose hotels\",\n \"phone\": \"11234567890\"\n },\n \"tax_collection_settings\": null\n },\n \"merchant_data\": {\n \"card_payments\": {\n \"decline_on\": {\n \"avs_failure\": true,\n \"cvc_failure\": true\n }\n },\n \"features\": {\n \"card_payments\": {\n \"requested\": true,\n \"status\": \"restricted\",\n \"status_details\": []\n }\n },\n \"statement_descriptor\": \"Rose hotels\",\n \"statement_descriptor_prefix\": \"Test\",\n \"v1_account_id\": \"acct_1PiMF0P60Rk98NWB\"\n },\n \"recipient_data\": {\n \"features\": {\n \"transfers\": {\n \"requested\": true,\n \"status\": \"active\",\n \"status_details\": []\n }\n },\n \"v1_account_id\": \"acct_1PiMF0P60Rk98NWB\"\n }\n },\n \"created\": \"2024-07-30T20:02:03.000Z\",\n \"business_profile_data\": null,\n \"legal_entity_data\": null,\n \"email\": \"[email protected]\",\n \"metadata\": {\n \"my_key\": \"my_value\"\n },\n \"name\": \"moirassd account\"\n}"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment