Create PIX key
POST /order/v1/banking/accounts/{accountId}/keys
POST
/order/v1/banking/accounts/{accountId}/keys
Create a PIX key for the given account.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” accountId
required
string format: uuid
Identifier of the account
Header Parameters
Section titled “Header Parameters ” idempotency-key
required
string format: uuid
A unique identifier for the message with a maximum of 64 characters (we recommend a UUID).
Request Body required
Section titled “Request Body required ”object
type
required
Type of PIX key to be created
string
Example
RANDOM key
required
PIX key value (required unless type is RANDOM)
string
Example
122345678900Responses
Section titled “ Responses ”The resource was returned successfully
object
id
required
Identifier of the PIX key
string
Example
a8f2b9c4-1e6a-4c3f-9d7b-2a1e8f9c5d10 type
required
Type of the PIX key
string
Example
CPF key
required
PIX key value
string
Example
122345678900 createdAt
required
Creation date of the PIX key
string
Example
2025-12-18T10:15:30Z possedAt
required
Date when the key was associated to the account
string
Example
2025-12-18T10:15:30Zobject
error
string
Example
INVALID_REQUEST message
string
details
Array<object>
object
field
string
issue
string
description
string
Example
[ { "field": "field_name", "issue": "INVALID", "description": "Field is invalid" }]Unauthorized Request
object
error
string
Example
UNAUTHORIZED message
string
Example
Unauthorized Request details
Array<object>
object
field
string
issue
string
description
string
Example
[]object
error
string
Example
INTERNAL_ERROR message
string
details
Array<object>
object
field
string
issue
string
description
string
Example
[]