Skip to main content

Create Open Finance Payment Consent by QR Code Dynamic

POST 

/v1/open-finance/payment-consent/by-qr-codes/dynamic

Create a new Open Finance payment consent by qr code dynamic.

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

    UUID (v4) of the product that the request should use. Send it explicitly when the authenticated user has more than one product or when the integration must select a specific product. If omitted and the endpoint does not require it, the API uses the authenticated user's default product.

    x-product-target-user-uuid string

    UUID (v4) of the user on whose behalf the request should run within the selected product. If omitted, the request runs as the authenticated user. Requires x-product-uuid.

Body

required
    amount numberrequired

    Open Finance payment consent amount.

    participant_id stringrequired

    Open Finance participant id.

    decoded_qr_code_id stringrequired

    Decoded qr code id.

    payment_date YYYY-MM-DD

    Payment date.

    client_redirect_url stringrequired

    Client redirect URL for Open Finance flow.

Responses

The payment consent created successfully.

Schema
    id stringrequired

    Payment consent id.

    status stringrequired

    Possible values: [PENDING, WAITING, WAITING_AUTHORIZATION, AUTHORIZED, CONSUMED, 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...