Tino Developers
POST/service/@id/tinopay/bank-accounts/@bank/virtual-accounts/confirm

Confirm the virtual account OTP

Step 2 when creating a virtual account for a BIDV personal account returned 202. Send confirm_id and va_number from step 1, the otp the customer typed as a string of 6 digits (keeps a leading 0); hint_name (up to 50 characters) can be left out if sent in step 1. Returns 201 with the active VA. A confirm_id lives up to 10 minutes and takes up to 5 attempts; expired or mismatched (account, VA number) returns 410 OTP_EXPIRED, too many attempts returns 429 OTP_LOCKED. OTP and bank errors as in the link confirm step: 422 OTP_INVALID, OTP_FAILED, 410 OTP_EXPIRED, 429 OTP_LOCKED, 502 BANK_GATEWAY_ERROR; for a new code call step 1 again (at least 60 seconds apart). Not retried. Through /v1 it needs the tinopay:write scope.

Merchant API · Updated 2026-10-22View .md

A TinoPay service route: call it with the service owner's sign-in token; the /v1 gateway (app tokens, personal tokens) does not expose TinoPay yet. See Getting started with TinoPay.

Authentication

Send the token in the header Authorization:

Authorization: Bearer <token>

Tokens that can call it: the TinoPay service owner's sign-in token (the tino.vn client area token).

Parameters

Path parameters

NameTypeRequiredDescription
idintRequiredTinoPay service ID
bankstringRequiredBank account ID (`id` in the bank account list)

Body (JSON)

NameTypeRequiredDescription
confirm_idstringRequiredTừ bước 1
va_numberstringRequiredTừ bước 1
otpstringRequiredMã OTP BIDV gửi
hint_namestring—Tên gợi nhớ của VA, ≤ 50 ký tự

Response

Sample built from the TinoPay API v1 documentation (Tino relays TinoPay data as is); values are examples.

Error codes

Error codeDescription
404 · service_not_found, invalid methodThe service does not belong to the signed-in account, or is not TinoPay.
403 · service_not_activeThe service is neither Active nor Suspended.
403 · MERCHANT_SUSPENDEDThe merchant is suspended: writes are blocked, GET still works.
404 · RESOURCE_NOT_FOUNDThe resource does not exist or does not belong to the merchant.
422 · VALIDATION_FAILEDInvalid data; details lists the fields.
502 · NETWORK_ERROR…, 504The connection between Tino and the partner is interrupted (504: HTML body, request took too long): a Tino-side error, not a token problem. Keep the token, retry later.

Errors look like {"error": ["<CODE>"], "message", "details", "request_id"}; every code is in Getting started with TinoPay.