Skip to content

Retrieve payment failed

API v2 is in public beta: endpoints and fields can change before general availability. See the changelog

GET/preorders/templates/payment_failed

Costs 1 rate-limit point · Rate limits

Read the preorder payment-failed notification's email copy (it has no SMS). ?locale= picks the language (omit it for the shop default).

Also searched aspayment failed email

Query parameters

  • localestring

Errors

401

Missing or invalid X-Auth-Token.

422

The request failed validation.

429

Rate limited: cost-weighted per token (read 1, write 2; 360 points / 60s). Check Retry-After.

Every error has the same shape: see Errors.

GET/preorders/templates/payment_failed
curl "https://app.stoqapp.com/api/v2/external/preorders/templates/payment_failed" \
  -H "X-Auth-Token: $STOQ_API_KEY"
Response
No body