Turkish FAST / TR Karekod Payload
tr_qr_odemeBuilds a person-to-person TR Karekod (FAST) payment payload from IBAN, name and optional TRY amount. Text only — no PNG.
Turkish instant payments (FAST) can start from a TR Karekod that encodes the payee IBAN and name in EMV-style TLV. This builds the person-to-person organisation (payload format indicator 750210): application template with IBAN, payee name, optional 12-digit kuruş amount, optional free-text explanation, and a CRC-16/CCITT-FALSE trailer. The Turkish IBAN is normalised and checked with ISO 7064 mod-97; non-TR IBANs and non-TRY currencies are rejected. This does not send money and does not render a QR image.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iban | Yes | Beneficiary Turkish IBAN (with or without spaces). | |
| name | Yes | Payee name shown to the payer (2–26 chars after trim). | |
| amount | No | TRY amount; omitted → static QR (payer enters amount). | |
| currency | No | Must be TRY if provided. | |
| explanation | No | Optional remittance note (application free field 10). | |
| generatorCode | No | QR generator / EFT code (4 digits). Defaults to last 4 of the IBAN bank code. |