Create Decoded Pix Account ID
POST/v1/pix/payments/decode/by-account
Generate a new Decoded Pix Account ID to enable pix payments by bank account. Enter the bank account's information in the request body below and execute to obtain its ID (decoded_pix_account_id), which is required for creating pix payments using a bank account.
Request
Header Parameters
The transaction ID is a UUID (v4) used to uniquely identify the object that will be created. All objects must have an identifier.
The nonce ID is a UUID (v4) used to uniquely identify the request. All requests must have an identifier.
Possible values: [pt-BR, en-US]
Indicates the preferred language. Defaults to Brazilian Portuguese if unspecified.
UUID (v4) of the product that the request should use. Send it explicitly when the authenticated user has more than one product or when the integration must select a specific product. If omitted and the endpoint does not require it, the API uses the authenticated user's default product.
UUID (v4) of the user on whose behalf the request should run within the selected product. If omitted, the request runs as the authenticated user. Requires x-product-uuid.
- application/json
Body
required
- NATURAL_PERSON.
- LEGAL_PERSON.
- CACC: Checking account.
- SLRY: Salary.
- SVGS: Savings.
Possible values: [NATURAL_PERSON, LEGAL_PERSON]
Person type:
Person's document (CPF or CNPJ).
Bank ISPB code (8 digits)
Account branch (4 digits).
Account number (between 2 and 20 digits).
Possible values: [CACC, CASH, CHAR, CISH, COMM, CPAC, LLSV, LOAN, MGLD, MOMA, NREX, ODFT, ONDP, OTHR, SACC, SLRY, SVGS, TAXE, TRAN, TRAS, CC, PG, CD, CG, CI, PP]
Account type:
Responses
- 201
- 400
- 401
- 422
Decoded account returned successfully.
- application/json
- Schema
- Example (from schema)
Schema
Pix decoded account ID.
Person full name or company tax name.
Company trade name.
Bank ISPB.
Bank name.
{
"id": "f6e2e084-29b9-4935-a059-5473b13033aa",
"name": "Zro Pagamentos S.A.",
"trade_name": "Zro Global",
"ispb": "string",
"bank_name": "string"
}
If any required params are missing or has invalid format or type.
User authentication failed.
If any required params are missing or has invalid format or type.