Beneficiaries

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.

EndpointScopeAction
POST /v1/originators/{id}/beneficiariesbeneficiaries:writeCreate under the originator in the path
POST /v1/beneficiariesbeneficiaries:writeCreate with originator_id in the body
GET /v1/beneficiaries/{id}beneficiaries:readRetrieve
PATCH /v1/beneficiaries/{id}beneficiaries:writeCorrect the holder's details
DELETE /v1/beneficiaries/{id}beneficiaries:writeDelete
GET /v1/beneficiaries/{id}/verificationbeneficiaries:readIts verification
POST /v1/beneficiaries/{id}/documentsbeneficiaries:writeUpload a document its verification asks for
GET /v1/beneficiaries/{id}/documentsbeneficiaries:readList 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#

POST/v1/originators/{id}/beneficiariesbeneficiaries:write
POST/v1/beneficiariesbeneficiaries:write

Both routes create the same object from the same body. Both require an Idempotency-Key header.

Which route to use#

POST /v1/originators/{id}/beneficiariesPOST /v1/beneficiaries
Originator comes fromThe path idoriginator_id in the body
originator_id in the bodyOptional. If sent, it must equal the path idRequired
Good fitYou work from an originator's recordYou 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#

idstringRequired

Path 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_idstring

The originator's id (org_…). Required on POST /v1/beneficiaries. Optional on the nested route, where it must match the path id.

accountobjectRequired

The account to pay into: a bank account, or a UPI ID. One request names one of the two.

account.typestringRequired

IN_BANK for a bank account, or IN_UPI for a UPI ID. Exact and case-sensitive.

account.account_numberstring

Required 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.ifscstring

Required 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.vpastring

Required 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_namestringRequired

The 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_typestring

The 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.panstring

Optional. The holder's PAN, e.g. ABCDE1234F. Trimmed and upper-cased. Never returned.

account.mobilestring

Optional. The holder's mobile number in E.164 format, e.g. +919876543210. Never returned.

account.emailstring

Optional. The holder's email address, up to 254 characters. Never returned.

account.relationshipstring

The account holder's relationship to the originator, e.g. SPOUSE. At most 40 bytes. Stored as sent.

date_of_birthstring

The account holder's date of birth, YYYY-MM-DD, not in the future. There is no minimum age: the holder can be a minor.

nationalitystring

The account holder's nationality: ISO 3166-1 alpha-2 country code, upper case, e.g. IN.

addressobject

The 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_documentobject

The account holder's identity document. When you send it, type, number and issuing_country are required.

id_document.typestring

One 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.numberstring

Document 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_countrystring

ISO 3166-1 alpha-2 code of the country that issued the document, upper case.

id_document.expires_onstring

Optional. Expiry date, YYYY-MM-DD. Must be after today (UTC): a document that expires today is rejected.

countrystring

Defaults to IN, the only accepted value.

currencystring

Defaults to INR, the only accepted value.

referencestring

Your 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.

Shell
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"
  }'

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_type and pan. 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 reference so that an accidental second create fails with REFERENCE_EXISTS.

Retries and Idempotency-Key

  • Retrying with the same key and body returns the original 201 response with Idempotent-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 returns IDEMPOTENCY_KEY_REUSED.
  • A 5xx response 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:

FieldNote
account.account_number, account.ifsc, account.holder_nameAlways held: create requires them. For a UPI ID, account.vpa takes the place of the first two
account.bank_account_typeDeclared as NRE, NRO or SAVINGS. Superpay never guesses a type for a bank
date_of_birth, nationalityThe account holder's
addressThe 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.numberThe 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:

201 Created (excerpt)
{
  "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#

GET/v1/beneficiaries/{id}beneficiaries:read
idstringRequired

Path parameter. The beneficiary's id, e.g. ben_01M2FPNHGG6C8D0F2H4K6M8P0R.

Shell
curl https://api.withsuperpay.com/v1/beneficiaries/ben_01M2FPNHGG6C8D0F2H4K6M8P0R \
  -H "Authorization: Bearer $SUPERPAY_TOKEN"
  • 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 VERIFIED and has no name_match: its account was verified without the bank-held name being reported. See Name matching.

Correct a beneficiary#

PATCH/v1/beneficiaries/{id}beneficiaries:write

Corrects 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.

RuleDetail
Fields you can sendaccount.holder_name, account.relationship, account.bank_account_type, account.pan, account.email, account.mobile, date_of_birth, nationality, address, id_document
MergingA 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
ChecksThe 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
Fixedoriginator_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
nullRefused anywhere in the body with 400 REQUEST_BODY_INVALID. Leave a field out instead
LockedWhile 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
WhenRefused for a SUSPENDED or DELETED beneficiary with 422 BENEFICIARY_NOT_CORRECTABLE
Shell
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"
    }
  }'

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_name that the main verification takes again starts the verification again: verification_status goes back to PENDING and status to PENDING.
  • A correction of the holder's identity leaves a verified beneficiary ACTIVE and payable: nothing is verified again, and the next payout carries the corrected identity.
  • A new bank_account_type is resolved again, unless the account type is already VERIFIED.
  • A correction is stored even when no verification can use it yet. Read verification in the response.
  • Like a create, a correction's 4xx is stored against its key and replayed. Send a fixed correction with a new key.

