Transactions
Understanding Transactions
UnblockPay's API enables seamless conversion between fiat currencies and stablecoins. Every transaction involves a sender and a receiver — which can be either a fiat source (bank account) or a crypto source (blockchain wallet).
The following transaction types are supported:
Fiat to Stablecoin (Pay-in) Stablecoin to Fiat (Payout) Stablecoin to Stablecoin (Wallet Transfer) Fiat to FiatFor payment methods where UnblockPay cannot pull funds directly (such as wire transfers or crypto transfers), we provide sender_deposit_instructions with deposit addresses where the customer — or you acting on their behalf — initiates the transfer. Once the deposit is received, funds move to the specified receiver automatically, with no additional API calls required.
We support multiple stablecoins and fiat payment rails.
Transaction statuses
A payout transaction can be in one of the following status:
|
Status |
Description |
|---|---|
|
|
UnblockPay is waiting to receive funds from the customer before processing the transfer. This state occurs only when awaiting customer deposits (such as crypto deposits). |
|
|
This indicates that UnblockPay has received your funds and is processing the payout to your customer. |
|
|
The payout has been completed successfully. The funds have been delivered to the specified destination. |
|
|
UnblockPay attempted the payment but received a failure notification. The funds have been returned to UnblockPay and will be refunded to the sender. |
|
|
The funds have been returned to the original sender's account. |
|
|
The payout has been cancelled. Payouts can only be cancelled when in the |
|
|
There was a problem preventing UnblockPay from processing this transfer. Manual intervention may be required to resolve the issue. Please contact our support team if you haven't already been contacted about this transfer. |
Please note that a payout will always progress from awaiting_deposit → processing → completed . It can never go backwards.
A transaction can only be set to cancelled status from awaiting_deposit status by making a request to our PUT /transactions/{id} endpoint.
Sandbox mock IDs
To see a payout status in the sandbox environment, we have mocked payouts transactions to facilitate. You can easily test these scenarios by hitting our GET v1/transactions/{id} endpoint with the following IDs:
|
Status |
Mocked transaction ID |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Transactions API endpoints
Here are the endpoints you'll need to list or get details a transaction:
-
GET v1/transactions/{id}— Get details and current status of a specific transaction -
GET v1/transactions— List all transactions -
PUT v1/transactions/{id}— Cancel a transaction (only available forawaiting_depositstatus)
For the full schema and request/response details, see the API Reference.

