createPixKey
POST/api/pix/keys
Create a new EVP Pix key
Request
- application/json
Body
required
account_number stringrequired
account_branch stringrequired
Responses
- 201
- 400
- 401
- 500
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
id id (string)
Key id
type type (string)
Key's type
key key (string)
Key
emv emv (string)
EMV related to the key
{
"id": "649604ff-dd72-4c2c-8909-9d49dbbd1bde",
"type": "EVP",
"key": "32c32de0-50f7-4f4f-96d9-81d716e69864",
"emv": "00020101021126330014br.gov.bcb.pix0111082853887515204000053039865406100.005802BR5912API DE TESTE6009SAO PAULO620605022163045927"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
message message (string)
{
"message": "Não foi possível criar chave"
}
Unauthenticated
- application/json
- Schema
- Example (from schema)
Schema
message message (integer)
Response 401
{
"message": "Invalid x-api-key"
}
Error
Loading...