Single Transfer

post
Single Transfer

https://api.payant.ng/wallets/withdraw/:reference_code
Request
Response
Path Parameters
reference_code
required
string
Wallet reference code
Headers
Authorization
required
string
Payant secret key prefixed by "Bearer "
Body Parameters
settlement_bank
required
string
6 digit bank code gotten from Get Banks
account_number
required
string
NUBAN account number
amount
required
string
Amount to send
remark
optional
string
Wallet's Remark to show on customer bank statement
200: OK
{
"status": "success",
"message": "Withdrawal successful.",
"data": {
"company_id": "1",
"wallet_id": "1",
"wallet_reference_code": "PMojL342gd",
"currency": "NGN",
"amount": "1500.00",
"reference_code": "v0rX5GbWsH4FZB63tnjh",
"type": "Withdrawal",
"channel": "Wallet",
"status": "1",
"disburse_recipients": "",
"created_at": "2016-12-21 18:50:30",
"updated_at": "2016-12-21 18:50:30",
"id": 2
"transaction_date": "2017-07-26T19:50:31.000Z",
"payment_id": "",
"referrer": "",
"gateway_response": "Successful",
"disburse_status": "1",
"disburse_ref": "TTMW000345454546",
"disburse_response": "Successful",
"disburse_recipients_response": "",
"settlement_bank": "044",
"account_number": "0000000000",
"account_name": "Test",
}
}

Request

curl https://api.payant.ng/wallets/withdraw/PMojL342gd \
-H "Content-Type: application/json" \
-H "Authorization: Bearer SECRET_KEY" \
-d '{ "settlement_bank": "044",
"account_number": "0000000000",
"amount": "30000.00",
"remark": "March 2017 Salary Payment" }' \
-X POST

Response

{
"status": "success",
"message": "Withdrawal successful.",
"data": {
"company_id": "1",
"wallet_id": "1",
"wallet_reference_code": "PMojL342gd",
"currency": "NGN",
"amount": "1500.00",
"reference_code": "v0rX5GbWsH4FZB63tnjh",
"type": "Withdrawal",
"channel": "Wallet",
"status": "1",
"disburse_recipients": "",
"created_at": "2016-12-21 18:50:30",
"updated_at": "2016-12-21 18:50:30",
"id": 2
"transaction_date": "2017-07-26T19:50:31.000Z",
"payment_id": "",
"referrer": "",
"gateway_response": "Successful",
"disburse_status": "1",
"disburse_ref": "TTMW000345454546",
"disburse_response": "Successful",
"disburse_recipients_response": "",
"settlement_bank": "044",
"account_number": "0000000000",
"account_name": "Test",
}
}