API Reference
The public merchant API is centered on the MultiHub endpoint:method field selects the operation.
Public Surfaces
| Surface | Endpoint | Audience | Authentication |
|---|---|---|---|
| MultiHub API | POST /public/api/multihub/v1 | Merchant backend integrations | X-Data-Application-Id + X-Data-Hash |
| Outgoing webhooks | Merchant callback URL | Merchant webhook receivers | Signed with X-Data-Hash and webhook metadata headers |
| Merchant webhook resend | /api/v1/payments/{paymentId}/webhook/resend | Re-queue callback for a terminal payment | X-Data-Application-Id + X-Data-Hash |
| Payment pages | /payment-pages/:token/details, /payment-pages/:token/events | Hosted payment page frontend | Signed sig + exp query parameters |
MultiHub Methods
| Method | Description | service_id |
|---|---|---|
payment.in | Create a deposit | Required |
payment.out | Create a withdrawal | Required |
payment.status | Get payment status by c_id or h_id | Optional |
payment.notification | Re-send webhook notification by c_id or h_id | Optional |
balance.get | Get merchant balances | Optional |
gateway.ping | Verify credentials and connectivity | Not used |
Authentication
MultiHub requests require both headers:| Header | Type | Description |
|---|---|---|
X-Data-Application-Id | integer | Application ID issued during onboarding |
X-Data-Hash | string | Lowercase SHA-512 hex hash of rawRequestBody + secretKey |
X-Data-Hash response header. When present, it is computed as:
Response Envelope
Successful responses return HTTP 200:1002) which return HTTP 404:
success as the primary outcome flag. HTTP status only separates transport-level success from API errors.
Identifiers
| Identifier | Direction | Description |
|---|---|---|
c_id | Request and response | Merchant-supplied unique reference. Required when creating a payment. |
h_id | Response | Hub-assigned payment identifier. Can be used for payment.status and payment.notification. |
p_id | Response | Provider transaction identifier. It is returned when known, but is not accepted as a lookup key. |
utr | Response | Provider/bank tracking reference when available. |
