- Getting Started
- Payments and Withdrawals
- Callbacks
- Address validation
- Rates and metadata
Fetch withdrawals
GET
/api/v1/withdrawals
Request
Authorization
Add parameter in header
FRX-API
Example:
FRX-API: ********************
Query Params
businessId
string <uuid>
required
clientWithdrawId
array[string]
optional
coins
array[string]
optional
Allowed values:
BCHBNBBTCETHLINKLTCSOLTRXUSDCUSDTXLMXRP
statuses
array[string]
optional
Allowed values:
PENDINGCOMPLETEDFAILEDBLOCKED
after
integer <int64>
optional
Example:
1702894529
before
integer <int64>
optional
Example:
1702894529
limit
integerÂ
optional
<= 2000
Default:
25
Example:
25
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://payments.finrax.com/api/v1/withdrawals?businessId' \
--header 'FRX-API;'
Responses
🟢200Returns withdrawals, sorted by `created`.
application/json
Body
withdrawals
array[object (FetchWithdrawalResponse) {26}]Â
optional
withdrawId
string <uuid>
required
clientWithdrawId
stringÂ
required
POST /withdrawals
.recipientAddress
stringÂ
required
actualWithdrawAmount
was sent.transactionId
stringÂ
optional
initiatedBy
stringÂ
required
status
enum<string>Â
required
Allowed values:
PENDINGCOMPLETEDFAILEDBLOCKED
displayCurrency
enum<string>Â
required
Allowed values:
AEDARSAUDBDTBGNBRLCADCHFCLPCNYCZKDKKEURGBPHKDHRKHUFIDRILSINRISKJPYKESKRWMXNMYRNGNNOKNZDPENPHPPLNQARRONRUBSEKSGDTHBTRYUSDVNDZAR
withdrawCurrency
enum<string>Â
required
Allowed values:
BCHBNBBTCETHLINKLTCSOLTRXUSDCUSDTXLMXRP
settlementCurrency
enum<string>Â
required
Allowed values:
BTCUSDCUSDTEURGBPUSD
estimatedDisplayAmount
stringÂ
required
displayCurrency
requested for this withdrawal.estimatedWithdrawAmount
stringÂ
required
actualWithdrawAmount
.actualDisplayAmount
stringÂ
optional
displayCurrency
currency. Can be different than estimatedDisplayAmount
.actualWithdrawAmount
stringÂ
optional
withdrawCurrency
. Can be different than estimatedWithdrawAmount
.settlementDeductedAmount
stringÂ
optional
settlementCurrency
.displayDeductedAmount
stringÂ
optional
displayCurrency
.uniformDeductedAmount
stringÂ
optional
settlementServiceFee
stringÂ
optional
settlementCurrency
.displayServiceFee
stringÂ
optional
displayCurrency
.uniformServiceFee
stringÂ
optional
withdrawFee
stringÂ
optional
withdrawCurrency
.displayFee
stringÂ
optional
displayCurrency
.network
enum<string>Â
required
Allowed values:
BCHBTCLTCXLMXRPETHBSCSOLTRX
addressOwner
object (LegalEntityResponse)Â
required
sourceRiskEntities
array[object (LegalEntityResponse) {2}]Â
required
recipientAddress
has received transactions.destinationRiskEntities
array[object (LegalEntityResponse) {2}]Â
required
recipientAddress
has sent transactions.createdAt
integer <int64>
required
Example
{
"withdrawals": [
{
"withdrawId": "5724d752-6084-3822-9590-a6ccdf91f603",
"clientWithdrawId": "test-withdrawal-23-12-19-2",
"recipientAddress": "0x5CF631Db2eB6be3eecB5E9fD0f31a19AC0F4C504",
"transactionId": "0x6a01e5032de509be3ed2075f382396a48d43ae496debbe0f1a09d0590e419a8a",
"initiatedBy": "john.doe@gmail.com",
"status": "COMPLETED",
"displayCurrency": "EUR",
"withdrawCurrency": "USDC",
"settlementCurrency": "EUR",
"estimatedDisplayAmount": "21",
"estimatedWithdrawAmount": "23.01742298",
"actualDisplayAmount": "21",
"actualWithdrawAmount": "23.01742298",
"settlementDeductedAmount": "21.52",
"displayDeductedAmount": "21.52",
"uniformDeductedAmount": "21.52",
"settlementServiceFee": "0.52",
"displayServiceFee": "0.52",
"uniformServiceFee": "0.52",
"withdrawFee": "0",
"displayFee": "0",
"network": "BSC",
"addressOwner": {
"category": "Unknown",
"name": "Unknown"
},
"sourceRiskEntities": [],
"destinationRiskEntities": [],
"createdAt": 1702999367
},
{
"withdrawId": "fde3c760-2383-391e-8baf-7fb8508eca18",
"clientWithdrawId": "test-withdrawal-23-12-19-1",
"recipientAddress": "0x5CF631Db2eB6be3eecB5E9fD0f31a19AC0F4C504",
"transactionId": "0xcf385e8b9301fb105b013d5df78c4bc09fabe604761334409e286c2c06a20cd3",
"initiatedBy": "john.doe@gmail.com",
"status": "COMPLETED",
"displayCurrency": "EUR",
"withdrawCurrency": "USDC",
"settlementCurrency": "USDT",
"estimatedDisplayAmount": "25.33",
"estimatedWithdrawAmount": "27.46682584",
"actualDisplayAmount": "25.33",
"actualWithdrawAmount": "27.46682584",
"settlementDeductedAmount": "28.144254",
"displayDeductedAmount": "25.63",
"uniformDeductedAmount": "25.63",
"settlementServiceFee": "0.330163",
"displayServiceFee": "0.3",
"uniformServiceFee": "0.3",
"withdrawFee": "0",
"displayFee": "0",
"network": "BSC",
"addressOwner": {
"category": "Unknown",
"name": "Unknown"
},
"sourceRiskEntities": [],
"destinationRiskEntities": [],
"createdAt": 1702999081
}
]
}
Modified at 2024-07-24 14:04:47