Direct Checkout API integration with Gateway Mix
To complete the migration to Aggregator, follow these steps:
- Review the business logic implemented in your integration, with which you currently decide to process a payment by Gateway or Aggregator.
- Do not filter by
“processing_mode”
in the call to payment_methods/installments. - Please do not submit the
“merchant_account_id”
,“payment_method_option_id”
and“processing_mode” = “gateway”
fields in any case. - Turn off the gateway payment methods.
- Review the payment method configuration with your commercial advisor.
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"
}
}'