Skip to main content

Create Authorization Hold

POST 

/authorization-holds

(In Development)

Authorization holds API allows balance blocking for transfer operations. This allows for ensuring balance is available when a transfer is ordered and avoids balance not enough failures.

Create a new authorization hold, to reserve balance for transfer of funds.

If expiresOn is not defined the authorization hold blocks funds indefinitely.

Request

Body

required

    customerId stringrequired

    Customer Id.

    amount int64required

    Amount to block.

    currencyCode Currency (string)required

    Possible values: >= 3 characters and <= 3 characters

    Currency alphabetic code as specified by ISO 4217

    createdOn date-time

    Represents RFC 3339, section 5.6 date-time.

    expiresOn date-time

    Represents RFC 3339, section 5.6 date-time.

    status string

    Possible values: [ACTIVE, EXPIRED, USED, RELEASED]

    Status of the authorization hold.

Responses

Created

Schema

    id string

    Authorization hold id.

    customerId stringrequired

    Customer Id.

    accountId string

    Customer account id.

    amount int64required

    Amount to block.

    currencyCode Currency (string)required

    Possible values: >= 3 characters and <= 3 characters

    Currency alphabetic code as specified by ISO 4217

    createdOn date-time

    Represents RFC 3339, section 5.6 date-time.

    expiresOn date-time

    Represents RFC 3339, section 5.6 date-time.

    status string

    Possible values: [ACTIVE, EXPIRED, USED, RELEASED]

    Status of the authorization hold.

Loading...