Delete a beneficiary#

DELETE/v1/beneficiaries/{id}beneficiaries:write
idstringRequired

Path parameter. The beneficiary's id.

Shell
curl -X DELETE https://api.withsuperpay.com/v1/beneficiaries/ben_01M2FPNHGG6C8D0F2H4K6M8P0R \
  -H "Authorization: Bearer $SUPERPAY_TOKEN"

No request body and no Idempotency-Key. A beneficiary in any status can be deleted.

EffectDetail
StatusBecomes DELETED. Final; it cannot be undone. verification.status becomes DELETED too
RetrievalStill 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 callsDeleting an already deleted beneficiary returns 204 again
Eventsbeneficiary.deleted and beneficiary.verification_updated
New payoutsPOST /v1/payouts returns 422 BENEFICIARY_NOT_PAYABLE
Existing payoutsNot 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 uploadsRefused: 422 BENEFICIARY_NOT_CORRECTABLE and 422 DOCUMENT_OWNER_NOT_ACCEPTING
referenceStays in use. A replacement beneficiary needs a different reference

The beneficiary object#

FieldTypeDescription
objectstringAlways beneficiary.
idstringben_ followed by a 26-character, time-sortable id.
originator_idstringThe originator the beneficiary belongs to. Never changes.
statusstringRegistration status. See status.
countrystringIN.
currencystringINR. Payouts to this beneficiary must be in this currency.
account.typestringIN_BANK, or IN_UPI for a UPI ID.
account.account_number_last4stringLast four digits of the account number. The full number is never returned. A bank account only.
account.ifscstringBranch IFSC, upper-case. A bank account only.
account.vpa_handlestringThe 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_namestringThe holder name you sent, trimmed.
account.bank_account_typestringThe type you declared: NRE, NRO, SAVINGS or CURRENT. Omitted if you declared none.
account.relationshipstringAs you sent it. Omitted if you sent none.
date_of_birthstringThe account holder's, YYYY-MM-DD. Omitted if you sent none.
nationalitystringThe account holder's, ISO 3166-1 alpha-2. Omitted if you sent none.
addressobjectThe account holder's: line1, city and country always; line2, state and postal_code when set. Omitted if you sent none.
id_document.typestringThe account holder's document type. id_document is omitted if you sent none.
id_document.number_last4stringLast four characters of the document number. A number of four characters or fewer is returned whole.
id_document.issuing_countrystringISO 3166-1 alpha-2.
id_document.expires_onstringYYYY-MM-DD. Omitted if not set.
account_typeobjectWhat Superpay believes the account is. See Account types.
verification_statusstringWhether the account has been verified. See verification_status.
name_matchstringMATCH, PARTIAL or MISMATCH. Present only when the bank-held name was reported and compared: a VERIFIED beneficiary can have none. See Name matching.
payouts_enabledbooleantrue when the beneficiary is verified, so that a payout to it can be created. See payouts_enabled.
referencestringYour reference. Omitted if you sent none.
status_reason_codestringWhy 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_messagestringWhat the code means, safe to show a person. Present with status_reason_code.
verificationobjectWhere the beneficiary stands in verification, and what you can fix. See Verification.
livemodebooleantrue for live-mode credentials, false for test mode.
created_atstringRFC 3339 timestamp in UTC, whole seconds.
updated_atstringRFC 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:

