Update Static Account
Allows merchants to correct the BVN of static virtual account
POST https://developer.tingg.africa/checkout/v2/custom/requests/update-virtual-account
Header Parameters
Header | Value | Required |
---|---|---|
Authorization | Bearer <Bearer_Token> generated during authenticate request in step 1. | YES |
Content-Type | application/json | YES |
Request Parameters
Parameter Name | Type | Description | Required |
---|---|---|---|
merchantRef | string | This is a uniqueID on merchant’s end for every request to generate a static account. | TRUE |
accountName | string | This is the name the customer will see when paying into the virtual account. | TRUE |
serviceCode | string | The customer’s unique code to identify the merchant on checkout. | TRUE |
virtualAccount | string | Virtual account that you can use to pay into for all your payment requests. | TRUE |
bvn | string | This is the bank verification number issued to the customer or merchant | TRUE |
Example
{
"merchantRef": "8398424REGRT422",
"accountName": "<ACCOUNT_NAME>",
"serviceCode": "<SERVICE_CODE>",
"virtualAccount": "<VIRTUAL_ACCOUNT>",,
"bvn": "WEMA"
}
Response Parameters
Parameter Name | Type | Description |
---|---|---|
statusCode | string | Request status code. See full status code details below |
statusDescription | string | Description of the transaction status |
Example
Successful Response
{
"status":{
"statusCode": 200,
"statusDescription": "Request processed successfully"
}
}
Failure Response
{
"status": {
"statusCode": 422,
"statusDescription": "serviceCode does not exist"
}
}
Authentication Failure Response
{
"message": "Unauthenticated.",
"status_code": 500
}
Updated 5 months ago