This endpoint creates a new vendor.
Security
OAuth2(Required scopes: vendors)
- Productionhttps://api.brex.com/v1/vendors
- Staging (Note: This is not a sandbox. It will not work with customer tokens.)https://api-staging.brex.com/v1/vendors
curl -i -X POST \
https://api.brex.com/v1/vendors \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: string' \
-d '{
"company_name": "string",
"email": "user@example.com",
"phone": "string",
"payment_accounts": [
{
"details": {
"type": "DOMESTIC_WIRE",
"routing_number": "string",
"account_number": "string",
"address": {
"line1": "string",
"line2": "string",
"city": "string",
"state": "string",
"country": "string",
"postal_code": "string",
"phone_number": "string"
},
"beneficiary_name": "string"
}
}
]
}'Response
{ "id": "string", "company_name": "string", "email": "string", "phone": "string", "payment_accounts": [ { … } ] }