Withdrawals
Create Withdrawal
Creates a withdrawal
POST https://rest.any.cash/v1/withdrawals
This method is intended to allow a user (merchant) to create a withdrawal from their wallet account
Request Body
external_id*
String
External Order ID
amount*
String
The amount of order. This is given in the major currency unit with up to 2 decimals of the minor currency unit.
Example, 1000.50
currency*
String
currency of payment ISO 4217 (alpha-3). UAH/USD/EUR/KZT
callback_url
String
URL to send the result of the payment order to.
payee_external_id
String
Additional info of a user - e.g. nickname of the user who receives funds. If passed in the method call, will be used in withdrawal details in UI of Any.Cash
payee_account*
String
Payment identifier of a recipient of funds (Any.Cash wallet ID - e.g. AC777777)
payway*
String
payway of the withdrawal
NOTE! Only payway anycash is available for now.
payer_external_id
String
Additional info of a user - e.g. nickname of the user (payer) in your system. Will be used in order details in UI of Any.Cash
comment
String
Free field for some additional information. Will be stored with the transaction details but not used in any logic.
Transaction Completion Notification is sent to callback URL (passed in Create Withdrawal request or the one pre-configured for a tenant)
the payer has not enough funds in the requested currency
an order with such external_id already exists
the amount exceeds transaction max limit
the amount is under transaction min limit
the currency is not supported
the transaction exceeds payer`s daily withdrawal limit
unknown payway
Query Withdrawal status
Returns a current status of a withdrawal
GET https://rest.any.cash/v1/withdrawals/{external_id}
This method is intended to allow a user (merchant) to query a current status of a withdrawal.
Path Parameters
external_id*
String
External Order ID
Last updated