Access API v2
Introducing Access API v2 a cleaner surface, better errors, and webhook improvements.
We are releasing Access API v2. This is a breaking change release that cleans up inconsistencies in the v1 surface, improves error responses, and makes webhooks more reliable.
Breaking Changes
Unified error shape
v1 returned errors in different shapes depending on the endpoint. Some returned { error: string }, others returned { message: string, code: string }. v2 standardises this across every endpoint.
{
"error": "Transaction not found"
}Every error now includes a machine readable code, a human-readable message, and the HTTP status. The full list of error codes is documented in the errors reference.
Verification endpoint
The /verify endpoint is renamed to /transactions/verify and the request body is updated.
POST /v1/verify
{
"psp": "Telebirr",
"tx_ref": "Telebirr-abc123"
}The response shape is unchanged.
Webhook event names
Event names are now namespaced with a dot separator instead of an underscore.
| v1 event | v2 event |
|---|---|
payment_completed | payment.completed |
payment_failed | payment.failed |
subscription_renewed | subscription.renewed |
subscription_cancelled | subscription.cancelled |
Update your webhook handler to match the new event names.
New Features
Webhook delivery logs
You can now inspect every webhook delivery attempt from the dashboard the payload sent, the response received, and whether the delivery succeeded. Failed deliveries show the error and the retry schedule.
Idempotency keys
POST requests now accept an Idempotency-Key header. If you send the same key twice, the second request returns the cached response from the first without re-executing the operation.
POST /v2/transactions/verify
Idempotency-Key: your-unique-key-hereThis is particularly useful for retry logic in background jobs.
Migration
v1 endpoints remain available until August 1, 2025. We recommend migrating before then.
The changes required are:
- Update the base URL from
/v1/to/v2/ - Rename
/verifyto/transactions/verify - Update webhook event name handlers to use dot notation
- Update error handling to read
codeinstead oferrorormessage