🔒Get business withdrawals
Get business withdrawals
GET
https://payments.b2bpay.co/api/v1/withdrawals
Allows you to fetch all withdrawals for a business
Query Parameters
Name | Type | Description |
---|---|---|
businessId | string | Unique business identifier |
limit | integer | Results per request (Default: 25) |
coins | array | Filter by coins comma delimited
|
statuses | string | Can be used to filter per status . Accepts
|
clientWithdrawId | string | Payment identifier of the client |
before | integer | End date of the results |
after | integer | Start date of the results |
sortBy | string | Sort withdrawals by
|
Example: Fetch business withdrawals filtered by status COMPLETED and coin XRP
Schema
Parameter | Type | Description |
---|---|---|
withdrawals | array [required] | Array containing all withdrawals for the chosen |
withdrawId | string [required] | Unique B2BPay withdrawal identifier |
clientWithdrawId | string [required] | Unique withdrawal identifier provided by the merchant in the request body of POST |
recipientAddress | string [required] | The address to which the |
transactionId | string [optional] | Unique blockchain transaction ID of the withdrawal |
initiatedBy | string [required] | Initiator of the withdrawal request. When initiated from the B2BPay Dashboard, the dashboard user's email is stored. When initiated from API, the backend URL is stored. |
status | string [required] | One of |
displayCurrency | string [required] | The fiat currency chosen for display (denomination) purposes |
withdrawCurrency | string [required] | Cryptocurrency to be withdrawn |
settlementCurrency | string [required] | The currency in which the merchant's account was debited because of the withdrawal (can be either fiat or cryptocurrency) |
estimatedDisplayAmount | string [required] | Amount in |
estimatedWithdrawAmount | string [required] | Estimated amount for this withdrawal. Can be different than |
actualDisplayAmount | string [optional] | Actual amount withdrawn in |
actualWithdrawAmount | string [optional] | Actual amount withdrawn in |
settlementDeductedAmount | string [optional] | Amount debited from the merchant's balance in |
withdrawFee | number [optional] | Blockchain cost for this withdrawal in |
displayFee | number [optional] | Blockchain cost for this withdrawal in |
addressOwner | object [required] | Address AML screening results |
name | string [required] | Address owning entity name |
category | string [required] | Address owning entity category |
sourceRiskEntities | array [required] | Illicit sources from which the |
name | string [required] | Illicit source name |
category | string [required] | Illicit source category |
destinationRiskEntities | array [required] | Illicit destinations to which the |
name | string [required] | Illicit destination name |
category | string [required] | Illicit destination category |
createdAt | number [required] |
|
exchangedAt | number [optional] |
|
Last updated