Concepts
Providers
What each provider supports: payment flows, currencies, and status mapping.
Connect each provider under Connections in the dashboard, once per environment.
The connection id (con_…) is what you pass to the API.
What each provider supports
| Provider | provider | Payments | Checkouts |
|---|---|---|---|
| Mercado Pago | mercadopago | Yes | Yes |
| Stripe | stripe | Yes | Yes |
| PayPal | paypal | No | Yes, with capture |
| Ualá | uala | No | Yes |
Payments means creating a payment from a token. Providers without it work through checkouts. All four support refunds. The Camel payment page also offers Apple Pay and Google Pay through Stripe.
Currencies
| Provider | Currencies |
|---|---|
| Mercado Pago | ARS, BRL, CLP, COP, MXN, PEN, UYU |
| Stripe | ARS, BRL, EUR, GBP, JPY, MXN, USD, UYU |
| PayPal | AUD, BRL, CAD, EUR, GBP, JPY, MXN, USD |
| Ualá | ARS |
Credentials
| Provider | You'll need |
|---|---|
| Mercado Pago | Access token |
| Stripe | Secret key, and optionally the publishable key |
| PayPal | Client id and client secret |
| Ualá | Username, client id, and client secret id |
Status mapping
Camel maps each provider's status to one normalized status, and keeps the original in provider_status.
status | Mercado Pago | Stripe | PayPal |
|---|---|---|---|
pending | pending | requires_payment_method, requires_confirmation | CREATED, SAVED |
processing | authorized, in_process, in_mediation | processing, requires_capture | PENDING |
requires_action | — | requires_action | APPROVED, PAYER_ACTION_REQUIRED |
approved | approved | succeeded | COMPLETED |
rejected | rejected | — | DECLINED |
cancelled | cancelled | canceled | VOIDED |
failed | charged_back | — | — |
refunded | refunded | — | REFUNDED |
partially_refunded | — | — | PARTIALLY_REFUNDED |
Any provider status not listed here maps to unknown.