[DEPRECATED] Withdrawals from Peer 2 Peer
This page describes withdrawal options for a deprecated Peer 2 Peer system.
Initiates withdrawal of fiat funds using a card (v2)
POST
https://api.xgateway.tech/api/v2/withdrawal
Headers
x-api-key*
String
Your API key
Request Body
customerId*
String
The unique customer ID who initiated the withdrawal
amount*
String
The amount to withdraw
currency*
String
orderId
String
The unique order ID in your system
applicationId
String
The application ID if you have multiple
comment
String
The comment (max 255 symbols)
paymentSystem
String
The payment system to process withdrawal with
cardHolderName
String
The name on the card to withdraw to
cardNumber*
String
The card number to withdraw to
Initiates withdrawal of fiat funds using a phone number (v2)
POST
https://api.xgateway.tech/api/v2/withdrawal
Headers
x-api-key*
String
Your API key
Request Body
customerId*
String
The unique customer ID who initiated the withdrawal
amount*
String
The amount to withdraw
currency*
String
orderId
String
The unique order ID in your system
applicationId
String
The application ID if you have multiple
comment
String
The comment (max 255 symbols)
paymentSystem
String
The payment system to process withdrawal with
phoneNumber*
String
The recipient phone number
bankName
String
The bank name, where there's an account with the provided phone number
Initiates withdrawal of fiat funds using a bank account (v2)
POST
https://api.xgateway.tech/api/v2/withdrawal
Headers
x-api-key*
String
Your API key
Request Body
customerId*
String
The unique customer ID who initiated the withdrawal
amount*
String
The amount to withdraw
currency*
String
orderId
String
The unique order ID in your system
applicationId
String
The application ID if you have multiple
comment
String
The comment (max 255 symbols)
paymentSystem
String
The payment system to process withdrawal with
bankName
String
The bank name
bankAccountName*
String
The bank account name
bankAccountNumber*
String
The bank account number
If applicationId
and orderId
are passed when creating an invoice, the callback will contain them after the transaction is processed.
Results
Last updated