Sign in

Credit transaction

documented

Credit a transaction.

POST /v1/transactions/{transaction_token}/credit.{format}Transactionsno 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://core.spreedly.com/v1/transactions/{{$transaction_token}}/credit.{{$format}}" \
  -u "{{SPREEDLY_API_KEY}}:{{SPREEDLY_SECRET}}" \
  -H "Content-Type: application/{{$format}}" \
  -H "Accept: application/{{$format}}" \
  -d '{"transaction": {"amount": {{$credit_amount}}, "currency_code": "{{$currency_code}}"}}'
Credit transaction · Spreedly · OpenIntegrations