Create a transaction and vaulted a payment method at the same time.
store
true
curl -i -X POST "https://api.example.gr4vy.app/transactions" \ -H "Authorization: Bearer [JWT_TOKEN]" \ -H "Content-Type: application/json" \ -d '{ "amount": 1299, "currency": "AUD", "store": true "payment_method": { "method": "card", "number": "4111111111111111", "expiration_date": "11/25", "security_code": "123" } }'
Was this page helpful?