Quick start
This guide shows the process of performing a payment, using Carat Portal's HTML interface.
#
What you'll need- Active account on Carat Portal's homologation environment (obtained with our support team)
- A tool capable of performing HTTP calls, such as Postman, REST Client or cURL
- An application capable of receiving POST HTTPS calls
#
Creating a recharge transactionHTTP method: POST
URL: https://esitef-homologacao.softwareexpress.com.br/e-sitef/init/json.se
Headers:
Content-Type:
application/x-www-form-urlencoded
Key:
request
;Value: JSON object;
[response_type]:
json
orxml
;
Basic JSON request example:
To use this example, don't forget to define the variable {{url}}
with the value
esitef-homologacao.softwareexpress.com.br
Response:
Learn more about this service.
#
Redirecting the userThe store must then redirect the user to the URL returned by Carat Portal in the transaction creation step.
#
Receiving a status notificationAs soon as the transaction status changes, Carat Portal will notify the store with a POST in its registered status URL.