AME
This documentation describes the integration with AME through Carat Portal, using the CardSE via SiTef routing.
#
Registration informationThe Carat must be configured to accept payments for the AME authorizer thru CardSE.
#
REST Payment#
Flow- The merchant creates the transaction on Carat Portal passing some additional AME information and receives a NIT as a response.
- The merchant calls the payment effectuation service and receives a QR code and a transaction with
PEN
(pending) status. - The merchant displays the QR code to the customer.
- The customer scans the QR code with the AME app and goes through the payment confirmation procedures requested by the authorizer.
- While the customer finishes the payment, Carat Portal will query the sale situation on the authorizer until the transaction ends.
- The merchant, in turn, must query the transaction status on Carat Portal until it doesn't have the
PEN
status anymore.
Attention:
If the status remains pending (
PEN
) after 3 (three) minutes, Carat Portal will undo the transaction alongside AME.
#
Additional information when creating the transactionFor AME transactions, the authorizer_id
= 446
must be used.
Below are the additional parameters that can be sent on AME transactions:
Parameter | Description | Format | Mandatory | |||
---|---|---|---|---|---|---|
additional_data.items[] | ||||||
ean | EAN product code. Attention: if EAN and SKU are sent simultaneously, only EAN will be considered. | < 255 AN | NO | |||
sku | SKU product code. Attention: if EAN and SKU are sent simultaneously, only EAN will be considered. | < 255 AN | NO | |||
description | Product description. | < 30 AN | NO | |||
quantity | Product quantity. | < 15 N | NO | |||
quantity_type | Quantity type:
| < 2 AN | NO | |||
unit_price | Unit price of the product in cents. | < 12 N | NO |
Example:
#
Starting transaction#
Payment effectuation requestWhen using AME, it won't be necessary to send any card data.
Example:
#
Payment effectuation response with non-standard sizeParameter | Description | Format |
---|---|---|
authorization_number | Authorization number. | < 100 AN |
Attention:
In case of a communication failure in this operation, it will be necessary to create another transaction.
Example:
#
HTML PaymentThere are no flow differences to the merchant.
As in the REST Payment, additional parameters on the transaction creation can be sent, using the same format.
#
REST Cancel#
Cancel requestWhen using AME, it won't be necessary to send any card data.
Example:
#
Cancel response parameters#
Generate payment link on the Merchant's PortalIt's also possible to make AME payments using the payment link functionality of the Merchant's Portal. However, additional AME information cannot yet be sent.