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 transaction#
HTTP method: POST
URL: https://sandbox.ecomm-bin.fiserv.com.br/e-sitef/init/json.se
Headers:
- Content-Type: 
application/x-www-form-urlencoded 
POST parameters:
- Key: 
request; - Value: JSON object;
 - [response_type]: 
jsonorxml; 
Basic JSON request example:
To use this example, don't forget to define the variable {{url}} to the value
 sandbox.ecomm-bin.fiserv.com.br
Response:
Learn more about this service.
Redirecting the user#
The store must then redirect the user to the URL returned by Carat Portal in the transaction creation step.
Receiving a status notification#
As 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: