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 payment transactionHTTP method: POST
URL: https://esitef-homologacao.softwareexpress.com.br/e-sitef/init/json.se
Headers:
- Content-Type:
application/x-www-form-urlencoded
POST parameters:
- 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}}
to 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.
Below is an example of a request to be made by Carat Portal in the domain registered by the merchant: