Services
The client exposes one service per resource group. Each returns typed objects.A payment, end to end
next_action as described in Next actions. When it asks
for an OTP:
Responses
Responses are read-only objects with typed nested resources. Properties are also reachable as array keys, and unknown fields returned by a newer API version are preserved rather than dropped — so an SDK release never hides data from you.Pagination
List calls return a collection you can iterate page by page, or walk end to end.Idempotency
Writes send an idempotency key automatically, so a retry inside the SDK never duplicates a payment. Supply your own when the retry might come from outside the process — a queued job that runs twice, a webhook you reprocess:timeout and extra headers.
Errors
Every failure throws. Catch the specific exception where you can act on it, and the baseApiException otherwise.