Register for balance notifications
API: POST /v1/bank/register-notify
Registers a VA to receive balance notifications. Some banks (such as ACB) require this as a separate step.
Usage
- Node.js
- Java
- C#
- PHP
const result = await client.bank.registerNotify({
vaAccountNumber: 'V1T199988811',
bankBin: '970416',
});
var req = new OpenApiRegisterNotifyDto();
req.setVaAccountNumber("V1T199988811");
req.setBankBin("970416");
var result = client.bank.registerNotify(req);
var result = await client.Bank.RegisterNotifyAsync(new OpenApiRegisterNotifyDto
{
VaAccountNumber = "V1T199988811",
BankBin = "970416",
});
$result = $client->bank->registerNotify(vaAccountNumber: 'V1T199988811', bankBin: '970416');
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
vaAccountNumber | string | ✓ | Virtual account number to register for notifications |
bankBin | string | ✓ | Bank BIN. Use BankBinEnum |
merchantId | number | ✕ | Merchant ID (required when calling via Master Merchant) |
Response
{
"code": "00",
"message": "Success",
"data": {
"confirmId": "72496bf2-ba25-4397-bd38-b9c04baedfd7"
}
}
| Field | Type | Description |
|---|---|---|
data.confirmId | string | Confirmation ID to use with confirmRegisterNotify |