Skip to main content
Store every resource ID Gnosis Pay returns. But requests can still be interrupted: a timeout, a crash, or a dropped connection can leave you not knowing whether a resource was created. Design a recovery path for each step, so you can find out what exists before you retry.

Find existing resources

Retrying a create request can make a duplicate. Look the resource up first, and only retry if it doesn’t exist. See Errors and idempotency for which requests are safe to retry.

Page through results

List endpoints use cursor pagination. While pagination.has_next is true, request the next page by passing pagination.next_page_cursor as the page_cursor parameter.
TypeScript

Reconcile account activity

The Partner API does not provide one combined statement. Reconcile each resource independently: Store the resource IDs and reconcile against the latest API state after processing webhook events. Card transaction records can change as a payment clears, reverses, is cancelled, or is declined; compare updated_at, status, and the current amounts instead of treating the first response as final. If your product needs a single account timeline, page through the three list endpoints independently, merge the results in your backend, and sort them by created_at. A pagination cursor is valid only for the endpoint and filters that produced it.

Next step

Errors and idempotency

Handle errors, retries, and asynchronous operations safely.