{
"businessId": 1,
"currencySymbol": "USD",
"accountNumber": "9876543210",
"accountHolderName": "Alice Johnson",
"bankName": "Global Trust Bank",
"swiftCode": "GTBABC45XYZ",
"iban": "GB29NWBK60161331926819",
"routingNumber": "021000021",
"countryIso": "US",
"state": "NY",
"city": "New York",
"address": "Main Street",
"streetNumber": "123",
"zipCode": "10001",
"invoiceUrl": "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"
}
curl --location --request POST 'https://partners-api.service.cedar.money/bpapi/v1/businessExternalAccount/' \
--header 'x-api-key: CEDAR_DEV_api_key_b0ab5b29-caa7-4fa6-9f94-51dbc145e9ed' \
--header 'x-api-secret: CEDAR_DEV_api_secret_YtGc1iMIdVaSlE3yeBxS3Y6RY3j933s3YdTloLZjY9ar7T5vuVTGPovoRplo7PSZbYg2RLV9yJ3ZT7BctcxxPSR5pQpEMndj3EJB' \
--header 'Content-Type: application/json' \
--data-raw '{
"businessId": 1,
"currencySymbol": "USD",
"accountNumber": "9876543210",
"accountHolderName": "Alice Johnson",
"bankName": "Global Trust Bank",
"swiftCode": "GTBABC45XYZ",
"iban": "GB29NWBK60161331926819",
"routingNumber": "021000021",
"countryIso": "US",
"state": "NY",
"city": "New York",
"address": "Main Street",
"streetNumber": "123",
"zipCode": "10001",
"invoiceUrl": "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"
}'
{
"id": 1,
"creationTime": 1741013991817,
"lastUpdateTime": 1741013991817,
"accountNumber": "9876543210",
"accountHolderName": "Alice Johnson",
"bankName": "Global Trust Bank",
"swiftCode": "GTBABC45XXX",
"iban": "GB29NWBK60161331926819",
"routingNumber": "021000021",
"countryIso": "US",
"address": "Main Street",
"streetNumber": "123",
"city": "New York",
"state": "NY",
"zipCode": "10001",
"businessId": 1,
"currencySymbol": "USD",
"accountStatus": "PENDING"
}