FieldValuesMeaning
account_type.resolvedNRE, NRO, SAVINGS, CURRENT, UNKNOWNThe account type Superpay works with
account_type.confidenceUNKNOWN, INFERRED, DECLARED, VERIFIEDDECLARED came from you, INFERRED from the bank's account-number rules, VERIFIED from a bank's own answer
account_type.sourcestringInformational. 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, NRO or SAVINGS. Until you declare one, account.bank_account_type is listed in verification.requirements_due and the beneficiary cannot be paid, whatever account_type.resolved shows. Correct the beneficiary with the type the account holder gives you.
  • A declared NRO or SAVINGS account, with the holder's pan, mobile and email, can also qualify for a domestic payout route, in a mode where that route can pay such an account. Its progress shows as the domestic capability in verification.
  • What you declare stays in account.bank_account_type. account_type.resolved can differ from it once a bank has answered: a verified type is never overwritten by a declaration.
  • A declared CURRENT account is not verified: the beneficiary stays PENDING with account.bank_account_type in verification.requirements_due, as if no type had been declared. If the account is in fact NRE, NRO or SAVINGS, correct the type and it is verified. Don't declare CURRENT.

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, NRO or SAVINGS account can be paid.
  • Before you go live, ask Superpay which account types your live payouts can reach. The API does not list them.
  • payouts_enabled and verification.payable do not show it: both can be true for 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 accountUPI ID
account.typeIN_BANKIN_UPI
You sendaccount_number, ifscvpa
The response showsaccount_number_last4, ifscvpa_handle
account.bank_account_typeNeeded before a payoutNeeded before a payout: nothing else says what account is behind a UPI ID
account_typeCan be inferred from the account numberNever inferred: it is what the holder declares
Verified before it can be paidYes, in the backgroundNo
name_matchWhen the bank reports a nameNever
Becomes payableWhen its account is verifiedAs soon as nothing is due, which can be in the answer to the create
Most per payoutSet 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 PENDING with the missing fields in verification.requirements_due, and becomes ACTIVE when a correction supplies the last one.
  • VERIFIED is not a verification. A UPI beneficiary is ACTIVE and VERIFIED, with payouts_enabled: true, once Superpay holds everything a payout needs. beneficiary.verified is sent then, and can arrive with beneficiary.created.
  • Account types. Only a UPI ID whose holder declared an NRO or SAVINGS account can be paid today. One declared NRE is accepted and shown payable, and its payout fails with BENEFICIARY_NOT_PAYABLE, as described under Account types that can be paid.
  • The UPI ID cannot be corrected. account.vpa is 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 corridor IN-INR-UPI and, once paid, rail UPI: 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.
PENDINGVERIFYINGACTIVE

A 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#

StatusMeaningWhat you do
PENDINGCreated, 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.
VERIFYINGSuperpay's banking partner is verifying the account.Wait.
ACTIVEThe account is accepted. Payable once verification_status is VERIFIED.Check payouts_enabled.
REJECTEDThe account was refused. status_reason_code says why.See Verification.
SUSPENDEDThe 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.
DELETEDYou deleted it, or Superpay erased its personal data. Final.Create a new beneficiary if you need the account again.

verification_status#

ValueMeaningWhat you do
PENDINGThe account is not verified yet. Every beneficiary starts here.Supply what is due, or wait.
VERIFIEDThe 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.
MISMATCHThe bank-held name does not match holder_name.See Name matching.
UNVERIFIEDSet 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.

statusverification_statuspayouts_enabledWhat you do
PENDING or VERIFYINGanyfalseSupply what verification.requirements_due lists. Otherwise wait.
ACTIVEPENDINGfalseWait. The name check is still running.
ACTIVEVERIFIEDtrueCreate payouts, once verification.payable is true too.
ACTIVEMISMATCHfalseSee Name matching.
REJECTEDUNVERIFIEDfalseSee Verification.
SUSPENDEDanyfalseDo not pay.
DELETEDanyfalseNothing.

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_enabled is true, or
  • the beneficiary needs action: verification.status is REQUIREMENTS_DUE, status is REJECTED, SUSPENDED or DELETED, or verification_status is MISMATCH.

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 seeWhat you do
requirements_due lists fields, e.g. date_of_birth or account.panCorrect 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: trueCorrect what its reason_code names
KYC_REJECTED_BANK_ACCOUNT_INVALIDCheck 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_EXPIREDThe 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_SANCTIONSContact Superpay. Do not create the beneficiary again
Any other rejection that is not correctableCreate 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_matchWhenverification_status
MATCHThe 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
PARTIALNot 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
MISMATCHAnything else.MISMATCH

PARTIAL is payable. Only MISMATCH blocks payouts.

You sent holder_nameBank holdsname_match
Anita RaghunathanANITA RAGHUNATHANMATCH
anita raghunathan.ANITA RAGHUNATHANMATCH
Anita R RaghunathanANITA RAGHUNATHANPARTIAL
Raghunathan AnitaANITA RAGHUNATHANPARTIAL
Anita RaghunathanSOMEONE ELSEMISMATCH

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:

