Beneficiaries
The Indian bank account, or UPI ID, that receives an INR payout.
A beneficiary is the bank account in India that a payout pays into, such as an NRE, NRO or savings account. It belongs to one originator and can be paid only on that originator's behalf.
You send the account (number, IFSC, holder's name and account type) and the account holder's identity: date of birth, nationality, address and identity document. The API accepts a beneficiary without the account type or the identity, but payouts need them: until you supply them, verification.requirements_due lists them and the beneficiary cannot be paid. See What a payout needs.
Once nothing is due, Superpay has the account verified by its banking partner, the holder's name included. This runs in the background. The beneficiary is ready when payouts_enabled is true.
A beneficiary can also be a UPI ID, in test mode today. You send the UPI ID in place of the account number and the IFSC, and it is not verified. See UPI IDs.
| Endpoint | Scope | Action |
|---|---|---|
POST /v1/originators/{id}/beneficiaries | beneficiaries:write | Create under the originator in the path |
POST /v1/beneficiaries | beneficiaries:write | Create with originator_id in the body |
GET /v1/beneficiaries/{id} | beneficiaries:read | Retrieve |
PATCH /v1/beneficiaries/{id} | beneficiaries:write | Correct the holder's details |
DELETE /v1/beneficiaries/{id} | beneficiaries:write | Delete |
GET /v1/beneficiaries/{id}/verification | beneficiaries:read | Its verification |
POST /v1/beneficiaries/{id}/documents | beneficiaries:write | Upload a document its verification asks for |
GET /v1/beneficiaries/{id}/documents | beneficiaries:read | List its documents |
There is no endpoint to list beneficiaries. Store each id you create. A different account number or IFSC, or a different UPI ID, is a new beneficiary.
Create a beneficiary#
/v1/originators/{id}/beneficiariesbeneficiaries:write/v1/beneficiariesbeneficiaries:writeBoth routes create the same object from the same body. Both require an Idempotency-Key header.
Which route to use#
POST /v1/originators/{id}/beneficiaries | POST /v1/beneficiaries | |
|---|---|---|
| Originator comes from | The path id | originator_id in the body |
originator_id in the body | Optional. If sent, it must equal the path id | Required |
| Good fit | You work from an originator's record | You build one self-contained request body |
The two routes behave identically otherwise. Pick one per integration: an Idempotency-Key is bound to the route it was first used on, and sending the same key to the other route returns IDEMPOTENCY_KEY_REUSED.
Originator status
Create is refused only when the originator is REJECTED or DELETED. Payouts need the originator to be verified, so create beneficiaries once the originator is ACTIVE. See Originator statuses.
Parameters#
idstringRequiredPath parameter, POST /v1/originators/{id}/beneficiaries only. The originator's id, e.g. org_01M2FPKH20W4N5X6M3P9R2T1VA. A malformed id returns 400 with a field error on originator_id.
originator_idstringThe originator's id (org_…). Required on POST /v1/beneficiaries. Optional on the nested route, where it must match the path id.
accountobjectRequiredThe account to pay into: a bank account, or a UPI ID. One request names one of the two.
account.typestringRequiredIN_BANK for a bank account, or IN_UPI for a UPI ID. Exact and case-sensitive.
account.account_numberstringRequired for IN_BANK; not accepted with IN_UPI. 9–18 digits, sent as a JSON string. No spaces or hyphens. Never returned in full.
account.ifscstringRequired for IN_BANK; not accepted with IN_UPI. The branch IFSC: 11 characters, four letters, 0, then six letters or digits (AAAA0XXXXXX). Case-insensitive; returned upper-case.
account.vpastringRequired for IN_UPI; not accepted with IN_BANK. The UPI ID: a name of 2 to 256 letters, digits, dots, underscores or hyphens, then @ and a handle of 2 to 20 letters and digits that starts with a letter, e.g. anita.raghunathan@okhdfcbank. Case-insensitive; stored in lower case. Never returned in full: responses show only the handle, in account.vpa_handle.
account.holder_namestringRequiredThe account holder's name as it appears on the bank account. 2–140 bytes (UTF-8) after trimming. Verified together with the account number and the IFSC; see Name matching.
account.bank_account_typestringThe account's type, as the holder declares it: NRE, NRO, SAVINGS or CURRENT; NRO/SAVINGS is read as NRO. Case-insensitive; returned upper-case. The request is accepted without it, but the beneficiary cannot be paid until it is declared as NRE, NRO or SAVINGS: until then account.bank_account_type is listed in verification.requirements_due. A declared CURRENT account cannot be paid either: the field stays listed there until you declare one of the three. See Account types.
account.panstringOptional. The holder's PAN, e.g. ABCDE1234F. Trimmed and upper-cased. Never returned.
account.mobilestringOptional. The holder's mobile number in E.164 format, e.g. +919876543210. Never returned.
account.emailstringOptional. The holder's email address, up to 254 characters. Never returned.
account.relationshipstringThe account holder's relationship to the originator, e.g. SPOUSE. At most 40 bytes. Stored as sent.
date_of_birthstringThe account holder's date of birth, YYYY-MM-DD, not in the future. There is no minimum age: the holder can be a minor.
nationalitystringThe account holder's nationality: ISO 3166-1 alpha-2 country code, upper case, e.g. IN.
addressobjectThe account holder's address: line1, line2, city, state, postal_code and country. It need not be in India. When you send it, line1, city and country (ISO 3166-1 alpha-2, upper case) are required, and a problem with any of them is reported once, on the field address. Keep the whole address within 128 characters: see What a payout needs.
id_documentobjectThe account holder's identity document. When you send it, type, number and issuing_country are required.
id_document.typestringOne of PASSPORT, NATIONAL_ID, DRIVERS_LICENSE, RESIDENCE_PERMIT. Case-sensitive. A payout takes only PASSPORT or NATIONAL_ID for the account holder: see What a payout needs.
id_document.numberstringDocument number, 3–40 characters, not counting surrounding spaces. Send it without surrounding spaces: the value is stored as sent. Responses show only its last four characters, in number_last4, so a number of four characters or fewer is returned whole.
id_document.issuing_countrystringISO 3166-1 alpha-2 code of the country that issued the document, upper case.
id_document.expires_onstringOptional. Expiry date, YYYY-MM-DD. Must be after today (UTC): a document that expires today is rejected.
countrystringDefaults to IN, the only accepted value.
currencystringDefaults to INR, the only accepted value.
referencestringYour own identifier for the beneficiary. At most 128 bytes. Must be unique among your beneficiaries in this mode, including deleted ones.
pan, mobile and email help an NRO or savings account qualify for a domestic payout route. They are stored encrypted, as are the account number and the holder's identity.
date_of_birth, nationality, address and id_document are the account holder's own, not the originator's. Each is optional in the request and has the same shape and rules as on an originator, except that the holder need not be an adult.
The two requests below are alternatives. Send one, not both.
curl https://api.withsuperpay.com/v1/originators/org_01M2FPKH20W4N5X6M3P9R2T1VA/beneficiaries \
-H "Authorization: Bearer $SUPERPAY_TOKEN" \
-H "Idempotency-Key: 4b8e1d6a-2f7c-4a93-8e5b-1c9d0a7f3e62" \
-H "Content-Type: application/json" \
-d '{
"account": {
"type": "IN_BANK",
"account_number": "50100123456789",
"ifsc": "HDFC0000261",
"holder_name": "Anita Raghunathan",
"bank_account_type": "NRE",
"relationship": "SPOUSE"
},
"date_of_birth": "1990-01-31",
"nationality": "IN",
"address": {
"line1": "14 MG Road",
"city": "Bengaluru",
"state": "KA",
"postal_code": "560001",
"country": "IN"
},
"id_document": {
"type": "PASSPORT",
"number": "N7654321",
"issuing_country": "IN",
"expires_on": "2032-01-01"
},
"reference": "BEN-1"
}'curl https://api.withsuperpay.com/v1/beneficiaries \
-H "Authorization: Bearer $SUPERPAY_TOKEN" \
-H "Idempotency-Key: 8d2f6a91-3c4e-4b7a-9f05-6e1b2c8d4a17" \
-H "Content-Type: application/json" \
-d '{
"originator_id": "org_01M2FPKH20W4N5X6M3P9R2T1VA",
"account": {
"type": "IN_BANK",
"account_number": "50100123456789",
"ifsc": "HDFC0000261",
"holder_name": "Anita Raghunathan",
"bank_account_type": "NRE",
"relationship": "SPOUSE"
},
"date_of_birth": "1990-01-31",
"nationality": "IN",
"address": {
"line1": "14 MG Road",
"city": "Bengaluru",
"state": "KA",
"postal_code": "560001",
"country": "IN"
},
"id_document": {
"type": "PASSPORT",
"number": "N7654321",
"issuing_country": "IN",
"expires_on": "2032-01-01"
},
"reference": "BEN-1"
}'{
"object": "beneficiary",
"id": "ben_01M2FPNHGG6C8D0F2H4K6M8P0R",
"originator_id": "org_01M2FPKH20W4N5X6M3P9R2T1VA",
"status": "PENDING",
"country": "IN",
"currency": "INR",
"account": {
"type": "IN_BANK",
"account_number_last4": "6789",
"ifsc": "HDFC0000261",
"holder_name": "Anita Raghunathan",
"bank_account_type": "NRE",
"relationship": "SPOUSE"
},
"date_of_birth": "1990-01-31",
"nationality": "IN",
"address": {
"line1": "14 MG Road",
"city": "Bengaluru",
"state": "KA",
"postal_code": "560001",
"country": "IN"
},
"id_document": {
"type": "PASSPORT",
"number_last4": "4321",
"issuing_country": "IN",
"expires_on": "2032-01-01"
},
"account_type": {
"resolved": "NRE",
"confidence": "DECLARED",
"source": "client"
},
"verification_status": "PENDING",
"payouts_enabled": false,
"reference": "BEN-1",
"verification": {
"status": "PENDING",
"payable": false,
"reason_code": "KYC_PENDING",
"message": "Verification is still in progress; retry once the party is verified.",
"requirements_due": [],
"capabilities": [
{
"capability": "cross_border",
"status": "PENDING",
"reason_code": "KYC_PENDING",
"message": "Verification is still in progress; retry once the party is verified.",
"requirements_due": [],
"correctable": false
}
]
},
"livemode": false,
"created_at": "2026-09-30T10:16:10Z",
"updated_at": "2026-09-30T10:16:10Z"
}The response is 201 Created with a Location: /v1/beneficiaries/{id} header. A new beneficiary is always status: PENDING and verification_status: PENDING, with payouts_enabled: false. Its verification.status is PENDING when the account has gone to be verified, as here, and REQUIREMENTS_DUE when something a payout needs is missing. See Waiting for verification.
- Surrounding spaces are trimmed from
holder_name,account_number,ifsc,bank_account_typeandpan. The response shows the normalised values. - Unknown fields, at any level, are rejected with
REQUEST_BODY_INVALID. - Superpay does not detect duplicate accounts. Creating the same account twice gives two beneficiaries. Set a
referenceso that an accidental second create fails withREFERENCE_EXISTS.
Retries and Idempotency-Key
- Retrying with the same key and body returns the original
201response withIdempotent-Replayed: true. Its body normally shows the beneficiary as it was at creation (PENDING). Retrieve the beneficiary for its current state. - Error responses (
4xx) are stored against the key too. After you fix a rejected request, send it with a new key. The same key with a changed body returnsIDEMPOTENCY_KEY_REUSED. - A
5xxresponse is not stored. Retry with the same key and body; if the beneficiary was created, you get it back instead of a duplicate.
What a payout needs#
Superpay's cross-border payout capability, shown as cross_border in verification, is what makes a beneficiary payable. It verifies the account, and each payout then carries the account and its holder's identity to Superpay's banking partner. It needs all of these:
| Field | Note |
|---|---|
account.account_number, account.ifsc, account.holder_name | Always held: create requires them. For a UPI ID, account.vpa takes the place of the first two |
account.bank_account_type | Declared as NRE, NRO or SAVINGS. Superpay never guesses a type for a bank |
date_of_birth, nationality | The account holder's |
address | The account holder's. At most 128 characters once line1, line2, city, state, postal_code and country are joined by single spaces. A longer address is never shortened: a payout that would carry it fails with PROVIDER_REJECTED |
id_document.type, id_document.number | The account holder's. The type must be PASSPORT or NATIONAL_ID: a beneficiary with a DRIVERS_LICENSE or a RESIDENCE_PERMIT can be verified, but a payout to it fails with PROVIDER_REJECTED |
A beneficiary that lacks one of them is still created. It stays PENDING, nothing is sent to be verified, and verification.requirements_due lists the missing request fields. This one was created with a declared account type and no identity:
{
"object": "beneficiary",
"id": "ben_01M2FPNHGG6C8D0F2H4K6M8P0R",
"status": "PENDING",
"verification_status": "PENDING",
"payouts_enabled": false,
"status_reason_code": "KYC_REQUIREMENTS_DUE",
"status_reason_message": "More information is needed before this party can be verified; see requirements_due.",
"verification": {
"status": "REQUIREMENTS_DUE",
"payable": false,
"reason_code": "KYC_REQUIREMENTS_DUE",
"message": "More information is needed before this party can be verified; see requirements_due.",
"requirements_due": ["address", "date_of_birth", "id_document.number", "id_document.type", "nationality"],
"capabilities": [
{
"capability": "cross_border",
"status": "REQUIREMENTS_DUE",
"reason_code": "KYC_REQUIREMENTS_DUE",
"message": "More information is needed before this party can be verified; see requirements_due.",
"requirements_due": ["address", "date_of_birth", "id_document.number", "id_document.type", "nationality"],
"correctable": true
}
]
}
}Correct the beneficiary with what is listed. Once nothing is due, the account goes to be verified and verification.status becomes PENDING.
These fields are read again each time a payout is sent. See Payout errors caused by the beneficiary.
Retrieve a beneficiary#
/v1/beneficiaries/{id}beneficiaries:readidstringRequiredPath parameter. The beneficiary's id, e.g. ben_01M2FPNHGG6C8D0F2H4K6M8P0R.
curl https://api.withsuperpay.com/v1/beneficiaries/ben_01M2FPNHGG6C8D0F2H4K6M8P0R \
-H "Authorization: Bearer $SUPERPAY_TOKEN"{
"object": "beneficiary",
"id": "ben_01M2FPNHGG6C8D0F2H4K6M8P0R",
"originator_id": "org_01M2FPKH20W4N5X6M3P9R2T1VA",
"status": "ACTIVE",
"country": "IN",
"currency": "INR",
"account": {
"type": "IN_BANK",
"account_number_last4": "6789",
"ifsc": "HDFC0000261",
"holder_name": "Anita Raghunathan",
"bank_account_type": "NRE",
"relationship": "SPOUSE"
},
"date_of_birth": "1990-01-31",
"nationality": "IN",
"address": {
"line1": "14 MG Road",
"city": "Bengaluru",
"state": "KA",
"postal_code": "560001",
"country": "IN"
},
"id_document": {
"type": "PASSPORT",
"number_last4": "4321",
"issuing_country": "IN",
"expires_on": "2032-01-01"
},
"account_type": {
"resolved": "NRE",
"confidence": "DECLARED",
"source": "client"
},
"verification_status": "VERIFIED",
"payouts_enabled": true,
"reference": "BEN-1",
"verification": {
"status": "ACTIVE",
"payable": true,
"requirements_due": [],
"capabilities": [
{
"capability": "cross_border",
"status": "ACTIVE",
"requirements_due": [],
"correctable": false
}
]
},
"livemode": false,
"created_at": "2026-09-30T10:16:10Z",
"updated_at": "2026-09-30T10:16:14Z"
}- Returns any of your beneficiaries in the token's mode, whichever originator it belongs to.
- Deleted beneficiaries are still returned, with
status: DELETED. - An unknown or malformed id, or an id from the other mode, returns
404 BENEFICIARY_NOT_FOUND. - This beneficiary is
VERIFIEDand has noname_match: its account was verified without the bank-held name being reported. See Name matching.
Correct a beneficiary#
/v1/beneficiaries/{id}beneficiaries:writeCorrects the holder's details, for example to supply what the verification lists in requirements_due, or to fix a name that was not accepted. Send only the fields you change, the account's under account and the holder's identity at the top level, with an Idempotency-Key. Returns 200 OK with the beneficiary.
| Rule | Detail |
|---|---|
| Fields you can send | account.holder_name, account.relationship, account.bank_account_type, account.pan, account.email, account.mobile, date_of_birth, nationality, address, id_document |
| Merging | A field you leave out is unchanged. address and id_document replace the whole object: send every part you want to keep. "" clears an optional field of account. date_of_birth and nationality can be changed but not emptied: "" is refused with parameter_value_invalid. {} changes nothing |
| Checks | The corrected beneficiary must pass every rule of create, checked against today's date: a stored id_document that has expired fails every correction until you replace it |
| Fixed | originator_id, country, currency and reference cannot change, and neither can account.type, account.account_number, account.ifsc or account.vpa: 400 with parameter_not_patchable. A different account is a new beneficiary |
null | Refused anywhere in the body with 400 REQUEST_BODY_INVALID. Leave a field out instead |
| Locked | While a verification is in progress or done with a field, that field cannot change: 400 with parameter_locked. The main verification holds holder_name and a declared bank_account_type until it rejects the account or the name does not match. A domestic route in progress or done holds holder_name, a declared bank_account_type, pan, email and mobile, even after the main verification rejects the account. The holder's identity (date_of_birth, nationality, address, id_document) is never locked: it is sent to no verification, and each payout carries it as it is then |
| When | Refused for a SUSPENDED or DELETED beneficiary with 422 BENEFICIARY_NOT_CORRECTABLE |
curl -X PATCH https://api.withsuperpay.com/v1/beneficiaries/ben_01M2FPNHGG6C8D0F2H4K6M8P0R \
-H "Authorization: Bearer $SUPERPAY_TOKEN" \
-H "Idempotency-Key: 5e8a1c3f-9b72-4d06-a4e1-0f6b8d2c7a95" \
-H "Content-Type: application/json" \
-d '{
"date_of_birth": "1990-01-31",
"nationality": "IN",
"address": {
"line1": "14 MG Road",
"city": "Bengaluru",
"state": "KA",
"postal_code": "560001",
"country": "IN"
},
"id_document": {
"type": "PASSPORT",
"number": "N7654321",
"issuing_country": "IN",
"expires_on": "2032-01-01"
}
}'{
"object": "beneficiary",
"id": "ben_01M2FPNHGG6C8D0F2H4K6M8P0R",
"status": "PENDING",
"date_of_birth": "1990-01-31",
"nationality": "IN",
"id_document": {
"type": "PASSPORT",
"number_last4": "4321",
"issuing_country": "IN",
"expires_on": "2032-01-01"
},
"verification_status": "PENDING",
"payouts_enabled": false,
"verification": {
"status": "PENDING",
"payable": false,
"reason_code": "KYC_PENDING",
"message": "Verification is still in progress; retry once the party is verified.",
"requirements_due": [],
"capabilities": [
{
"capability": "cross_border",
"status": "PENDING",
"reason_code": "KYC_PENDING",
"message": "Verification is still in progress; retry once the party is verified.",
"requirements_due": [],
"correctable": false
}
]
},
"updated_at": "2026-09-30T10:18:02Z"
}This correction supplies the identity that was due. Nothing is due any more, so the account has gone to be verified. To add an NRO or savings account to a domestic payout route, correct it with account.pan, account.mobile and account.email in the same way.
A correction is stored, and the beneficiary is checked again straight away. See Correct a party.
- A new
holder_namethat the main verification takes again starts the verification again:verification_statusgoes back toPENDINGandstatustoPENDING. - A correction of the holder's identity leaves a verified beneficiary
ACTIVEand payable: nothing is verified again, and the next payout carries the corrected identity. - A new
bank_account_typeis resolved again, unless the account type is alreadyVERIFIED. - A correction is stored even when no verification can use it yet. Read
verificationin the response. - Like a create, a correction's
4xxis stored against its key and replayed. Send a fixed correction with a new key.
Delete a beneficiary#
/v1/beneficiaries/{id}beneficiaries:writeidstringRequiredPath parameter. The beneficiary's id.
curl -X DELETE https://api.withsuperpay.com/v1/beneficiaries/ben_01M2FPNHGG6C8D0F2H4K6M8P0R \
-H "Authorization: Bearer $SUPERPAY_TOKEN"HTTP/1.1 204 No Content
X-Request-Id: req_01M2FQR110W4N5X6M3P9R2T1VCNo request body and no Idempotency-Key. A beneficiary in any status can be deleted.
| Effect | Detail |
|---|---|
| Status | Becomes DELETED. Final; it cannot be undone. verification.status becomes DELETED too |
| Retrieval | Still returned by GET, with payouts_enabled: false. verification_status and name_match can still change if a name check that was in progress completes |
| Repeat calls | Deleting an already deleted beneficiary returns 204 again |
| Events | beneficiary.deleted and beneficiary.verification_updated |
| New payouts | POST /v1/payouts returns 422 BENEFICIARY_NOT_PAYABLE |
| Existing payouts | Not cancelled. A payout created moments earlier may move to FAILED with failure.code BENEFICIARY_NOT_PAYABLE; one further along continues. To stop it, cancel the payout |
| Corrections and uploads | Refused: 422 BENEFICIARY_NOT_CORRECTABLE and 422 DOCUMENT_OWNER_NOT_ACCEPTING |
reference | Stays in use. A replacement beneficiary needs a different reference |
The beneficiary object#
| Field | Type | Description |
|---|---|---|
object | string | Always beneficiary. |
id | string | ben_ followed by a 26-character, time-sortable id. |
originator_id | string | The originator the beneficiary belongs to. Never changes. |
status | string | Registration status. See status. |
country | string | IN. |
currency | string | INR. Payouts to this beneficiary must be in this currency. |
account.type | string | IN_BANK, or IN_UPI for a UPI ID. |
account.account_number_last4 | string | Last four digits of the account number. The full number is never returned. A bank account only. |
account.ifsc | string | Branch IFSC, upper-case. A bank account only. |
account.vpa_handle | string | The handle of the UPI ID, the part after the @, e.g. okhdfcbank. The UPI ID itself is never returned. A UPI ID only. |
account.holder_name | string | The holder name you sent, trimmed. |
account.bank_account_type | string | The type you declared: NRE, NRO, SAVINGS or CURRENT. Omitted if you declared none. |
account.relationship | string | As you sent it. Omitted if you sent none. |
date_of_birth | string | The account holder's, YYYY-MM-DD. Omitted if you sent none. |
nationality | string | The account holder's, ISO 3166-1 alpha-2. Omitted if you sent none. |
address | object | The account holder's: line1, city and country always; line2, state and postal_code when set. Omitted if you sent none. |
id_document.type | string | The account holder's document type. id_document is omitted if you sent none. |
id_document.number_last4 | string | Last four characters of the document number. A number of four characters or fewer is returned whole. |
id_document.issuing_country | string | ISO 3166-1 alpha-2. |
id_document.expires_on | string | YYYY-MM-DD. Omitted if not set. |
account_type | object | What Superpay believes the account is. See Account types. |
verification_status | string | Whether the account has been verified. See verification_status. |
name_match | string | MATCH, PARTIAL or MISMATCH. Present only when the bank-held name was reported and compared: a VERIFIED beneficiary can have none. See Name matching. |
payouts_enabled | boolean | true when the beneficiary is verified, so that a payout to it can be created. See payouts_enabled. |
reference | string | Your reference. Omitted if you sent none. |
status_reason_code | string | Why the beneficiary cannot be paid, as a reason code: the reason it is REJECTED or SUSPENDED, or, while it is PENDING, KYC_REQUIREMENTS_DUE or KYC_EXPIRED. Omitted when there is none. |
status_reason_message | string | What the code means, safe to show a person. Present with status_reason_code. |
verification | object | Where the beneficiary stands in verification, and what you can fix. See Verification. |
livemode | boolean | true for live-mode credentials, false for test mode. |
created_at | string | RFC 3339 timestamp in UTC, whole seconds. |
updated_at | string | RFC 3339 timestamp in UTC, whole seconds. Changes whenever Superpay updates the record, including background checks that change no other field. |
Optional fields are omitted, never null. The name the bank holds is never returned; only name_match. pan, mobile and email are never returned. The holder's identity is returned in full to any token with beneficiaries:read, and in the response to a create or a correction, except the document number, of which only the last four characters are shown. Treat responses as personal data. Events about beneficiaries carry none of it.
Account types#
Declare what kind of account a beneficiary is in account.bank_account_type: a payout needs it. account_type shows what Superpay believes the account is and how sure it is:
| Field | Values | Meaning |
|---|---|---|
account_type.resolved | NRE, NRO, SAVINGS, CURRENT, UNKNOWN | The account type Superpay works with |
account_type.confidence | UNKNOWN, INFERRED, DECLARED, VERIFIED | DECLARED came from you, INFERRED from the bank's account-number rules, VERIFIED from a bank's own answer |
account_type.source | string | Informational. Where the resolution came from, e.g. client. Don't build on it |
- Superpay's main route pays only an account whose type you declared as
NRE,NROorSAVINGS. Until you declare one,account.bank_account_typeis listed inverification.requirements_dueand the beneficiary cannot be paid, whateveraccount_type.resolvedshows. Correct the beneficiary with the type the account holder gives you. - A declared
NROorSAVINGSaccount, with the holder'span,mobileandemail, can also qualify for a domestic payout route, in a mode where that route can pay such an account. Its progress shows as thedomesticcapability inverification. - What you declare stays in
account.bank_account_type.account_type.resolvedcan differ from it once a bank has answered: a verified type is never overwritten by a declaration. - A declared
CURRENTaccount is not verified: the beneficiary staysPENDINGwithaccount.bank_account_typeinverification.requirements_due, as if no type had been declared. If the account is in factNRE,NROorSAVINGS, correct the type and it is verified. Don't declareCURRENT.
Account types that can be paid#
A declared type lets a beneficiary be verified. Whether a payout can then reach the account also depends on the mode.
- Each of Superpay's banking partners may credit only some account types, and Superpay sets what each may credit per mode. So an account type that is paid in test mode is not necessarily paid in live mode.
- In test mode a declared
NRE,NROorSAVINGSaccount can be paid. - Before you go live, ask Superpay which account types your live payouts can reach. The API does not list them.
payouts_enabledandverification.payabledo not show it: both can betruefor an account whose type cannot be paid in the mode.
A payout to such an account is accepted with 201. It then fails when it is checked, with failure.code BENEFICIARY_NOT_PAYABLE, before any funds are held. A new payout to the same beneficiary fails the same way. If the type you declared is not the account's real type, create a new beneficiary for the account with the type its holder gives you: the declared type of a verified beneficiary is locked. Otherwise pay another account of the holder's, or contact Superpay.
UPI IDs#
A beneficiary can be a UPI ID, such as anita.raghunathan@okhdfcbank, in place of a bank account. Payouts to it go over UPI. UPI payouts has the full request and response.
Test mode only, and not verified
UPI IDs work in test mode. In live mode IN_UPI is refused with 422 INSTRUMENT_NOT_AVAILABLE until Superpay enables it there. No one checks that a UPI ID exists or whose it is: confirm it with your customer before you create the beneficiary, because a payout to a mistyped UPI ID fails, or reaches someone else.
| Bank account | UPI ID | |
|---|---|---|
account.type | IN_BANK | IN_UPI |
| You send | account_number, ifsc | vpa |
| The response shows | account_number_last4, ifsc | vpa_handle |
account.bank_account_type | Needed before a payout | Needed before a payout: nothing else says what account is behind a UPI ID |
account_type | Can be inferred from the account number | Never inferred: it is what the holder declares |
| Verified before it can be paid | Yes, in the background | No |
name_match | When the bank reports a name | Never |
| Becomes payable | When its account is verified | As soon as nothing is due, which can be in the answer to the create |
| Most per payout | Set by the route | ₹1,00,000.00 (10000000) |
- What a payout needs is the same as for a bank account, with the UPI ID in place of the account number and the IFSC: see What a payout needs. A UPI beneficiary that lacks any of it is
PENDINGwith the missing fields inverification.requirements_due, and becomesACTIVEwhen a correction supplies the last one. VERIFIEDis not a verification. A UPI beneficiary isACTIVEandVERIFIED, withpayouts_enabled: true, once Superpay holds everything a payout needs.beneficiary.verifiedis sent then, and can arrive withbeneficiary.created.- Account types. Only a UPI ID whose holder declared an
NROorSAVINGSaccount can be paid today. One declaredNREis accepted and shown payable, and its payout fails withBENEFICIARY_NOT_PAYABLE, as described under Account types that can be paid. - The UPI ID cannot be corrected.
account.vpais fixed once the beneficiary exists, as an account number is. Another UPI ID is another beneficiary. - A payout to a UPI beneficiary is created with the same request. It shows
corridorIN-INR-UPIand, once paid,railUPI: see Payouts.
Statuses#
Four fields describe a beneficiary's progress:
status: has the account been accepted, and is it usable?verification_status: has the account been verified, the holder's name included?payouts_enabled: can you create a payout to it now? It combines the two.verification: the full picture, including every route the account is verified for, what is still due and anything you can fix.
PENDINGVERIFYINGACTIVEA beneficiary can go straight from PENDING to ACTIVE. When its account is verified without a bank-held name being reported, it becomes ACTIVE and VERIFIED in the same step. When a bank-held name is reported, the name check can finish before or after the account becomes ACTIVE.
status#
| Status | Meaning | What you do |
|---|---|---|
PENDING | Created, or corrected and sent again. Something a payout needs is still due, or the account's verification is in progress. | Supply what verification.requirements_due lists. Otherwise wait. |
VERIFYING | Superpay's banking partner is verifying the account. | Wait. |
ACTIVE | The account is accepted. Payable once verification_status is VERIFIED. | Check payouts_enabled. |
REJECTED | The account was refused. status_reason_code says why. | See Verification. |
SUSPENDED | The account is suspended. The account's verification does not set it today: an account reported inactive, or one that could not be verified, is REJECTED. | Do not pay it. It becomes ACTIVE again only if it is reported active. |
DELETED | You deleted it, or Superpay erased its personal data. Final. | Create a new beneficiary if you need the account again. |
verification_status#
| Value | Meaning | What you do |
|---|---|---|
PENDING | The account is not verified yet. Every beneficiary starts here. | Supply what is due, or wait. |
VERIFIED | The account is verified, the holder's name included. If the bank-held name was reported, it matches holder_name (name_match is MATCH or PARTIAL); otherwise there is no name_match. For a UPI ID it means only that Superpay holds everything a payout needs: a UPI ID is not verified. | Nothing. |
MISMATCH | The bank-held name does not match holder_name. | See Name matching. |
UNVERIFIED | Set when the account is rejected. Appears with status: REJECTED. | Read status_reason_code. |
payouts_enabled#
payouts_enabled is true exactly when status is ACTIVE and verification_status is VERIFIED. Creating a payout while it is false returns 422 BENEFICIARY_NOT_PAYABLE. NRE, NRO and savings accounts can all be verified, once their type is declared. Which of them a payout can reach is set per mode: see Account types that can be paid.
status | verification_status | payouts_enabled | What you do |
|---|---|---|---|
PENDING or VERIFYING | any | false | Supply what verification.requirements_due lists. Otherwise wait. |
ACTIVE | PENDING | false | Wait. The name check is still running. |
ACTIVE | VERIFIED | true | Create payouts, once verification.payable is true too. |
ACTIVE | MISMATCH | false | See Name matching. |
REJECTED | UNVERIFIED | false | See Verification. |
SUSPENDED | any | false | Do not pay. |
DELETED | any | false | Nothing. |
Gate payouts on verification.payable
payouts_enabled can stay true for a beneficiary rejected on sanctions screening. A payout to it is then created and fails with COMPLIANCE_REJECTED. verification.payable accounts for screening: pay only when it is true, for the beneficiary and for its originator.
Waiting for verification#
Superpay sends beneficiary.verified when the beneficiary becomes payable, and beneficiary.rejected, beneficiary.name_mismatch or beneficiary.suspended when it needs you. beneficiary.verification_updated follows every change of verification. Subscribe to them with a webhook, or poll GET /v1/beneficiaries/{id}, backing off between calls, until either:
payouts_enabledistrue, or- the beneficiary needs action:
verification.statusisREQUIREMENTS_DUE,statusisREJECTED,SUSPENDEDorDELETED, orverification_statusisMISMATCH.
Verification time depends on Superpay's banking partners and the beneficiary's bank; there is no guaranteed duration.
Superpay keeps asking for the account's verdict for up to 24 hours. If none comes, the verification lapses. That is not a rejection: the beneficiary stays PENDING, with status_reason_code KYC_EXPIRED, and its cross_border capability shows REQUIREMENTS_DUE with nothing listed. Send the beneficiary's details again with a correction (the same values are enough), or upload a document, and the account is verified again.
A payable beneficiary can later stop being payable, for example if its account is later reported inactive and it becomes REJECTED. POST /v1/payouts checks the beneficiary when you create a payout, so a payout to a beneficiary whose payouts_enabled is false is refused.
Verification#
verification is the beneficiary's verification view: its overall standing, a reason code, what is still required, and one entry per route the account is verified for.
| You see | What you do |
|---|---|
requirements_due lists fields, e.g. date_of_birth or account.pan | Correct the beneficiary with them. What the cross_border capability lists is needed before the beneficiary can be paid; what domestic lists is optional |
requirements_due lists document.<type> | Upload the document |
A capability with correctable: true | Correct what its reason_code names |
KYC_REJECTED_BANK_ACCOUNT_INVALID | Check the account number, the IFSC and the holder's name: the three are verified together, and the refusal does not say which was wrong. Correct account.holder_name if the capability is correctable. A different account number or IFSC is a new beneficiary |
status_reason_code is KYC_EXPIRED | The verification gave no verdict. Send the details again (the same values are enough), or upload a document, to have the account verified again |
KYC_REJECTED_SANCTIONS | Contact Superpay. Do not create the beneficiary again |
| Any other rejection that is not correctable | Create a new beneficiary with the right details and a new reference, or contact Superpay |
Name matching#
The holder's name is verified with the account: Superpay's banking partner is sent the account number, the IFSC and your holder_name together and gives one answer for all three. It does not report the name the bank holds, so a beneficiary verified this way is VERIFIED with no name_match. A name it does not accept is not reported as a mismatch either: the account is rejected with KYC_REJECTED_BANK_ACCOUNT_INVALID, which does not say which of the three was wrong.
When a bank-held name is reported to Superpay, Superpay compares it with your holder_name and sets name_match:
name_match | When | verification_status |
|---|---|---|
MATCH | The names are equal once both are upper-cased, every run of characters other than letters and digits becomes a single space, and leading and trailing spaces are dropped. | VERIFIED |
PARTIAL | Not a MATCH, but every word of the name with fewer words appears in the other, in any order. For example, a middle name or initial is missing, or the words are reordered. | VERIFIED |
MISMATCH | Anything else. | MISMATCH |
PARTIAL is payable. Only MISMATCH blocks payouts.
You sent holder_name | Bank holds | name_match |
|---|---|---|
Anita Raghunathan | ANITA RAGHUNATHAN | MATCH |
anita raghunathan. | ANITA RAGHUNATHAN | MATCH |
Anita R Raghunathan | ANITA RAGHUNATHAN | PARTIAL |
Raghunathan Anita | ANITA RAGHUNATHAN | PARTIAL |
Anita Raghunathan | SOMEONE ELSE | MISMATCH |
A mismatch shows in verification as a REJECTED cross_border capability with KYC_REJECTED_NAME_MISMATCH. If that capability is correctable, correct account.holder_name to the name exactly as the bank holds it. Otherwise confirm the exact name with the account holder and create a new beneficiary with it and a new reference, or contact Superpay.
Send the holder name exactly as it appears on the bank account. Branch on verification_status and payouts_enabled, not on name_match.
Errors#
Errors are problem documents. Authentication, scope, Idempotency-Key and request-body errors are shared by every endpoint and listed on Errors. These are specific to beneficiaries:
| Code | HTTP | Endpoint | When | What you do |
|---|---|---|---|---|
INVALID_ARGUMENT | 400 | Create, correct | One or more fields are invalid. errors[] lists them. | Fix the fields; retry with a new Idempotency-Key. |
REQUEST_BODY_INVALID | 400 | Create, correct | Empty body, malformed JSON, an unknown field, a wrong JSON type (e.g. account_number sent as a number), or a null in a correction. | Send valid JSON with only documented fields, with a new Idempotency-Key. |
REFERENCE_EXISTS | 409 | Create | reference is already used by one of your beneficiaries, including deleted ones. | Use a different reference with a new key. If you are retrying a create that may have succeeded, resend it with its original key to get the beneficiary. |
ORIGINATOR_NOT_FOUND | 422 | Create | No originator with that id in this mode. | Check the id and your token's mode; retry with a new key. |
ORIGINATOR_NOT_ACTIVE | 422 | Create | The originator is REJECTED or DELETED. | See Rejected originators. |
INSTRUMENT_NOT_AVAILABLE | 422 | Create | No payout route can pay an account of this account.type in this mode, so the beneficiary could never be paid. Nothing is stored. Today this is the answer to IN_UPI in live mode. | Contact Superpay to learn which account types this mode pays. Retry with a new key once it does. |
BENEFICIARY_NOT_FOUND | 404 | Retrieve, correct, delete, verification | Unknown or malformed id, or an id from the other mode. | Check the id and your token's mode. |
BENEFICIARY_NOT_CORRECTABLE | 422 | Correct | The beneficiary is SUSPENDED or DELETED. sub_code carries its reason code, when it has one. | Contact Superpay, or create a new beneficiary. |
UNKNOWN_ENDPOINT | 404 | Any other | The method and path are not an endpoint, e.g. GET /v1/beneficiaries. | Use the endpoints above. |
Field errors#
All invalid fields are reported together in errors[], with these exceptions:
- On the nested route, an
originator_idthat differs from the path is reported on its own. - If
account.typeis neitherIN_BANKnorIN_UPI,country,currency,account_number,ifsc,vpaandbank_account_typeare not checked until you fix it. - A correction is checked in stages: a
nullor a field that cannot change is reported first, on its own; then an emptieddate_of_birthornationality; then the rules of create; and only then locked fields.
field | code | message | When |
|---|---|---|---|
originator_id | parameter_value_invalid | invalid originator id | Missing or malformed originator id, in the body or the path. |
originator_id | parameter_value_invalid | does not match the originator in the path | Nested route: body and path ids differ. |
account.type | parameter_value_invalid | supported: IN_BANK, IN_UPI | Missing, or not exactly IN_BANK or IN_UPI. |
account.type | parameter_value_invalid | IN_BANK requires country IN and currency INR, or the same for IN_UPI | country is not IN or currency is not INR. |
account.account_number | parameter_value_invalid | 9-18 digits | IN_BANK: not 9–18 digits. |
account.ifsc | parameter_value_invalid | IFSC format AAAA0XXXXXX | IN_BANK: not a valid IFSC. |
account.account_number, account.ifsc | parameter_value_invalid | not accepted with IN_UPI | Sent with IN_UPI. |
account.vpa | parameter_value_invalid | a UPI ID, e.g. name@bank | IN_UPI: missing, or not a UPI ID. |
account.vpa | parameter_value_invalid | not accepted with IN_BANK | Sent with IN_BANK. |
account.bank_account_type | parameter_value_invalid | optional; NRE, NRO, SAVINGS or CURRENT | Sent, but not one of the accepted values. |
account.holder_name | parameter_value_invalid | 2-140 characters | Shorter than 2 or longer than 140 bytes. |
account.pan | parameter_value_invalid | PAN format AAAAA9999A | Not five letters, four digits and a letter. |
account.mobile | parameter_value_invalid | E.164, e.g. +919876543210 | Not E.164. |
account.email | parameter_value_invalid | email address | Not an email address, or longer than 254 characters. |
account.relationship | parameter_max_length_invalid | at most 40 characters | Longer than 40 bytes. |
date_of_birth | parameter_value_invalid | YYYY-MM-DD, in the past | Not YYYY-MM-DD, or in the future. Correct: also when sent as "". |
nationality | parameter_value_invalid | ISO 3166-1 alpha-2 | Not an upper-case two-letter code. Correct: also when sent as "". |
address | parameter_value_invalid | line1, city and country (alpha-2) are required | line1 or city blank, or country not an upper-case two-letter code. |
id_document.type | parameter_value_invalid | PASSPORT, NATIONAL_ID, DRIVERS_LICENSE or RESIDENCE_PERMIT | id_document sent without a type, or with one that is not one of the four. |
id_document.number | parameter_value_invalid | 3-40 characters | id_document sent without a number, or with one that is not 3–40 characters. |
id_document.issuing_country | parameter_value_invalid | ISO 3166-1 alpha-2 | id_document sent without it, or with a value that is not an upper-case two-letter code. |
id_document.expires_on | parameter_value_invalid | YYYY-MM-DD in the future | Not YYYY-MM-DD, or not after today. |
reference | parameter_max_length_invalid | at most 128 characters | Longer than 128 bytes. |
| A fixed field | parameter_not_patchable | cannot be changed after creation, or a different account is a new beneficiary | Correct: the field cannot change. |
| A locked field | parameter_locked | already submitted to a verification in progress or completed; it cannot change | Correct: a verification holds the field. |
Branch on field and code. message is a hint for humans and may change.
{
"type": "about:blank",
"title": "Invalid request",
"status": 400,
"instance": "/v1/originators/org_01M2FPKH20W4N5X6M3P9R2T1VA/beneficiaries",
"code": "INVALID_ARGUMENT",
"request_id": "req_01M2FPNCM8W4N5X6M3P9R2T1VB",
"errors": [
{
"code": "parameter_value_invalid",
"message": "IFSC format AAAA0XXXXXX",
"field": "account.ifsc"
},
{
"code": "parameter_value_invalid",
"message": "2-140 characters",
"field": "account.holder_name"
}
]
}Payout errors caused by the beneficiary#
POST /v1/payouts checks the beneficiary and can return:
| Code | HTTP | When | What you do |
|---|---|---|---|
BENEFICIARY_NOT_FOUND | 422 | No beneficiary with that id in this mode. Note: 422 here, not 404; a malformed beneficiary_id is a 400 field error instead. | Check the id. |
BENEFICIARY_ORIGINATOR_MISMATCH | 422 | The payout's originator_id is not the beneficiary's originator. | Use the beneficiary's originator_id. |
BENEFICIARY_NOT_PAYABLE | 422 | payouts_enabled is false. sub_code says why, and detail explains it. | See Why a beneficiary is not payable. |
CURRENCY_MISMATCH | 422 | The payout currency is not the beneficiary's currency. | Pay in INR. |
If the beneficiary stops being payable before the payout is checked, just after it is created, the payout moves to FAILED with failure.code BENEFICIARY_NOT_PAYABLE. A payout already past that check continues. If a party was rejected on sanctions screening, the payout fails with COMPLIANCE_REJECTED. See Payouts.
The same check fails a payout to a payable beneficiary whose account type cannot be paid in the mode: failure.code is BENEFICIARY_NOT_PAYABLE, and nothing is held. See Account types that can be paid.
The beneficiary's details are read once more when the payout is sent, because the payout carries them. If the beneficiary then lacks a field a payout needs, or its personal data has been erased, the payout is not sent: it moves to FAILED with failure.code BENEFICIARY_NOT_PAYABLE, the funds it held are released, and failure.reason names the missing fields, e.g. the beneficiary's details are incomplete: date_of_birth, id_document.number, or says that the details are not available when the data was erased. Correct the beneficiary with them, then create a new payout. A beneficiary that holds every field but has an address over 128 characters, or a document that is not a passport or a national ID, fails the payout with PROVIDER_REJECTED instead.
The account's type is read at that moment too. If a bank's answer has shown it to be another type since the payout was checked, and the route chosen for the payout may not pay such an account, the payout is not sent: it moves to FAILED with failure.code BENEFICIARY_NOT_PAYABLE, and the funds it held are released.