Decode a QRCode for payment

📘

Expected payment date in QR Code decoding

During QR Code decoding, the expectedPaymentDate attribute can be provided.

This attribute only takes effect for dynamic charges with an expiration date, as in these cases, the final value of the charge may vary depending on the actual payment date due to the application of:

  • Discounts;
  • Deductions;
  • Interest;
  • Fines.

How is the attribute used?

When the expectedPaymentDate field is provided, the institution issuing the charge must use this date as a reference to calculate the updated value.

The value returned in the API response must reflect the financial rules applicable to the indicated date.

Behavior in the absence of the attribute

If the expectedPaymentDate attribute is not sent, the reference date for calculating the charge value will be automatically defined according to the rules below:

  • Decoding on a date equal to or before the expiration:
    • The reference date will be the charge's expiration date.
  • Decoding on a date after the expiration:
    • The reference date will be the QR Code decoding date.
Body Params
string
required
number
date
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json