Direct integration with Checkout API
If you have integrated Checkout API with Gateway processing mode, these are the actions you must take to migrate to Aggregator.
- In the Payments request, stop sending the
“processing_mode” = “gateway”
field. - Do not send the
“merchant_account_id”
field in the request to Payments. - Do not send the
“payment_method_option_id”
field in the request to Payments. - Continue sending the
“payment_method_id”
and“issuer_id”
fields in the request to Payments. - Do not filter by
“processing_mode”
in the call to payment_methods/installments, this way you will be able to get the Aggregator payment methods. - Turn off the gateway payment methods.
- Confirm with your commercial advisor that you have correctly configured the aggregator payment methods to be able to operate.
Here you can find an example of how to create a Payment for the Aggregator model:
json
'{
"transaction_amount": 100,
"token": "ff8080814c11e237014c1ff593b57b4d",
"description": "Blue shirt",
"installments": 1,
"payment_method_id": "visa",
"issuer_id": 310,
"payer": {
"email": "test@test.com"
}
}'