Skip to content

PaymentsPaths

Defined in: src/payments/types.gen.ts:2

/v1/incoming_transfers: object

Defined in: src/payments/types.gen.ts:3

optional delete?: undefined

optional get?: undefined

optional head?: undefined

optional options?: undefined

parameters: object

optional cookie?: undefined

optional header?: undefined

optional path?: undefined

optional query?: undefined

optional patch?: undefined

post: object

Create incoming transfer

This endpoint creates a new incoming transfer. You may use use any eligible bank account connection to fund (ACH Debit) any active Brex business account.

**Reminder**: You may not use the Brex API for any activity that requires a license or registration from any
governmental authority without Brex's prior review and approval. This includes but is not limited to any money services
business or money transmission activity.
Please review the <a href="https://www.brex.com/legal/developer-portal/">Brex Access Agreement</a> and contact us if
you have any questions.

parameters: object

optional cookie?: undefined

header: object

Idempotency-Key: string

optional path?: undefined

optional query?: undefined

requestBody: object

content: object

application/json: object

post.requestBody.content.application/json.amount
Section titled “post.requestBody.content.application/json.amount”

amount: object

post.requestBody.content.application/json.amount.amount
Section titled “post.requestBody.content.application/json.amount.amount”

amount: number

Format: int64

The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.

700
post.requestBody.content.application/json.amount.currency
Section titled “post.requestBody.content.application/json.amount.currency”

currency: string | null

The type of currency, in ISO 4217 format.

USD
USD
post.requestBody.content.application/json.counterparty
Section titled “post.requestBody.content.application/json.counterparty”

counterparty: object & object

id: string

The financial account id: Can be found from the List linked accounts endpoint

type: "BANK"

type: "BANK"

discriminator enum property added by openapi-typescript

post.requestBody.content.application/json.description
Section titled “post.requestBody.content.application/json.description”

description: string

Description of the transfer for internal use. Not exposed externally.

post.requestBody.content.application/json.receiving_account
Section titled “post.requestBody.content.application/json.receiving_account”

receiving_account: object & object

id: string

ID of the Brex business account: Can be found from the List business accounts endpoint

type: "BREX_CASH"

type: "BREX_CASH"

discriminator enum property added by openapi-typescript

responses: object

200: object

createIncomingTransfer 200 response

content: object

post.responses.200.content.application/json
Section titled “post.responses.200.content.application/json”

application/json: object

post.responses.200.content.application/json.amount
Section titled “post.responses.200.content.application/json.amount”

amount: object

post.responses.200.content.application/json.amount.amount
Section titled “post.responses.200.content.application/json.amount.amount”

amount: number

Format: int64

The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.

700
post.responses.200.content.application/json.amount.currency
Section titled “post.responses.200.content.application/json.amount.currency”

currency: string | null

The type of currency, in ISO 4217 format.

USD
USD
post.responses.200.content.application/json.cancellation_reason?
Section titled “post.responses.200.content.application/json.cancellation_reason?”

optional cancellation_reason?: "USER_CANCELLED" | "INSUFFICIENT_FUNDS" | "APPROVAL_DENIED" | "BLOCKED_BY_POSITIVE_PAY" | null

post.responses.200.content.application/json.counterparty?
Section titled “post.responses.200.content.application/json.counterparty?”

optional counterparty?: Omit<object & object, "type"> | null

post.responses.200.content.application/json.created_at?
Section titled “post.responses.200.content.application/json.created_at?”

optional created_at?: string | null

Format: date

Date of transfer creation

post.responses.200.content.application/json.creator_user_id?
Section titled “post.responses.200.content.application/json.creator_user_id?”

optional creator_user_id?: string | null

User ID of the transfer initiator

post.responses.200.content.application/json.description?
Section titled “post.responses.200.content.application/json.description?”

optional description?: string | null

Description of the transfer

post.responses.200.content.application/json.display_name?
Section titled “post.responses.200.content.application/json.display_name?”

optional display_name?: string | null

