Payouts with QorePay APIs
Introduction
You can effortlessly make payouts directly to your bank account using QorePay APIs.
Payout to Bank account
⚠️
Pro tips
- When submitting an amount, append two zeros (00)to the end
- To ensure precision in the amount specified for payouts through our banking APIs, it's important to follow this specific format. This indicates the local unit of kobo or cent, ensuring accurate representation.
- Example: If your desired payout amount is NGN 5, represent it in the API request body as:500
Payout to Bank Account
- Create a new payout Start the payout process by sending a- POSTrequest to- https://gate.qorepay.com/api/v1/payouts/with the request body similar to the one below:
 - 1 { 2 "client": { 3 "email": "[email protected]", 4 "phone": "+2340100000000" 5 }, 6 "payment": { 7 "amount": 200000, 8 "currency": "NGN", 9 "description": "Your test product." 10 }, 11 "sender_name": "Sender Name", 12 "brand_id": "YOUR_BRAND_ID" 13} 14
 From the response, look for a field called- execution_urlwhich should look like this- 1"execution_url": "https://payments.qorepay.com/po/cafac0b4-8a93-4740-8e49-903a3e06e2e3/"
- Get Bank List Get the list of accessible banks and the execution URL by making a- GETrequest to the- execution_urlgotten above. This will return a list of banks and their codes.
 
 This will return a response similar to the truncated data below:
 - 1{ 2 "status": "pending", 3 "payout_url": "https://gate.qorepay.com/po/xxxxxx/sarepay_payouts/validate", 4 "detail": { 5 "success": true, 6 "data": [ 7 { "code": "120001", "name": "9 PAYMENT SERVICE BANK" }, 8 { "code": "090270", "name": "AB MICROFINANCE BANK" } 9 ] 10 } 11} 12
- Validate Account Name Using a- POSTrequest, submit recipient’s bank info- account_numberand- bank_codeto confirm account name to the- payout_url.
 
 From the response, look for a field called- 1{ 2 "account_number": "1234567890", 3 "bank_code": "305" 4}- payout_urlwhich should look like this- 1{ 2 "status": "pending", 3 "payout_url": "https://gate.qorepay.com/po/xxxxxx/sarepay_payouts/create/payout", 4 "detail": { 5 "success": true, 6 "data": { 7 "account_number": "1234567890", 8 "account_name": "Anthony" 9 }, 10 "message": "Action was Succesfull" 11 } 12} 13
- Make a Payout Next, copy out the- payout_urlfrom the response above. Make a- POSTrequest to the- payout_urlwith no request body
 - 1{}
- Get Payout Status Making a payout will return a status of- "status": "pending"and when the payout is successful, the status will change to- "code": "already_executed"
 Alternatively, you can make a- GETrequest to the the URL below using the- payout IDgotten from step 1 above to check the status of the payout.