If you are receiving payments via Pix through Stark Infra, you can consult these charges and reconcile the amounts directly through the API, simply and securely.
Pix receipts are represented by objects of the type PixRequest, and each charge contains a few key fields for reconciliation:
- An amount (
amount) - A unique end-to-end ID (
EndToEndId) - A unique control ID (
external_id) - A receiving key (
receiver_key)
If it is the payment for a QR Code, there is also a reconciliation field (reconciliation_id) that can be used to identify the source of the charge in your system.
You can consult the receipts directly through the API by performing a GET request on the route /v2/pix-request. From there, simply filter the transactions using the external_id.
For more details on the necessary fields and usage examples, consult the complete documentation at the link below:
Stark Infra API Documentation – PixRequest
Still have questions about the topic covered? Contact our support team!
Comments
0 comments
Article is closed for comments.