Human readable name for the transaction

post.responses.200.content.application/json.estimated_delivery_date?
Section titled “post.responses.200.content.application/json.estimated_delivery_date?”

optional estimated_delivery_date?: string | null

Format: date

Estimated delivery date for transfer

post.responses.200.content.application/json.external_memo?
Section titled “post.responses.200.content.application/json.external_memo?”

optional external_memo?: string | null

External memo for the transfer. Payment Instructions for Wires and the Entry Description for ACH payments. Must be at most 90 characters for ACH and WIRE transactions and at most 40 characters for CHEQUES

post.responses.200.content.application/json.id
Section titled “post.responses.200.content.application/json.id”

id: string

Unique ID associated with the transfer

post.responses.200.content.application/json.is_ppro_enabled?
Section titled “post.responses.200.content.application/json.is_ppro_enabled?”

optional is_ppro_enabled?: boolean | null

If Principal Protection (PPRO) is enabled

post.responses.200.content.application/json.originating_account
Section titled “post.responses.200.content.application/json.originating_account”

originating_account: object & object

id: string

ID of the Brex Business account.

type: "BREX_CASH"

type: "BREX_CASH"

discriminator enum property added by openapi-typescript

post.responses.200.content.application/json.payment_type
Section titled “post.responses.200.content.application/json.payment_type”

payment_type: "ACH" | "DOMESTIC_WIRE" | "CHEQUE" | "INTERNATIONAL_WIRE" | "BOOK_TRANSFER" | "STABLECOIN"

post.responses.200.content.application/json.process_date?
Section titled “post.responses.200.content.application/json.process_date?”

optional process_date?: string | null

Format: date

Transaction processing date

post.responses.200.content.application/json.status
Section titled “post.responses.200.content.application/json.status”

status: "PROCESSING" | "SCHEDULED" | "PENDING_APPROVAL" | "FAILED" | "PROCESSED"

headers: object

[name: string]: unknown

optional put?: undefined

optional trace?: undefined


/v1/linked_accounts: object

Defined in: src/payments/types.gen.ts:31

optional delete?: undefined

get: object

Lists linked accounts

This endpoint lists all bank connections that are eligible to make ACH transfers to Brex business account

parameters: object

optional cookie?: undefined

optional header?: undefined

optional path?: undefined

optional query?: object

optional cursor?: string | null

optional limit?: number | null

optional requestBody?: undefined

responses: object

200: object

Returns a list of bank connections

content: object

get.responses.200.content.application/json
Section titled “get.responses.200.content.application/json”

application/json: object

get.responses.200.content.application/json.items
Section titled “get.responses.200.content.application/json.items”

items: object[]

get.responses.200.content.application/json.next_cursor?
Section titled “get.responses.200.content.application/json.next_cursor?”

optional next_cursor?: string | null

headers: object

[name: string]: unknown

400: object

Bad request

optional content?: undefined

headers: object

[name: string]: unknown

401: object

Unauthorized

optional content?: undefined

headers: object

[name: string]: unknown

403: object

Forbidden

optional content?: undefined

headers: object

[name: string]: unknown

optional head?: undefined

optional options?: undefined

parameters: object

optional cookie?: undefined

optional header?: undefined

optional path?: undefined

optional query?: undefined

optional patch?: undefined

optional post?: undefined

optional put?: undefined

optional trace?: undefined


/v1/transfers: object

Defined in: src/payments/types.gen.ts:51

optional delete?: undefined

get: object

Lists transfers

This endpoint lists existing transfers for an account.

Currently, the API can only return transfers for the following payment rails:
- ACH
- DOMESTIC_WIRE
- CHEQUE
- INTERNATIONAL_WIRE

parameters: object

optional cookie?: undefined

optional header?: undefined

optional path?: undefined

optional query?: object

optional cursor?: string | null

optional limit?: number | null

optional requestBody?: undefined

responses: object

200: object

Returns a list of transfers.

content: object

