Credit

Returns the credit limit history of an account

get
/v1/accounts/{accountId}/credit-limit/history

Returns the credit limit history of an account filtered by a date range

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
accountIdstring · uuidRequired

The account ID

Query parameters
startDatestring · dateRequired

The first date to include in the credit limit history

Example: 2024-02-01
endDatestring · dateRequired

The last date to include in the credit limit history

Example: 2024-05-01
afterstringOptional

When provided, specifies the last item returned in previous page, used to fetch the next page. Fetches the first page when omitted.

limitstring · integerOptional

When provided, specifies the number of items to return in the page. Uses default page size of 10 when omitted.

Responses
200

Successful response

application/json
get
/v1/accounts/{accountId}/credit-limit/history

Set the credit limit of an account

put
/v1/accounts/{accountId}/credit-limit

Set the credit limit of an account to the amount specified

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
accountIdstring · uuidRequired

The account ID

Body
amountstring · numberRequiredExample: 10000
Responses
200

Successful response

application/json
put
/v1/accounts/{accountId}/credit-limit

Increase or Decrease Credit Limit

patch
/v1/accounts/{accountId}/credit-limit

Applies an incremental change to the credit limit of an account

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
accountIdstring · uuidRequired

The account ID

Body
amountstring · numberOptional

The amount to increase or decrease the credit limit by

Example: 10000
actionstring · enumOptional

The action to either increase or decrease the credit limit by the amount provided.

Example: INCREASEPossible values:
Responses
200

Successful response

application/json
patch
/v1/accounts/{accountId}/credit-limit

Last updated