Authorize on transaction
documentedAuthorize a saved transaction by its token.
POST /v1/transactions/{transaction_token}/authorize.{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/authorize.json" \
-u "{{SPREEDLY_API_KEY}}:{{SPREEDLY_SECRET}}" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"transaction": {"payment_method_token": "{{$payment_method_token}}", "amount": {{$amount}}, "currency_code": "{{$currency_code}}", "workflow_key": "{{$workflow_key}}", "transaction_metadata": {"risk": "{{$risk}}", "type": "{{$type}}"}} }'