← Back to schema index

Beneficiary

Registered beneficiary account as a JSON:API resource. Can be a CLABE, a card number, or a DiMo phone number. The account type is auto-detected by length at insertion time.

ExtendsJsonApiResourceBase

Properties

FieldTypeDescription
type*stringJSON:API resource type. Always `beneficiary`.
id*stringAuto-increment numeric identifier of the beneficiary in the `user_beneficiaries` table.
attributes*objectCanonical beneficiary attributes (recipient account data and record metadata).
account_number*stringStored account number: 18-digit CLABE, 16-digit card, or 10-digit DiMo phone. Use `account_type` to disambiguate the exact type.
account_type*stringAuto-detected account type: `clabe` (18 digits), `card` (16 digits), or `phone` (10 digits, DiMo mobile).
bank_code*string5-digit Banxico code of the receiving bank, derived from the CLABE prefix, card BIN, or DiMo catalog.
bank_name*stringBank name resolved from the CLABE prefix, card BIN, or DiMo catalog.
labelstring | nullUser-assigned descriptive label. `null` if not provided.
status*stringBeneficiary status. `inactive` is set when the beneficiary is archived (excluded from default listings). `active` — in use; `inactive` — retired without being deleted.
created_at*string (date-time)UTC creation timestamp.

Used in operations

  • GET /v1/beneficiaries
  • POST /v1/beneficiaries
  • PUT /v1/beneficiaries/{id}

Referenced by schemas