IHELA OFFICIAL DOCS
  1. Banking Services
IHELA OFFICIAL DOCS
  • iHela Ryanje Official Docs
  • Merchant Services
    • Introduction
    • Basics
      • oAuth2 Authentication
      • Cashin Payment banks
      • Cashout Payment banks
      • Account Lookup
    • Bills Payment
      • Bills operations flow
      • Bills Init
      • Bill Status Check
      • Account Cashin
  • Banking Services
    • Introduction
    • Ping
      GET
    • Token Refresh
      POST
    • Token request
      POST
    • Account Lookup
      POST
    • Account Balance
      POST
    • Statement
      GET
    • Withdrawal
      POST
    • Deposit
      POST
    • Transaction Status
      POST
    • Transaction fees
      POST
  • Agent Services
    • Introduction
    • Ping
      GET
    • Token Refresh
      POST
    • Token request
      POST
    • Account Lookup
      POST
    • Deposit
      POST
    • Withdrawal Validation
      POST
    • Operation Lookup
      POST
    • Transaction Status
      POST
  1. Banking Services

Withdrawal

Testing
POST
/make-withdrawal/
Last modified:2023-04-27 06:35:33
For withdrawal transactions.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
debit_account
string 
required
debit_account_holder
string 
required
amount
integer 
required
description
string 
required
external_reference
string 
required
pin_code
string 
required
Example
 { 
   "debit_account": "76001002",
   "debit_account_holder": "John Doe",
   "amount": 3000,
   "description": "Retrait",
   "external_reference": "ref1201",
   "pin_code": "1234"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'http://127.0.0.1:8081/ihela/api/v1/make-withdrawal/' \
--header 'Content-Type: application/json' \
--data-raw '{ 
   "debit_account": "76001002",
   "debit_account_holder": "John Doe",
   "amount": 3000,
   "description": "Retrait",
   "external_reference": "ref1201",
   "pin_code": "1234"
}'

Responses

🟢200OK
application/json
Body
success
boolean 
optional
response_message
string 
optional
response_code
string 
optional
response_data
object 
optional
reference
string 
required
cbs_reference
string 
required
external_reference
string 
required
Example
{
    "success": true,
    "response_message": "Withdrawal done from the account/wallet 76001002.              Reference:150323031 >> eCAW.3009101-2223.3009800-820",
    "response_code": "00",
    "response_data": {
        "reference": "15032362251031",
        "cbs_reference": "eCAW.3000101-2168.3000100-820",
        "external_reference": "ref120001"
    }
}
Modified at 2023-04-27 06:35:33
Previous
Statement
Next
Deposit
Built with