get.responses.200.content.application/json
Section titled “get.responses.200.content.application/json”

application/json: object

get.responses.200.content.application/json.items
Section titled “get.responses.200.content.application/json.items”

items: object[]

get.responses.200.content.application/json.next_cursor?
Section titled “get.responses.200.content.application/json.next_cursor?”

optional next_cursor?: string | null

headers: object

[name: string]: unknown

400: object

Bad request

optional content?: undefined

headers: object

[name: string]: unknown

401: object

Unauthorized

optional content?: undefined

headers: object

[name: string]: unknown

403: object

Forbidden

optional content?: undefined

headers: object

[name: string]: unknown

500: object

Internal server error

optional content?: undefined

headers: object

[name: string]: unknown

optional head?: undefined

optional options?: undefined

parameters: object

optional cookie?: undefined

optional header?: undefined

optional path?: undefined

optional query?: undefined

optional patch?: undefined

post: object

Create transfer

This endpoint creates a new transfer.

Currently, the API can only create transfers for the following payment rails:
- ACH
- DOMESTIC_WIRE
- CHEQUE
- INTERNATIONAL_WIRES
**Transaction Descriptions**
* For outgoing check payments, a successful transfer will return a response containing a description value with a format of `Check #<check number> to <recipient_name> - <external_memo>`.
* For book transfers (from one Brex Business account to another), the recipient value will have a format of `<customer_account.dba_name> - <external_memo>` and the sender will have a format of `<target customer account's dba name> - <external_memo>`.
* For other payment rails, the format will be `<counterparty_name> - <external_memo>`, where Counterparty name is `payment_instrument.beneficiary_name` or `contact.name`
For vendors created from the Payments API, the `counterparty_name` will be the `company_name` [field](/openapi/payments_api/#operation/createVendor!path=company_name&t=request).
**Reminder**: You may not use the Brex API for any activity that requires a license or registration from any
governmental authority without Brex's prior review and approval. This includes but is not limited to any money services
business or money transmission activity.
Please review the <a href="https://www.brex.com/legal/developer-portal/">Brex Access Agreement</a> and contact us if
you have any questions.

parameters: object

optional cookie?: undefined

header: object

Idempotency-Key: string

optional path?: undefined

optional query?: undefined

requestBody: object

content: object

application/json: object

post.requestBody.content.application/json.amount
Section titled “post.requestBody.content.application/json.amount”

amount: object

post.requestBody.content.application/json.amount.amount
Section titled “post.requestBody.content.application/json.amount.amount”

amount: number

Format: int64

The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.

700
post.requestBody.content.application/json.amount.currency
Section titled “post.requestBody.content.application/json.amount.currency”

currency: string | null

The type of currency, in ISO 4217 format.

USD
USD
post.requestBody.content.application/json.approval_type?
Section titled “post.requestBody.content.application/json.approval_type?”

optional approval_type?: "MANUAL" | null

post.requestBody.content.application/json.counterparty
Section titled “post.requestBody.content.application/json.counterparty”

counterparty: object & object | object & object

post.requestBody.content.application/json.description
Section titled “post.requestBody.content.application/json.description”

description: string

Description of the transfer for internal use. Not exposed externally.

post.requestBody.content.application/json.external_memo
Section titled “post.requestBody.content.application/json.external_memo”

external_memo: string

External memo for the transfer. Payment Instructions for Wires and the Entry Description for ACH payments. Must be at most 90 characters for ACH and WIRE transactions and at most 40 characters for CHEQUES

post.requestBody.content.application/json.is_ppro_enabled?
Section titled “post.requestBody.content.application/json.is_ppro_enabled?”

optional is_ppro_enabled?: boolean

When set to true, add Principal Protection (PPRO) to the transaction. PPRO means Brex will cover any fees charged by intemediary or receiving banks. PPRO charges will be billed separately in a monthly statement. PPRO is only available for international wire transactions.

post.requestBody.content.application/json.originating_account
Section titled “post.requestBody.content.application/json.originating_account”

originating_account: Omit<object & object, "type">

responses: object

200: object

createTransfer 200 response

content: object

post.responses.200.content.application/json
Section titled “post.responses.200.content.application/json”

application/json: object

post.responses.200.content.application/json.amount
Section titled “post.responses.200.content.application/json.amount”

amount: object

post.responses.200.content.application/json.amount.amount
Section titled “post.responses.200.content.application/json.amount.amount”

amount: number

Format: int64

The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.

700
post.responses.200.content.application/json.amount.currency
Section titled “post.responses.200.content.application/json.amount.currency”

currency: string | null

The type of currency, in ISO 4217 format.

USD
USD
post.responses.200.content.application/json.cancellation_reason?
Section titled “post.responses.200.content.application/json.cancellation_reason?”

optional cancellation_reason?: "USER_CANCELLED" | "INSUFFICIENT_FUNDS" | "APPROVAL_DENIED" | "BLOCKED_BY_POSITIVE_PAY" | null

post.responses.200.content.application/json.counterparty?
Section titled “post.responses.200.content.application/json.counterparty?”

optional counterparty?: Omit<object & object, "type"> | null

post.responses.200.content.application/json.created_at?
Section titled “post.responses.200.content.application/json.created_at?”

optional created_at?: string | null

Format: date

Date of transfer creation

post.responses.200.content.application/json.creator_user_id?
Section titled “post.responses.200.content.application/json.creator_user_id?”

optional creator_user_id?: string | null

User ID of the transfer initiator

post.responses.200.content.application/json.description?
Section titled “post.responses.200.content.application/json.description?”

optional description?: string | null

Description of the transfer

post.responses.200.content.application/json.display_name?
Section titled “post.responses.200.content.application/json.display_name?”

optional display_name?: string | null

Human readable name for the transaction

post.responses.200.content.application/json.estimated_delivery_date?
Section titled “post.responses.200.content.application/json.estimated_delivery_date?”

optional estimated_delivery_date?: string | null

Format: date

Estimated delivery date for transfer

post.responses.200.content.application/json.external_memo?
Section titled “post.responses.200.content.application/json.external_memo?”

optional external_memo?: string | null

External memo for the transfer. Payment Instructions for Wires and the Entry Description for ACH payments. Must be at most 90 characters for ACH and WIRE transactions and at most 40 characters for CHEQUES

post.responses.200.content.application/json.id
Section titled “post.responses.200.content.application/json.id”

id: string

Unique ID associated with the transfer

post.responses.200.content.application/json.is_ppro_enabled?
Section titled “post.responses.200.content.application/json.is_ppro_enabled?”

optional is_ppro_enabled?: boolean | null

If Principal Protection (PPRO) is enabled

post.responses.200.content.application/json.originating_account
Section titled “post.responses.200.content.application/json.originating_account”

originating_account: object & object

id: string

ID of the Brex Business account.

type: "BREX_CASH"

type: "BREX_CASH"

discriminator enum property added by openapi-typescript

post.responses.200.content.application/json.payment_type
Section titled “post.responses.200.content.application/json.payment_type”

payment_type: "ACH" | "DOMESTIC_WIRE" | "CHEQUE" | "INTERNATIONAL_WIRE" | "BOOK_TRANSFER" | "STABLECOIN"

post.responses.200.content.application/json.process_date?
Section titled “post.responses.200.content.application/json.process_date?”

optional process_date?: string | null

Format: date

Transaction processing date

post.responses.200.content.application/json.status
Section titled “post.responses.200.content.application/json.status”

status: "PROCESSING" | "SCHEDULED" | "PENDING_APPROVAL" | "FAILED" | "PROCESSED"

headers: object

[name: string]: unknown

optional put?: undefined

optional trace?: undefined


/v1/transfers/{id}: object

Defined in: src/payments/types.gen.ts:100

optional delete?: undefined

get: object

Get transfer

This endpoint gets a transfer by ID.

Currently, the API can only return transfers for the following payment rails:
- ACH
- DOMESTIC_WIRE
- CHEQUE
- INTERNATIONAL_WIRE

parameters: object

optional cookie?: undefined

optional header?: undefined

path: object

id: string

optional query?: undefined

optional requestBody?: undefined

responses: object

200: object

Returns a transfer.

content: object

get.responses.200.content.application/json
Section titled “get.responses.200.content.application/json”

application/json: object

get.responses.200.content.application/json.amount
Section titled “get.responses.200.content.application/json.amount”

amount: object

get.responses.200.content.application/json.amount.amount
Section titled “get.responses.200.content.application/json.amount.amount”

amount: number

Format: int64

The amount of money, in the smallest denomination of the currency indicated by currency. For example, when currency is USD, amount is in cents.

700
get.responses.200.content.application/json.amount.currency
Section titled “get.responses.200.content.application/json.amount.currency”

currency: string | null

The type of currency, in ISO 4217 format.

USD
USD
get.responses.200.content.application/json.cancellation_reason?
Section titled “get.responses.200.content.application/json.cancellation_reason?”

optional cancellation_reason?: "USER_CANCELLED" | "INSUFFICIENT_FUNDS" | "APPROVAL_DENIED" | "BLOCKED_BY_POSITIVE_PAY" | null

get.responses.200.content.application/json.counterparty?
Section titled “get.responses.200.content.application/json.counterparty?”

optional counterparty?: Omit<object & object, "type"> | null

get.responses.200.content.application/json.created_at?
Section titled “get.responses.200.content.application/json.created_at?”

optional created_at?: string | null

Format: date

Date of transfer creation

get.responses.200.content.application/json.creator_user_id?
Section titled “get.responses.200.content.application/json.creator_user_id?”

optional creator_user_id?: string | null

User ID of the transfer initiator

get.responses.200.content.application/json.description?
Section titled “get.responses.200.content.application/json.description?”

optional description?: string | null

Description of the transfer

get.responses.200.content.application/json.display_name?
Section titled “get.responses.200.content.application/json.display_name?”

optional display_name?: string | null

Human readable name for the transaction

get.responses.200.content.application/json.estimated_delivery_date?
Section titled “get.responses.200.content.application/json.estimated_delivery_date?”

optional estimated_delivery_date?: string | null

Format: date

Estimated delivery date for transfer

get.responses.200.content.application/json.external_memo?
Section titled “get.responses.200.content.application/json.external_memo?”

optional external_memo?: string | null

External memo for the transfer. Payment Instructions for Wires and the Entry Description for ACH payments. Must be at most 90 characters for ACH and WIRE transactions and at most 40 characters for CHEQUES

get.responses.200.content.application/json.id
Section titled “get.responses.200.content.application/json.id”

id: string

Unique ID associated with the transfer

get.responses.200.content.application/json.is_ppro_enabled?
Section titled “get.responses.200.content.application/json.is_ppro_enabled?”

optional is_ppro_enabled?: boolean | null

If Principal Protection (PPRO) is enabled

get.responses.200.content.application/json.originating_account
Section titled “get.responses.200.content.application/json.originating_account”

originating_account: object & object

id: string

ID of the Brex Business account.

type: "BREX_CASH"

type: "BREX_CASH"

discriminator enum property added by openapi-typescript

get.responses.200.content.application/json.payment_type
Section titled “get.responses.200.content.application/json.payment_type”

payment_type: "ACH" | "DOMESTIC_WIRE" | "CHEQUE" | "INTERNATIONAL_WIRE" | "BOOK_TRANSFER" | "STABLECOIN"

get.responses.200.content.application/json.process_date?
Section titled “get.responses.200.content.application/json.process_date?”

optional process_date?: string | null

Format: date

Transaction processing date

get.responses.200.content.application/json.status
Section titled “get.responses.200.content.application/json.status”

status: "PROCESSING" | "SCHEDULED" | "PENDING_APPROVAL" | "FAILED" | "PROCESSED"

headers: object

[name: string]: unknown

400: object

Bad request

optional content?: undefined

headers: object

[name: string]: unknown

401: object

Unauthorized

optional content?: undefined

headers: object

[name: string]: unknown

403: object

Forbidden

optional content?: undefined

headers: object

[name: string]: unknown

500: object

Internal server error

optional content?: undefined

headers: object

[name: string]: unknown

optional head?: undefined

optional options?: undefined

parameters: object

optional cookie?: undefined

optional header?: undefined

optional path?: undefined

optional query?: undefined

optional patch?: undefined

optional post?: undefined

optional put?: undefined

optional trace?: undefined


/v1/vendors: object

Defined in: src/payments/types.gen.ts:126

optional delete?: undefined

get: object

Lists vendors

This endpoint lists all existing vendors for an account. Takes an optional parameter to match by vendor name.

parameters: object

optional cookie?: undefined

optional header?: undefined

optional path?: undefined

optional query?: object

optional cursor?: string | null

optional limit?: number | null

optional name?: string | null

optional requestBody?: undefined

responses: object

200: object

Returns a list of vendor objects.

content: object

get.responses.200.content.application/json
Section titled “get.responses.200.content.application/json”

application/json: object

get.responses.200.content.application/json.items
Section titled “get.responses.200.content.application/json.items”

items: object[]

get.responses.200.content.application/json.next_cursor?
Section titled “get.responses.200.content.application/json.next_cursor?”

optional next_cursor?: string | null

headers: object

[name: string]: unknown

400: object

Bad request

optional content?: undefined

headers: object

[name: string]: unknown

401: object

Unauthorized

optional content?: undefined

headers: object

[name: string]: unknown

403: object

Forbidden

optional content?: undefined

headers: object

[name: string]: unknown

optional head?: undefined

optional options?: undefined

parameters: object

optional cookie?: undefined

optional header?: undefined

optional path?: undefined

optional query?: undefined

optional patch?: undefined

post: object

Create vendor

This endpoint creates a new vendor.

parameters: object

optional cookie?: undefined

header: object

Idempotency-Key: string

optional path?: undefined

optional query?: undefined

requestBody: object

content: object

application/json: object

post.requestBody.content.application/json.company_name
Section titled “post.requestBody.content.application/json.company_name”

company_name: string

Name for vendor. The name must be unique.

post.requestBody.content.application/json.email?
Section titled “post.requestBody.content.application/json.email?”

optional email?: string | null

Format: email

Email for vendor.

post.requestBody.content.application/json.payment_accounts?
Section titled “post.requestBody.content.application/json.payment_accounts?”

optional payment_accounts?: object[] | null

Payment accounts associated with the vendor.

post.requestBody.content.application/json.phone?
Section titled “post.requestBody.content.application/json.phone?”

optional phone?: string | null

Phone number for vendor.

responses: object

200: object

createVendor 200 response

content: object

post.responses.200.content.application/json
Section titled “post.responses.200.content.application/json”

application/json: object

post.responses.200.content.application/json.company_name?
Section titled “post.responses.200.content.application/json.company_name?”

optional company_name?: string | null

post.responses.200.content.application/json.email?
Section titled “post.responses.200.content.application/json.email?”

optional email?: string | null

post.responses.200.content.application/json.id
Section titled “post.responses.200.content.application/json.id”

id: string

Vendor ID: Can be passed to /transfers endpoint to specify counterparty.

post.responses.200.content.application/json.payment_accounts?
Section titled “post.responses.200.content.application/json.payment_accounts?”

optional payment_accounts?: object[] | null

post.responses.200.content.application/json.phone?
Section titled “post.responses.200.content.application/json.phone?”

optional phone?: string | null

headers: object

[name: string]: unknown

optional put?: undefined

optional trace?: undefined


/v1/vendors/{id}: object

Defined in: src/payments/types.gen.ts:151

delete: object

Delete vendor.

This endpoint deletes a vendor by ID.

parameters: object

optional cookie?: undefined

optional header?: undefined

path: object

id: string

optional query?: undefined

optional requestBody?: undefined

responses: object

200: object

deleteVendor 200 response

optional content?: undefined

headers: object

[name: string]: unknown

get: object

Get vendor

This endpoint gets a vendor by ID.

parameters: object

optional cookie?: undefined

optional header?: undefined

path: object

id: string

optional query?: undefined

optional requestBody?: undefined

responses: object

200: object

Returns a vendor object.

content: object

get.responses.200.content.application/json
Section titled “get.responses.200.content.application/json”

application/json: object

get.responses.200.content.application/json.company_name?
Section titled “get.responses.200.content.application/json.company_name?”

optional company_name?: string | null

get.responses.200.content.application/json.email?
Section titled “get.responses.200.content.application/json.email?”

optional email?: string | null

get.responses.200.content.application/json.id
Section titled “get.responses.200.content.application/json.id”

id: string

Vendor ID: Can be passed to /transfers endpoint to specify counterparty.

get.responses.200.content.application/json.payment_accounts?
Section titled “get.responses.200.content.application/json.payment_accounts?”

optional payment_accounts?: object[] | null

get.responses.200.content.application/json.phone?
Section titled “get.responses.200.content.application/json.phone?”

optional phone?: string | null

headers: object

[name: string]: unknown

400: object

Bad request

optional content?: undefined

headers: object

[name: string]: unknown

401: object

Unauthorized

optional content?: undefined

headers: object

[name: string]: unknown

403: object

Forbidden

optional content?: undefined

headers: object

[name: string]: unknown

500: object

Internal server error

optional content?: undefined

headers: object

[name: string]: unknown

optional head?: undefined

optional options?: undefined

parameters: object

optional cookie?: undefined

optional header?: undefined

optional path?: undefined

optional query?: undefined

optional patch?: undefined

optional post?: undefined

put: object

Update vendor

Updates an existing vendor by ID.

parameters: object

optional cookie?: undefined

optional header?: object

optional Idempotency-Key?: string | null

path: object

id: string

optional query?: undefined

requestBody: object

content: object

application/json: object

put.requestBody.content.application/json.beneficiary_name?
Section titled “put.requestBody.content.application/json.beneficiary_name?”

optional beneficiary_name?: string | null

Name for the Beneficiary

put.requestBody.content.application/json.company_name?
Section titled “put.requestBody.content.application/json.company_name?”

optional company_name?: string | null

Name for vendor

put.requestBody.content.application/json.email?
Section titled “put.requestBody.content.application/json.email?”

optional email?: string | null

Format: email

Email for vendor

put.requestBody.content.application/json.payment_accounts?
Section titled “put.requestBody.content.application/json.payment_accounts?”

optional payment_accounts?: object[] | null

To update payment instruments, we require the entire payload for each payment instrument that is being updated.

put.requestBody.content.application/json.phone?
Section titled “put.requestBody.content.application/json.phone?”

optional phone?: string | null

Phone number for vendor

responses: object

200: object

updateVendor 200 response

content: object

put.responses.200.content.application/json
Section titled “put.responses.200.content.application/json”

application/json: object

put.responses.200.content.application/json.company_name?
Section titled “put.responses.200.content.application/json.company_name?”

optional company_name?: string | null

put.responses.200.content.application/json.email?
Section titled “put.responses.200.content.application/json.email?”

optional email?: string | null

put.responses.200.content.application/json.id
Section titled “put.responses.200.content.application/json.id”

id: string

Vendor ID: Can be passed to /transfers endpoint to specify counterparty.

put.responses.200.content.application/json.payment_accounts?
Section titled “put.responses.200.content.application/json.payment_accounts?”

optional payment_accounts?: object[] | null

put.responses.200.content.application/json.phone?
Section titled “put.responses.200.content.application/json.phone?”

optional phone?: string | null

headers: object

[name: string]: unknown

optional trace?: undefined