Fiat to Crypto
TRANSFER.FIAT_TO_CRYPTO
Possible status
- SUBMISSION_FAILED
- CREATED
- FIAT_SUBMITTED
- CRYPTO_SUBMITTED
- CONFIRMED
- FAILED
- UNKNOWN
- FIAT_PROCESSED
Sandbox
In the Sandbox environment, we simulate the transaction process and send a series of webhook messages. You can expect to receive transaction status updates in the following sequence:
- FIAT_SUBMITTED
- FIAT_PROCESSED
- CRYPTO_SUBMITTED
- CONFIRMED
Example webhook event
The data object can be expected to have the same structure as the get endpoint
{
"eventId": "89c88a4e-803d-4eed-94aa-a66bd9441ebc",
"eventType": "TRANSFER.FIAT_TO_CRYPTO",
"eventAction": "UPDATE",
"timestamp": "2024-06-29T19:32:24.88754+00:00",
"data": {
"transferType": "FIAT_TO_CRYPTO",
"transferDetails": {
"id": "b78dc7ee-f20f-4321-a14f-b48d624505f2",
"requestId": "2536d9d2-d06c-4ae4-abfa-1459f834c63f",
"sourceUserId": "75d7c01f-5f93-4490-8b93-a62fd8020358",
"destinationUserId": "75d7c01f-5f93-4490-8b93-a62fd8020358",
"transactionHash": "0xdb873e23be27e0898efd58dad4e6e3e6aef05e417fe64648e303735ce6057738",
"chain": "POLYGON_MAINNET",
"sourceCurrency": "usd",
"amount": 1.11,
"destinationCurrency": "usdc",
"sourceAccountId": "0de2ae79-737d-4266-8c7d-ec82df476d3a",
"createdAt": "2024-07-31T21:44:15.34339+00:00",
"updatedAt": "2024-08-08T13:15:00.984+00:00",
"status": "CONFIRMED",
"sourceUser": {
"business_name": null,
"legal_last_name": "YANG",
"compliance_email": "[email protected]",
"legal_first_name": "William"
},
"destinationUser": {
"business_name": null,
"legal_last_name": "YANG",
"compliance_email": "[email protected]",
"legal_first_name": "William"
},
"sourceAccount": {
"id": "0de2ae79-737d-4266-8c7d-ec82df476d3a",
"account_number": "7874",
"routing_number": "021000322",
"bank_name": "Bank of America"
},
"fee": {
"feeId": "c44b6d91-eb77-4a64-9b6e-99f32f6a5566",
"feeType": "PERCENT",
"feeAmount": 0.00011100000000000001,
"feePercent": 0.0001,
"status": "CONFIRMED",
"transactionHash": "0x872b6eb6256ccf7e8de8d73253409c4767a6ed46160d6fc0c30925796bf3a0fe",
"failedReason": null
}
}
}
}
Updated about 1 month ago