Receiver Bank Account Check

Introduction

Call this API when the user provides the recipient’s bank account details.

Verify that the recipient’s account information is correct and the account is active, and display the cardholder’s name for user confirmation before initiating the transfer.

API Description

Request Method:POST

Request Path:open/api/V2/bankCheck

Parameters

Request Parameters

ParameterSignMandatoryTypeLengthDescription
appIdYYstring64AppId is unique for merchant
currencyYYstring12Fiat currency:NGN,VND
signNYstring512Sign
bankParamYNstring512Dynamic form information (passing in the corresponding dynamic form information based on the currency)

Request Parameter Example (NGN)

{
	"appId": "XXXXX",
	"sign": "D18DE66EC86F41CFCEFD4B97AE646A7A6D91E86C",
	"currency": "NGN",
	"bankParam": {
		"bankCode": "XXX",
		"bankAccountNumber": "52XXX3284"
	}
}

Request Parameter Example (VND)

{
    "appId":"XXXX",     
    "sign":"D18DE66055ADB6BFFC9C897AE646A7A6D91E86C",
    "currency":"VND",
    "bankParam":{
        "type":"ACCOUNT_NUMBER",
        "bankCode":"VCB",
        "bankAccountNumber":"xxx"
    }
}

Response Parameters

ParameterTypeDescription
successbooleanSuccess
errorbooleanError
codelongResponse code
msgstringResponse message
traceIdstringTrace id
modelobjectResponse content

Response Parameter Example(NGN)

{
	"code": "0",
	"msg": "success",
	"model": {
		"bankId": "xx",
		"accountNumber": "52xxxx284",
		"phoneNumber": ""
	},
	"traceId": "691c3f0ec282a3d1db2701242e33508c",
	"error": false,
	"success": true
}

Response Parameter Example(VND)

{
	"code": "0",
	"msg": "success",
	"model": {
		"bankAccountName": "xxx"
	},
	"traceId": "691c3fea0060435066ae824447a444d9",
	"error": false,
	"success": true
}

Response Parameter Example(failed)

{
  "code": "1087",
  "msg": "Could not resolve account name. Check parameters (1087)",
  "model": null,
  "traceId": "691c46865a75171f9b19c93286a59f3e",
  "error": true,
  "success": false
}