CodeHTTPEndpointWhenWhat you do
INVALID_ARGUMENT400Create, correctOne or more fields are invalid. errors[] lists them.Fix the fields; retry with a new Idempotency-Key.
REQUEST_BODY_INVALID400Create, correctEmpty 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_EXISTS409Createreference 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_FOUND422CreateNo originator with that id in this mode.Check the id and your token's mode; retry with a new key.
ORIGINATOR_NOT_ACTIVE422CreateThe originator is REJECTED or DELETED.See Rejected originators.
INSTRUMENT_NOT_AVAILABLE422CreateNo 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_FOUND404Retrieve, correct, delete, verificationUnknown or malformed id, or an id from the other mode.Check the id and your token's mode.
BENEFICIARY_NOT_CORRECTABLE422CorrectThe beneficiary is SUSPENDED or DELETED. sub_code carries its reason code, when it has one.Contact Superpay, or create a new beneficiary.
UNKNOWN_ENDPOINT404Any otherThe 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_id that differs from the path is reported on its own.
  • If account.type is neither IN_BANK nor IN_UPI, country, currency, account_number, ifsc, vpa and bank_account_type are not checked until you fix it.
  • A correction is checked in stages: a null or a field that cannot change is reported first, on its own; then an emptied date_of_birth or nationality; then the rules of create; and only then locked fields.
fieldcodemessageWhen
originator_idparameter_value_invalidinvalid originator idMissing or malformed originator id, in the body or the path.
originator_idparameter_value_invaliddoes not match the originator in the pathNested route: body and path ids differ.
account.typeparameter_value_invalidsupported: IN_BANK, IN_UPIMissing, or not exactly IN_BANK or IN_UPI.
account.typeparameter_value_invalidIN_BANK requires country IN and currency INR, or the same for IN_UPIcountry is not IN or currency is not INR.
account.account_numberparameter_value_invalid9-18 digitsIN_BANK: not 9–18 digits.
account.ifscparameter_value_invalidIFSC format AAAA0XXXXXXIN_BANK: not a valid IFSC.
account.account_number, account.ifscparameter_value_invalidnot accepted with IN_UPISent with IN_UPI.
account.vpaparameter_value_invalida UPI ID, e.g. name@bankIN_UPI: missing, or not a UPI ID.
account.vpaparameter_value_invalidnot accepted with IN_BANKSent with IN_BANK.
account.bank_account_typeparameter_value_invalidoptional; NRE, NRO, SAVINGS or CURRENTSent, but not one of the accepted values.
account.holder_nameparameter_value_invalid2-140 charactersShorter than 2 or longer than 140 bytes.
account.panparameter_value_invalidPAN format AAAAA9999ANot five letters, four digits and a letter.
account.mobileparameter_value_invalidE.164, e.g. +919876543210Not E.164.
account.emailparameter_value_invalidemail addressNot an email address, or longer than 254 characters.
account.relationshipparameter_max_length_invalidat most 40 charactersLonger than 40 bytes.
date_of_birthparameter_value_invalidYYYY-MM-DD, in the pastNot YYYY-MM-DD, or in the future. Correct: also when sent as "".
nationalityparameter_value_invalidISO 3166-1 alpha-2Not an upper-case two-letter code. Correct: also when sent as "".
addressparameter_value_invalidline1, city and country (alpha-2) are requiredline1 or city blank, or country not an upper-case two-letter code.
id_document.typeparameter_value_invalidPASSPORT, NATIONAL_ID, DRIVERS_LICENSE or RESIDENCE_PERMITid_document sent without a type, or with one that is not one of the four.
id_document.numberparameter_value_invalid3-40 charactersid_document sent without a number, or with one that is not 3–40 characters.
id_document.issuing_countryparameter_value_invalidISO 3166-1 alpha-2id_document sent without it, or with a value that is not an upper-case two-letter code.
id_document.expires_onparameter_value_invalidYYYY-MM-DD in the futureNot YYYY-MM-DD, or not after today.
referenceparameter_max_length_invalidat most 128 charactersLonger than 128 bytes.
A fixed fieldparameter_not_patchablecannot be changed after creation, or a different account is a new beneficiaryCorrect: the field cannot change.
A locked fieldparameter_lockedalready submitted to a verification in progress or completed; it cannot changeCorrect: a verification holds the field.

Branch on field and code. message is a hint for humans and may change.

400 Bad Request
{
  "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:

CodeHTTPWhenWhat you do
BENEFICIARY_NOT_FOUND422No 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_MISMATCH422The payout's originator_id is not the beneficiary's originator.Use the beneficiary's originator_id.
BENEFICIARY_NOT_PAYABLE422payouts_enabled is false. sub_code says why, and detail explains it.See Why a beneficiary is not payable.
CURRENCY_MISMATCH422The 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.