Resend Notification
This article explains how to resend the notification for a new transaction through the REST API.
Make a POST request to the endpoint/credit/transactions/{ID_DA_TRANSACAO}/notify
/credit/transactions/{ID_DA_TRANSACAO}/notify
With a valid access token, make a request to the (POST/credit/transactions/{TRANSACTION_ID}/notify
) endpoint, sending the following parameters:
If everything is right in the request, the response is a JSON with the transaction ID and the link, as follows:
If an error occurs, the response is a JSON with the error and the error code:
The following is a list of possible errors returned by the service:
400
40001
error decoding json
The data sent does not match the service contract
400
40002
error validating json
Some of the information is badly formatted or not filled in
400
40004
transaction id is invalid
The transaction id is invalid (format)
400
40009
transaction status is invalid
The transaction status does not allow sending the notification again (already completed)
400
40021
invalid phone
The phone is invalid. The default to be followed is 55 DDD NUMBER. Example: 5543999999999
400
40022
invalid email
The e-mail is invalid
403
40301
not allowed
The user does not have permission to perform such an action.
404
40401
transaction not found
Transaction not found
429
40001
too many requests
Ratelimit reached
500
50001
internal error
Internal service failure
Still need help?
Didn't find something or still need help? If you're already a client or partner, you can reach out through our Help Center.
Last updated