Quick start
This guide shows the process of executing a pre-authorization, using Carat Portal's REST web service interface.
#
Requirements- 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
#
Creating the Pre-AuthorizationHTTP method: POST
URL: https://esitef-homologacao.softwareexpress.com.br/e-sitef/api/v1/transactions
Headers:
- Content-Type: application/json
- merchant_id: {your merchant id}
- merchant_key: {your merchant key}
Request:
To use this example, remember to set the variable {{url}}
to the value
esitef-homologacao.softwareexpress.com.br
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.
#
Pre-AuthorizationHTTP Method: POST
URL: https://esitef-homologacao.softwareexpress.com.br/e-sitef/api/v1/preauthorizations/<nit>
Headers:
- Content-Type: application/json
- merchant_id: {your merchant id}
- merchant_key: {your merchant key}
Request:
To use this example, remember to set the variable {{url}}
to the value
esitef-homologacao.softwareexpress.com.br
Response:
Learn more about this service.
#
Capturing the pre-authorizationHTTP Method: POST
URL: https://esitef-homologacao.softwareexpress.com.br/e-sitef/api/v1/preauthorizations/capture/<nit>
Headers:
- Content-Type: application/json
- merchant_id: {your merchant id}
- merchant_key: {your merchant key}
Request:
To use this example, remember to set the variable {{url}}
to the value
esitef-homologacao.softwareexpress.com.br
Response:
Learn more about this service.
#
Card QueryHTTP method: POST
URL: https://esitef-homologacao.softwareexpress.com.br/e-sitef/api/v1/preauthorizations/<nit>/cards
Headers:
- Content-Type: application/json
- merchant_id: {your merchant id}
- merchant_key: {your merchant key}
Request:
To use this example, remember to set the variable {{url}}
to the value
esitef-homologacao.softwareexpress.com.br
Response:
Learn more about this service.
#
Transaction QueryHTTP method: GET
URL: https://esitef-homologacao.softwareexpress.com.br/e-sitef/api/v1/transaction/<nit>
Headers:
- Content-Type: application/json
- merchant_id: {your merchant id}
- merchant_key: {your merchant key}
Request:
To use this example, remember to set the variable {{url}}
to the value
esitef-homologacao.softwareexpress.com.br
Response: