Skip to content
Gowd Platform Production

Create PIX key

POST
/order/v1/banking/accounts/{accountId}/keys

Create a PIX key for the given account.

accountId
required
string format: uuid

Identifier of the account

idempotency-key
required
string format: uuid

A unique identifier for the message with a maximum of 64 characters (we recommend a UUID).

object
type
required

Type of PIX key to be created

string
Allowed values: RANDOM
key
required

PIX key value (required unless type is RANDOM)

string

The resource was returned successfully

object
id
required

Identifier of the PIX key

string
type
required

Type of the PIX key

string
Allowed values: CPF CNPJ EMAIL PHONE RANDOM
key
required

PIX key value

string
createdAt
required

Creation date of the PIX key

string
possedAt
required

Date when the key was associated to the account

string
object
error
string
message
string
details
Array<object>
object
field
string
issue
string
description
string

Unauthorized Request

object
error
string
message
string
details
Array<object>
object
field
string
issue
string
description
string
object
error
string
message
string
details
Array<object>
object
field
string
issue
string
description
string