# Resend the BIDV personal link OTP

`POST /service/@id/tinopay/bank-links/bidv-personal/resend-otp` · TinoPay, service owner's sign-in token

BIDV sends a new code using the details stored in step 1. Send the `bank_account_id` and `va_number` from step 1; returns **202** like step 1 with a **new** `confirm_id`: the confirm step must use it. At least 60 seconds after the previous send, otherwise 429 `RATE_LIMITED`. `bank_account_id` must belong to the merchant, otherwise 404 `BANK_ACCOUNT_NOT_FOUND`. Not retried. Through `/v1` it needs the `tinopay:owner` scope.

## HTTP request

| Item | Value |
| --- | --- |
| URL | `https://api.tino.vn/service/@id/tinopay/bank-links/bidv-personal/resend-otp` |
| Method | `POST` |
| Authentication | the TinoPay service owner's sign-in token (`Authorization: Bearer <token>`); the `/v1` gateway does not expose TinoPay yet |
| Content-Type | `application/json` |

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | int | yes | TinoPay service ID |
| `bank_account_id` | body | string | yes | Từ bước 1 |
| `va_number` | body | string | yes | Từ bước 1 |

## Example request

```bash
curl -X POST "https://api.tino.vn/service/100001/tinopay/bank-links/bidv-personal/resend-otp" \
  -H "Authorization: Bearer $TINO_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "bank_account_id": "9c1e6f2a-5b7d-4e1a-9f3c-2d8b6a4e0c11",
  "va_number": "SHOP1"
}'
```

`$TINO_TOKEN` is the TinoPay service owner's sign-in token. Path parameters in the example are sample values.

SDK ([SDK & examples](/en/docs/sdk)): no dedicated function yet, use `client.request("POST", "/service/@id/tinopay/bank-links/bidv-personal/resend-otp")`.

## Example response

```json
{
 "data": {
  "confirm_id": "20261130100100123457",
  "bank_account_id": "9c1e6f2a-5b7d-4e1a-9f3c-2d8b6a4e0c11",
  "va_number": "SHOP1",
  "account_number": "963988SHOP1",
  "account_name": "NGUYEN VAN A",
  "phone_masked": "090****567",
  "otp_resend_after": 60
 }
}
```

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