Skip to main content
POST
Create a Counterparty

Authorizations

Authorization
string
header
required

API key for authentication. Get your key from the Dashboard > Settings > API Access.

Body

application/json
accountName
string
required

The account name of the counterparty

accountNumber
string
required

The account number of the counterparty

type
enum<string>
required

The type of the counterparty

Available options:
customer,
vendor,
both
email
string<email> | null

The email of the counterparty

otherEmails
string<email>[] | null

The other emails of the counterparty

phone
string | null

The phone of the counterparty

address
object | null

The address of the counterparty

taxId
string | null

The tax id of the counterparty

Response

Create a Counterparty executed successfully

message
string

Success message

metaData
object
data
object