Virtual Account

Generate Virtual Account

POST https://api.cngn.co/v1/api/users

<Description of the endpoint>

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body

Name
Type
Description

provider

string

providers are financial institutions, default provider is korapay

Providers:

korapay

Response

{
  "status": 200,
  "message": "Deposit for redeem was successfully",
  "data": "<encrypted response>"
}

Decrypted Response:

{
  "status": 200,
  "message": "Virtual Account Generated successfully",
  "data": {
    "accountReference": "REF12345678",
    "accountNumber": "1234567890"
  }
}

Last updated