Adfali

Provided by the Bank of Commerce and Development

Send OTP

This request will validate the customer identity, send OTP and register an unpaid invoice.

Send OTP

POST https://api.plutus.ly/api/v1/transaction/edfali/verify

Send the OTP to the customer's phone number to initiate the transaction

Headers

Request Body

{
    "status": 200,
    "result": {
        "process_id": xxxxxxxxxxxxx
    },
    "message": "OTP has been sent to your mobile number"
}
curl --location --request POST 'https://api.plutus.ly/api/v1/transaction/edfali/verify' \
--header 'X-API-KEY: [API_KEY]' \
--header 'Authorization: Bearer [ACCESS_TOEKN]' \
--form 'mobile_number="[MOBILE_NUMBER]"' \
--form 'amount="[AMONUT]"'

Confirm

Pay the unpaid transaction

Confirm

POST https://api.plutus.ly/api/v1/transaction/edfali/confirm

Confirm to pay the transaction

Headers

Request Body

{
    "status": 200,
    "result": {
        "transaction_id": xxxxxxxxxxxxx,
        "amount": xxxxxxxxxxxxx
    },
    "message": "Transaction completed successfully"
}
curl --location --request POST 'https://api.plutus.ly/api/v1/transaction/edfali/confirm'
--header 'X-API-KEY: API_KEY]'
--header 'Authorization: Bearer [ACCESS_TOEKN]'
--form 'code="[OTP]"'
--form 'amount="[AMONUT]"'
--form 'invoice_no="[INVOICE_NO]"'
--form 'process_id="[PROCESS_ID]"'
--form 'customer_ip="[CUSTOMER_IP]"'

Last updated