Skip to main content

Create Decoded QR Code

GET 

/pix/payments/decode

Generate a new Decoded QR Code ID to facilitate pix payments by QR code. Provide the QR Code's information in the request body and execute to obtain its ID (decoded_qr_code_id), which is required for creating pix payments using a QR Code.

Request

Query Parameters

    emv stringrequired

    QR Emv code.

    paymentDate date-time

    Payment estimated date.

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 requisition. All requisitions must have an identifier.

    x-lang string

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

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

Responses

QR code decoded successfully.

Schema
    id stringrequired

    Unique decoded UUID.

    key stringrequired

    Payment link's key.

    txid stringrequired

    Payment txid identifier.

    document_value numberrequired

    Document value.

    recipient_name stringrequired

    Recipient name.

    recipient_person_type stringrequired

    Possible values: [NATURAL_PERSON, LEGAL_PERSON]

    Recipient person type.

    recipient_document stringrequired

    Recipient document.

    payment_value number

    Payment value.

    expiration_date date-time

    Expiration date.

    payer_person_type string

    Possible values: [NATURAL_PERSON, LEGAL_PERSON]

    Payer person type value.

    payer_document string

    Payer document.

    payer_name string

    Payer name.

    due_date date-time

    Due date.

    interest_value number

    Interest value.

    fine_value number

    Fine value.

    deduction_value number

    Deduction value.

    discount_value number

    Discount value.

    state stringrequired

    Possible values: [ERROR, PENDING, READY, CANCELED]

    QR code state.

    created_at date-timerequired

    Created at.

    change_value number

    Change value.

    additional_infos string[]

    Additional infos object.

    additional_info string

    Additional info.

    type stringrequired

    Possible values: [QR_CODE_STATIC_INSTANT_PAYMENT, QR_CODE_STATIC_WITHDRAWAL, QR_CODE_DYNAMIC_DUE_DATE, QR_CODE_DYNAMIC_WITHDRAWAL, QR_CODE_DYNAMIC_CHANGE, QR_CODE_DYNAMIC_INSTANT_PAYMENT]

    QR code type.

    payment_type stringrequired

    Possible values: [ACCOUNT, KEY, QR_CODE, QR_CODE_STATIC_INSTANT, QR_CODE_STATIC_WITHDRAWAL, QR_CODE_DYNAMIC_DUE_DATE, QR_CODE_DYNAMIC_WITHDRAWAL, QR_CODE_DYNAMIC_CHANGE, QR_CODE_DYNAMIC_INSTANT]

    Payment Type.

    allow_update boolean

    Is value updating allowed?

    withdraw_value number

    Withdrawal value.

Loading...