Skip to main content

API errors

CodeMeaningFix
400Bad request / validationCheck field formats (org numbers, country codes)
401Invalid tokenRefresh OAuth token
403Missing scopeAdd scope to OAuth client
404Not foundCheck IDs, or no access
409ConflictDuplicate (e.g. issuer transaction state ID)
422Business rulee.g. delete signed signatory

Webhook delivery

  • OpenCard retries failed deliveries
  • Check delivery log: GET .../webhooks/{id}/events
  • Your endpoint must return 200 fast
  • Process heavy work async (queue it)

Common gotchas

IssueCauseFix
Webhook active=falseChallenge failedImplement HMAC challenge handler
No transactionsTPA not activatedWait for issuer card confirmation
No transactionsPDPC not signedCardholder must sign consent
Duplicate txsSame transaction received twiceUpsert by transaction id
Wrong VAT on txNetwork VAT, not merchantSubscribe to transaction.true.vat