📤Withdrawal

Sequence diagram of the Withdrawal via API integration

Request to create a withdrawal

The section is similar to the Request to create a deposit section. Only the data required to create a withdrawal request will change.

Request to create a withdrawal

post

Withdrawal creation.

When the withdrawal is confirmed, a callback request will be sent to the client's application handler with the Withdrawal webhook body

Authorizations
apikeystringRequired
Query parameters
project_idnumberRequired

Project ID in the A-Pay system

Example: 123
Body
amountintegerRequired

Withdrawal amount

Example: 10
currencystring · enumRequired
Payment system currency
CurrencyPayment systems
INRupi_fast, upi_fast_v, upi_fast_qr, upi_p2p, upi_a, paytm, phonepe, imps, imps_top, upi_link, upi_push, phonepe_fast, upi_fast_vip, inr_p2p, inr_p2c
BDTnagad_api_v, bkash_api_v, bkash_a, apaybdt, upay, bkash_b, nagad_a, nagad_b, upay_w, bkash_p2p, tap_p2p
PKRbankalfalah, easypaisa, jazzcash_l, nayapay_l, pkr_w, jazzcash, pkr_w2, raast_p2p
KESmpesa
MMKwavepay_l, kbzpay_p2p
TNDd17_l, flouci, flouci_l
BRLpix_p2p
MXNspei_p2p
KHRwing_l, ababank
NPResewa, khalti, khalti_l, imepay_l, esewa_p2p
LKRipay_l, ipay_fast
ETBetb_fast, etb_p2p
ARScvu_p2p
JMDscotiabank_p2p, lynk_p2p
EGPegp_tel, egp_card, egp_fast
PENyape_pen_p2p
PYGbancard_qr, itau_p2p
UYUbrou_p2p
PYGbancard_qr
BOByape_bob_p2p, veripagos_fast
CFAorange_sen_p2p, orange_mli_p2p, wave_sen_p2p, wave_mli_p2p
GNForange_gin_p2p
Example: KESPossible values:
payment_systemstring · enumRequired

Name of the payment system in A-Pay

Example: mpesaPossible values:
custom_transaction_idstring · max: 200Optional

Transaction ID in the client's system. Must be unique. Optional

Example: custom123
custom_user_idstring · max: 200Required

User ID in the client's system. Must be unique for each user

Example: user123
webhook_idstring · min: 7 · max: 7Optional

Id of a webhook that will be used to send a postback. If not filled then default webhook url will be used. Optional

Example: 42798
dataone ofRequired

Data depending on the specific payment system

or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
or
Responses
chevron-right
200

OK

application/json
or
post
/Remotes/create-withdrawal

All the necessary information can be found in our API documentationarrow-up-right.

Example of the responses:

Withdrawal information

Withdrawal information

get

order_id or/and custom_transaction_id parameters must be set.

Authorizations
apikeystringRequired
Query parameters
project_idnumberRequired

Project ID in the A-Pay system

Example: 123
order_idstring · min: 16 · max: 16Optional

Withdrawal ID in the A-Pay system

Example: 7fa13dbc3b79e05ePattern: ^[0-9a-f]{16}$
custom_transaction_idstring · max: 200Optional

Transaction ID in the client's system

Responses
chevron-right
200

OK

application/json
or
get
/Remotes/withdrawal-info

Examples of the responses:

Last updated