← Back to schema index

CreateBeneficiaryResponse

Response for `POST /v1/beneficiaries`, with the beneficiary under `data`. Returns `201` when it creates a new record, and `200` when it reactivates an archived account with the same `account_number`: There `meta.reactivated` comes back `true`.

Properties

FieldTypeDescription
dataobject

Main response payload. Shape varies by endpoint (object, array, or JSON:API envelope with type, id, attributes).

type*string

JSON:API resource type. Always beneficiary.

id*string

Numeric identifier of the beneficiary in the system.

attributes*object

Canonical beneficiary attributes (recipient account data and record metadata).

account_number*string

Stored account number: 18-digit CLABE, 16-digit card, or 10-digit DiMo phone. Use account_type to disambiguate the exact type.

account_type*string

Auto-detected account type: clabe (18 digits), card (16 digits), or phone (10 digits, DiMo mobile).

bank_code*string

SPEI code (5 digits) of the resolved bank. It is the empty string ("") when the account has no known bank: a card whose BIN is not in the directory. In that case bank_name carries a placeholder text in the language of the request.

bank_name*string

Official name of the bank, resolved from its bank_code. With an empty bank_code it is a placeholder text ("Unrecognized BIN (411111)"), translated into the language of the request.

labelstring | null

User-assigned descriptive label. null when not provided.

status*string

Beneficiary status. inactive if the beneficiary was archived. active if it is in use.

created_at*string (date-time)

Date and time, in ISO 8601 UTC, of creation.

metaobject

Response metadata including API version, route prefix, unique request identifier, and the server timestamp in UTC.

versionstring

API version that processed the request.

api_versionstring

API route prefix version (e.g. v1).

request_idstring

Unique request identifier, 24 hexadecimal characters. Keep it and quote it when you contact support: it locates the request.

datetimeobject

Companion descriptor present in the meta block of every response (and in the meta of outgoing webhook bodies). Lets clients assert the timezone contract without re-reading the spec.

timezone*string

Always UTC: The canonical timezone for every datetime field in the body.

format*string

Always ISO 8601: Explicit Z suffix on every datetime.

field_names_noticeobject

Field-name change notice. It only appears on POST /v1/validate, POST /v1/validate-ocr, GET /v1/validations, GET /v1/validations/{id}, POST /v1/validations/{id}/recheck, GET /v1/summary and GET /v1/finance/summary, the same operations that send the Deprecation and Sunset headers. With legacy_request_fields, the request used Spanish field names; it is also sent on error responses. With legacy_response_fields, the request used English names only and the notice refers to the Spanish fields the response duplicates; it is sent on successful responses only.

code*string

Notice type. legacy_request_fields: the request used Spanish field names. legacy_response_fields: the response includes duplicated Spanish fields that will stop being sent.

message*string

Notice text, in the response language (Accept-Language).

sunset*string (date)

Cut-off date, the same one the Sunset header announces.

documentation_url*string (uri)

Migration guide to the English names, in the response language.

legacy_fieldsarray

Spanish names the request sent. Only with legacy_request_fields.

linksobject

Pagination or related links, present only when the endpoint returns a paginated collection.

Used in operations

  • POST /v1/beneficiaries