- Client Session API
- Payments API
- Payment Methods API
- Loyalty API
POST
$ curl -X POST https://api.sandbox.primer.io/payments \ > -H "X-API-KEY: " \ > -H "Content-Type: application/json" \ > -d '{ > "paymentMethodToken": "heNwnqaeRiqvY1UcslfQc3wxNjEzOTIxNjc4", > "orderId": "order-abc", > "currencyCode": "EUR", > "amount": 42, > "customerId": "customer-123", > "customer": { > "emailAddress": "customer123@gmail.com" > }, > "metadata": { > "productId": 123, > "merchantId": "a13bsd62s" > }, > "paymentMethod": { > "vaultOnSuccess": true, > "paymentType": "SUBSCRIPTION", > "authorizationType": "ESTIMATED" > } > }'