Create Fiat Withdrawal
This endpoint allows the creation of a Fiat withdrawal. It will debit from the end user’s currency’s balance and withdraw such amount to the specified Beneficiary Fiat Account.
This endpoint behaves asynchronously, don’t expect the withdrawal to be completed after the request execution. To check for its completion, use the Retrieve Fiat Withdrawal endpoint. Updates for Fiat Withdrawals will be communicated via IPN webhooks. See IPN Webhooks in the documentation.
Authorizations
B2B’s White Label API uses OAuth2. Currently there is only one supported authentication flow:
- clientCredentials allows you to access your own B2B account (First-Party Integration) and performs transactions against the public API. This oauth2 flow is well suited for this API, as it allows machine-to-machine communication.
Every call to the API has to be authenticated with an OAuth2 Token. In order to request this token, you will need to have sandbox or production API Keys (client id and client secret) that will be needed to generate a credential in order to negotiate an ephemeral access token.
Every request must be accompianed by an Authorization
header with a value that follows the following schema: Bearer ACCESS_TOKEN
Body
End user's external ref
Amount to withdrawal. Is the amount that the destination account will receive.
An external identifier, usually a unique UUID
Indicates the beneficiary fiat account to be used as withdraw destination.
Response
UUID used as fiat withdrawal identifier.
UUID used as fiat withdrawal's transaction identifier.
Indicates the fiat withdrawal creation date.
Indicates the fiat withdrawal's latest update date.
End user's external ref, usually a uuid. Identifies the user that owns this operation.
Indicates the asset name involved in the fiat withdrawal.
Indicates the fiat amount withdrawed.
Specifies the fiat withdrawal status.
PENDING
, COMPLETED
, CANCELLED
Client side identification reference. Usually a UUID.
128
UUID used as beneficiary fiat account identifier.
Shows if the fiat withdrawal corresponds to the refund of a fiat deposit.
UUID from a refunded fiat deposit, it could be null.