Create Decoded Pix Account ID
POST/pix/payment/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 requisition. All requisitions must have an identifier.
- 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 1 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.
{
"id": "f6e2e084-29b9-4935-a059-5473b13033aa",
"name": "Zro Pagamentos S.A.",
"trade_name": "Z.ro Bank"
}
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.