Skip to main content

Core Endpoints

core_endpoint_base_url: https://demo.etranzact.com/virtual-funding

Account

Generate Account

Description: Generate new virtual account

REQUEST PARAMETERS

ParameterTypeDescriptionRequired
productCode StringProduct making the request Yes
accountType IntegerType of account where 0 = dynamic & 1 = reserved Yes
accountName Customer full nameType of account where 0 = dynamic & 1 = reserved Yes
customerID StringProduct customer ID. e.g PocketMoni customer IDYes
bvn IntegerIf accountType is 1, this field must be compulsoryNo
bank StringPartnering bank for virtual account creation. Default ‘Providus’No
accountLimit IntegerAccount transaction limitYes
deviceID StringFCM device ID for push notificationNo
POST / account
curl `${core_endpoint_base_url}/account`
-H "Content-type: application/json"
-H "Authorization: Bearer YOUR_SECRET_KEY"
-X POST
-d '{
"productCode": "PKM",
"accountType": 0,
"accountName": "John Doe",
"customerID": "080892364448",
" bvn ": "",
" bank": "Providus",
" accountLimit": 20000,
" deviceID": "c736-fnbyoo:APA91bH__uLN1okn3bmwrS7Hsy_ZA3LoDlqkZR0fhJbKBw_ic1UXsbR_SM2owlQJXU3ssNtILwQNXXBXczzZLdrrR4hJUr_MUfkyy-vELw83a1Q_mCZccw5V9rBKBhRpxpJtw1jjGRnI "
}'
Sample Failure Response
{
"status": 503,
"message": "",
"error": "Service unavailable",
"execTime": 1.4888868
}

UPDATE ACCOUNT

Description: Update user virtual account configuration

REQUEST PARAMETERS

ParameterTypeDescriptionRequired
productCode StringProduct making the request Yes
customerID StringProduct customer ID. e.g PocketMoni customer IDYes
accountLimit IntegerAccount transaction limitYes
deviceID StringFCM device ID for push notificationNo
PUT / account/config
curl `${core_endpoint_base_url}/account/config`
-H "Content-type: application/json"
-H "Authorization: Bearer YOUR_SECRET_KEY"
-X PUT
-d '{
"productCode": "PKM",
"customerID": "080892364448",
"accountLimit": 25000,
"deviceID": "c736-fnbyoo:APA91bH__uLN1okn3bmwrS7Hsy_ZA3LoDlqkZR0fhJbKBw_ic1UXsbR_SM2owlQJXU3ssNtILwQNXXBXczzZLdrrR4hJUr_MUfkyy-vELw83a1Q_mCZccw5V9rBKBhRpxpJtw1jjGRnI "
}'

QUERY ACCOUNT

Description: Retrieve a customer last active account

REQUEST PARAMETERS

ParameterTypeDescriptionRequired
productCode StringProduct making the request Yes
customerID StringProduct customer ID. e.g PocketMoni customer IDYes
GET / account/getDetails?productCode=PKM& customerID=080833388383
curl https://{core_endpoint_base_url}/account/getDetails?productCode=PKM& customerID=080833388383
-H "Authorization: Bearer YOUR_SECRET_KEY"
-X GET