Initiate Transaction View

Create a payment request for receiving and managing transactions

/request
POST https://staging-eagle.kongapay.com/request/payment-service/initiate-transaction-view

This endpoint allows you to add send a new payment request to your terminals.

# Headers

Name
Type
Description

Integration-Public-Key

string

Unique integration key for merchant

Content-Type

string

Set value to application/json

source

string

Platform source: api, ios, web, android. etc...

hash

string

{{SHA512(amount|public_key|reference)}}

Request Body

Name
Type
Description

amount

string

Total transaction amount in kobo

customer_id

string

Unique identifier for Account

phone

string

Account Info

email

string

Account Info

reference

string

Transaction unique ref

description

string

Transaction Meta

callback

string

Notification url

mode

string

test or live

settlement_account

string

parent account to settle

Request


{
  "amount": "100000",
  "customer_id": "string",
  "phone": "string",
  "email": "string",
  "reference": "string-test-1",
  "description": "string",
  "callback": "string",
  "mode": "test",
  "settlement_account": "string"
}

Response

```
{
    "status": "success",
    "data": {
        "view_url": "https://staging-kongapay-pg.kongapay.com/v2/initiatePage/21472/CH_20259294659_XJRBR"
    },
    "request_id": 733016
}
```

Hash

THE HASH IS GOTTEN FROM CONCATINATING THE AMOUNT|PUBLIC_KEY|REFERENCE -> sha512

Last updated