Skip to main content
POST
Set default payment account

Authorizations

X-API-KEY
string
header
required

API Key Authentication.

Path Parameters

id
string<uuid>
required

The unique identifier of the payment account in our system.

Response

A payment account, the record of who pays a customer's invoices: a name, a tax id, an optional phone and the e-mails that receive the invoices. A customer can have several, with one as the default.

id
string<uuid>
required

The unique identifier of the payment account in our system.

customerId
string<uuid>
required

The unique identifier of the customer that owns the payment account.

archivedAt
null | string<date-time>
required

Archive timestamp for payment accounts that were archived.

isDefault
boolean
required

Whether the payment account is the default payment account of its customer.

The company or person who pays the invoices of the payment account: its names, its tax id, its phone, its address and its invoice recipients.