amount, currency, and a payment_method with an id.
This ID can represent a card or any other payment method that supports
vaulting.
intent.
StatusesSee our guide on transaction statuses for more
details.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Create a transaction with a previously vaulted card or alternative payment method.
amount, currency, and a payment_method with an id.
This ID can represent a card or any other payment method that supports
vaulting.
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",
"payment_method": {
"method": "id",
"id": "421a4e92-f0c4-4fdc-8233-921bce75133e"
}
}'
var fetch = require("node-fetch");
fetch("https://api.example.gr4vy.app/transactions", {
method: "POST",
headers: {
Authorization: "Bearer [JWT_TOKEN]",
"Content-Type": "application/json",
},
body: JSON.stringify({
amount: 1299,
currency: "AUD",
payment_method: {
method: "id",
id: "421a4e92-f0c4-4fdc-8233-921bce75133e",
},
}),
});
intent.
Was this page helpful?