Skip to main content

Create Open Finance Payment Consent by Pix Key

POST 

/open-finance/payment-consent/by-keys

Create a new Open Finance payment consent by pix key.

Request

Header Parameters

    x-transaction-uuid stringrequired

    The transaction ID is a UUID (v4) used to uniquely identify the object that will be created. All objects must have an identifier.

    nonce stringrequired

    The nonce ID is a UUID (v4) used to uniquely identify the request. All requests must have an identifier.

    x-lang string

    Possible values: [pt-BR, en-US]

    Indicates the preferred language. Defaults to Brazilian Portuguese if unspecified.

    x-product-uuid string

    The product ID is a UUID (v4) used to identify the Z.ro product configuration.

    x-product-target-user-uuid string

    The product target user ID is a UUID (v4) used to identify what user account this request must be executed. Require: x-product-uuid.

Body

required
    amount numberrequired

    Open Finance payment consent amount.

    participant_id stringrequired

    Open Finance participant id.

    decoded_pix_key_id stringrequired

    Decoded pix key id.

Responses

The payment consent created successfully.

Schema
    id stringrequired

    Payment consent id.

    status stringrequired

    Possible values: [PENDING, WAITING, AUTHORIZED, REJECTED, REVOKED, EXPIRED, ERROR, FAILED]

    Payment consent status.

    expiration_date_time date-time

    Payment consent expiration date time.

    created_at date-timerequired

    Payment consent created at.

    updated_at date-timerequired

    Payment consent updated at.

Loading...