Charge
Receive notifications about incoming Pix payments
After you generate a QR Code with our endpoint, kamiPay will keep you updated on the progress of this charge using our webhooks so you don't need to manually check status endpoints from your backend.
Handling Webhook Responses
The following are all the possible notification status you will receive:
Processing
Processing status means transaction approved; we received BRL Transfer from the payor and will soon transfer the USDT over the blockchain. There will be No transaction_id as the money was not transferred to your wallet yet, but you will be able to inform your customer that transaction was completed on their part.
Done
Done status means transaction was sent to your wallet, so you will also receive the transaction ID for that payment.
Failed
Failed means that transaction failed and money will return to your client's bank.
The pix_id
is the same identifier that was returned when you created the QR code charge. You can use this ID to track the payment throughout its lifecycle.
Always validate the webhook signature using the method described in the Introduction before processing any webhook events.