IHELA OFFICIAL DOCS
  1. Bills Payment
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
        POST
      • Bill Status Check
        POST
      • Account Cashin
        POST
  • 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
    • Withdrawal by QR Code or Token
    • Ping
      GET
    • Token Refresh
      POST
    • Token request
      POST
    • Account Lookup
      POST
    • Deposit
      POST
    • Withdrawal Validation
      POST
    • Operation Lookup
      POST
    • Transaction Status
      POST
  1. Bills Payment

Bills Init

POST
/payments/bill-init/
Last modified:2023-04-21 13:31:22

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Example
{
    "debit_bank": "MF1-0001",
    "debit_account": "0000000016-01",
    "amount": 600,
    "description": "Payment merchant",
    "merchant_description": "Payment from client 001 752000",
    "merchant_reference": "752001",
    "redirect_uri": "https://myredirecturi.com/payments",
    "payment_product_id": null,
    "pin_code": "1234"
}

Request Code 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 --request POST 'http://127.0.0.1:8081/api/v2/payments/bill-init/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "debit_bank": "MF1-0001",
    "debit_account": "0000000016-01",
    "amount": 600,
    "description": "Payment merchant",
    "merchant_description": "Payment from client 001 752000",
    "merchant_reference": "752001",
    "redirect_uri": "https://myredirecturi.com/payments",
    "payment_product_id": null,
    "pin_code": "1234"
}'

Responses

🟢200OK
application/json
Body

Example
{
    "response_code": "00",
    "response_data": {
        "code": "CODE-20230321-9E29QH1",
        "reference": null
    },
    "response_message": "Payment bill successfully created. The client has to validate it to complete the payment. Code : CODE-20230321-9E29QH1",
    "success": true
}
Modified at 2023-04-21 13:31:22
Previous
Bills operations flow
Next
Bill Status Check
Built with