Sign in

Verify gateway

documented

Verify a gateway by performing a test transaction against it.

POST /v1/gateways/{gateway_token}/verify.{format}Gatewaysno 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/gateways/{{$gateway_token}}/verify.{{$format}}" \
  -u "{{SPREEDLY_ENV_KEY}}:{{SPREEDLY_ENV_SECRET}}" \
  -X POST \
  -H "Content-Type: application/{{$format}}" \
  -H "Accept: application/{{$format}}" \
  -d '{"transaction": {"payment_method_token": "{{$payment_method_token}}", "retain_on_success": true}}'