Purchase on transaction
documentedPurchase using a saved transaction.
POST /v1/transactions/{transaction_token}/purchase.{format}Transactionsno implementation yet0 runsNo 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://core.spreedly.com/v1/transactions/{{$transaction_token}}/purchase.{{$format}}" \
-X POST \
-u "{{env_key}}:{{env_secret}}" \
-H "Content-Type: application/json" \
-d '{"transaction": {"amount": {{$amount}}, "currency_code": "USD"}}'