PATCH
/
invoice_account_number
/
{id}
curl --request PATCH \
  --url https://api.treasuryprime.com/invoice_account_number/{id} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "active": false
}'
{
  "account_id": "acct_1234567890",
  "account_number": "1234567890",
  "active": false,
  "bank_id": "bank_treasuryprime",
  "id": "acctnum_1234567890",
  "org_id": "org_1234567890",
  "tags": [],
  "userdata": null
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

Unique identifier for object

Body

application/json
The invoice_account_number to update
active
boolean

Flag indicating whether payments with this account number will post. Filterable.

tags
string[]

Tags associated with the object. Filterable.

userdata
object

Arbitrary data the user can attach to the object

Response

200 - application/json
The invoice_account_number updated
account_id
string

ID of the account with which the object is associated. Filterable.

account_number
string

Account number for use with incoming payments

active
boolean

Flag indicating whether payments with this account number will post. Deafults to true. Filterable.

bank_id
string

ID of the bank with which the object is associated

id
string

Unique identifier for object

org_id
string

ID of the organization with which the object is associated

tags
string[]

Tags associated with the object. Filterable.

userdata
object

Arbitrary data the user can attach to the object