PagBank
The store has the possibility to configure the routing of credit card transactions in Carat through various payment methods, one of which is PagBank.
Thus, the store can configure Carat so that transactions made with VISA or MASTERCARD cards, for example, are routed through PagBank.
Supported Carat Interfaces for Integration#
The following interfaces can be used for integration with PagBank routing:
REST
- Payment Interface
- Pre-Authorization Interface
- Capture Interface
- Cancellation Interface
Note: This integration also supports sending 3DS authentication data (
eci
,xid
ecavv
). Learn more.
Allowed Authorizers#
The following authorizers are supported by PagBank routing:
CREDIT
- VISA (1)
- MASTERCARD (2)
- AMERICAN EXPRESS (3)
- ELO (41)
DEBIT
- VISA ELECTRON (221)
- MASTERCARD DEBIT (286)
Accreditation#
Activation to use PagBank in a Carat store must be done via the Carat Portal.
There is an option to activate by clicking the button.
After that, you will be redirected to accept permissions in PagBank.
At the end, you will be informed of the successful activation and the status in the Carat Portal will appear as active.
REST#
The following parameters are mandatory for Payment and Pre-Authorization:
Parameter | Description | Format | Required |
---|---|---|---|
additional_data.payer | Element for sending buyer-related data. | ||
name | Customer's first name. | < 100 AN | YES |
surname | Customer's surname. | < 100 AN | YES |
email | Customer's email address. | < 100 AN | YES |
identification_number | Customer's tax document number. | < 100 AN | YES |
Payment#
You can send the following fields in payment:
Payment Example#
Request:
Response:
Recurring Payment Example#
Request:
Response:
Anti-fraud Payment Example#
Request:
Response:
3DS Payment Example#
Request:
Response:
Pre-Authorization#
It is possible to send the following fields in Pre-authorization:
Example#
Request:
Response:
Capture#
It is possible to send the following fields in capture.
Note: the capture can be full or partial.
Example#
Request:
Response:
Cancel#
It is possible to send the following fields in cancel:
Note: the cancellation can be full or partial. Additionally, the cancellation has a synchronization time of about 3 to 5 minutes and may fail if the transaction time is too short.
Example#
Request:
Response: