Create Static VA
Customers use bank virtual accounts to pay merchants
Request#
POST
Parameter#
application/json
| Field | Type | Description |
|---|---|---|
| merchantCode | string [5..50] characters | Unique merchant code |
| method | string | Payment method, details are below StaticVa Payment Method list |
| orderNum | string | This number should be unique for merchant. Dupliated numbers won't be accepted by platform. |
| productDetail | string <=32 characters | description of the bill |
| name | string <=32 characters | This name will be displayed on bill page when user pay to the VA |
| notifyUrl | string <url> | When user pay to va, merchant will be notified on this url |
| dateTime | string <date-time> | format yyyyMMddHHmmss |
| sign | string <=512 characters | Encrypted parameters. |
Request Example#
Response#
Success#
200 application/json
| Field | Type | Description |
|---|---|---|
| platRespCode | string | result code: "SUCCESS" "FAIL" "UNKNOWN" "NOTEXIST" "ERROR" |
| platRespMessage | string | description of resp code |
| platOrderNum | string | unique order number in platform wide. |
| orderNum | string | unique order number in merchant wide. Same as orderNum in request body. |
| method | string | type of bank va |
| name | string <= 32 characters | This name will be displayed on bill page when user pay to the VA |
| vaNumber | string | VA account |
| productDetail | string <= 32 characters | description of the bill. same as field in request body. |
| platSign | string | Encrypted response data |
Response Example#
StaticVa Payment Method#
| Code | Description |
|---|---|
| VA_BNC_STATIC | BNC Bank Repayment Code |