Reliable integrations
Operations & idempotency
Recover transport failures and reconcile asynchronous financial operations.
One key for one intended write
Protected POST, PUT, PATCH and DELETE requests require an Idempotency-Key. Use 12 to 128 characters from letters, digits, underscore, period, colon and hyphen. Generate the key once, persist it with the business request and reuse it after transport failures.
The scope includes the company, user, role and API key. The fingerprint includes the HTTP method, path and exact request-body bytes. A repeated key with different content conflicts. Switching API keys creates a different idempotency scope.
Separate acceptance from settlement
Save the operationId or funding request id immediately. Collections expose status, phase, error_code, external_reference and any known provider_reference.
| Status | Meaning | Integration action |
|---|---|---|
| queued | Persisted and waiting for processing. | Wait for processing or an event. |
| processing | A worker is executing the operation. | Do not create a replacement write. |
| pending | Provider result is not yet final. | Continue following the original operation. |
| settled | Provider outcome is confirmed and recorded. | Update the related business workflow. |
| reconciling | The provider outcome is uncertain or requires review. | Escalate the original operation and references. |
| failed | A definitive failure has been recorded. | Resolve the reported cause before a new intended operation. |
Recover an uncertain result
A timeout after a provider write can mean that the provider accepted the request even when no response reached DigitalCard. The operation remains in reconciliation and its funds remain reserved until the outcome is known.
Platform operations reads the known original provider transfer or matches a verified funding receipt. It does not blindly repeat an uncertain financial write. Retain the operation identifier, external reference and request identifier in your support report.
If your own API connection timed out, first retry the same API request with its original idempotency key and exact body. A duplicate in-progress request may conflict until the original response is available.
Events and current state
Webhook delivery can be repeated or arrive out of order. Deduplicate the event identifier, persist its accepted payload and process it durably. Read the current resource when your business decision depends on its latest state.
The event data links the operation, card or beneficiary to its program. The event identifier is different from the operation identifier. Keep both for traceability.
Signed webhooks ↗
Verify signatures, deduplicate events and process deliveries safely.