/service/@id/tinopay/bank-links/bidv-personalLink a BIDV personal account
Individuals and household businesses with a BIDV current account: linked automatically and confirmed with the OTP BIDV sends to the phone number registered at the bank. account_no up to 20 characters (spaces and hyphens are removed); account_holder_name exactly as at BIDV, up to 70 characters, diacritics allowed; identity is the ID card, passport or business registration number stored at BIDV, up to 20 characters [A-Za-z0-9 ]; phone as 0… or +84…, up to 12 characters; va_number is the suffix of the first VA (A–Z, 0–9, up to 19 minus the VA prefix length); hint_name optional, up to 50 characters. Returns 202 {confirm_id, bank_account_id, va_number, account_number, account_name, phone_masked, otp_resend_after}: keep confirm_id, bank_account_id, va_number for the confirm step (TinoPay keeps no session). The account appears in the list right away with status inactive until confirmed; call again with the same account_no to start over. Errors: 422 VALIDATION_FAILED (details.fields.<field> names the field that does not match BIDV), 422 BANK_REJECTED (the bank refused the account: show message as is), 409 BANK_ACCOUNT_EXISTS, 409 VA_NUMBER_EXISTS, 429 RATE_LIMITED (another OTP within 60 seconds), 403 FEATURE_DISABLED, 502 BANK_GATEWAY_ERROR. Not retried: every call sends an OTP, so block double clicks. Through /v1 it needs the tinopay:owner scope.
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
| Name | Type | Required | Description |
|---|---|---|---|
id | int | Required | TinoPay service ID |
Body (JSON)
| Name | Type | Required | Description |
|---|---|---|---|
account_no | string | Required | Số tài khoản BIDV, ≤ 20 ký tự (khoảng trắng / gạch nối tự bỏ) |
account_holder_name | string | Required | Tên chủ tài khoản đúng như tại BIDV, ≤ 70 ký tự (có dấu cũng được) |
identity | string | Required | Số CCCD / CMND / hộ chiếu / ĐKKD đang lưu tại BIDV, ≤ 20 ký tự [A-Za-z0-9 ] |
phone | string | Required | SĐT nhận OTP đăng ký tại BIDV, 0… hoặc +84…, ≤ 12 ký tự |
va_number | string | Required | Phần đuôi VA (= terminal code), A–Z 0–9, tối đa 19 − độ dài mã đầu ký tự |
hint_name | string | — | Tên gợi nhớ của VA, ≤ 50 ký tự, không gửi sang BIDV |
Response
Sample built from the TinoPay API v1 documentation (Tino relays TinoPay data as is); values are examples.
Error codes
| Error code | Description |
|---|---|
404 · service_not_found, invalid method | The service does not belong to the signed-in account, or is not TinoPay. |
403 · service_not_active | The service is neither Active nor Suspended. |
403 · MERCHANT_SUSPENDED | The merchant is suspended: writes are blocked, GET still works. |
404 · RESOURCE_NOT_FOUND | The resource does not exist or does not belong to the merchant. |
422 · VALIDATION_FAILED | Invalid data; details lists the fields. |
502 · NETWORK_ERROR…, 504 | The 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.