Sign in

Create payment draft

documented

Create a payment draft for later processing.

POST /payment-draftsPayment draftsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.revolut.com/v1/payment-drafts" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "X-Idempotency-Key: {{$idempotency_key}}" \
  -d '{"title":"{{$title}}", "schedule_for":"{{$schedule_for}}", "payments":[{"account_id":"{{$from_account_id}}", "receiver":{"counterparty_id":"{{$counterparty_id}}", "account_id":"{{$to_account_id}}", "card_id":"{{$card_id}}"}, "amount":{{$amount}}, "currency":"{{$currency}}", "reference":"{{$reference}}"}]}'" ,