GoCardless error envelope: { error: { message, type, code, errors: [{reason,
field, message, links}] } } with type ∈ validation_failed | invalid_api_usage
| invalid_state | gocardless. Declines never arrive here — they surface as
payment failed statuses/events, not API errors.
GoCardless error envelope: { error: { message, type, code, errors: [{reason, field, message, links}] } } with type ∈ validation_failed | invalid_api_usage | invalid_state | gocardless. Declines never arrive here — they surface as payment
failedstatuses/events, not API errors.