Error
A standard [JSON API error](https://jsonapi.org/format/#errors)
Fields
idstring uuid requireda unique identifier for this particular occurrence of the problem.
linksobject nullablePresent on an authentication or authorisation failure, and null otherwise.
aboutstring uriA link that leads to further details about this particular occurrence of the problem. When derefenced, this URI SHOULD return a human-readable description of the error.
typestring uriA link that identifies the type of error that this particular error is an instance of. This URI SHOULD be dereferencable to a human-readable explanation of the general error.
codestring requiredAn application-specific error code, expressed as a string value. Key on this rather than on
titleordetail, which are written for a person. A rejection at the transport level uses the status name, one ofBadRequest,Unauthorized,Forbidden,NotFound,NotAllowed,Conflict,UnsupportedMediaType,BadGatewayorInternalServerError. An operation refusing a request on its own rules returns a code of its own.titlestring requiredA short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization.
detailstring requiredA human-readable explanation specific to this occurrence of the problem. Like title, this field’s value can be localized.
sourceobject nullableWhere in the request the problem was found. All three keys are present whenever
sourceis, with the ones that do not apply set to null.sourceitself is null where the failure is not about a part of the request.pointerstring json-pointer nullablea JSON PointerJSON Pointer A path into a JSON document, written as
/data/attributes/title. An error response uses one to say exactly which value caused the problem.RFC 6901 RFC6901 to the value in the request document that caused the error [e.g. "/data" for a primary data object, or "/data/attributes/title" for a specific attribute]. This MUST point to a value in the request document that exists; if it doesn’t, the client SHOULD simply ignore the pointer.parameterstring nullableA string indicating which URI query parameter caused the error.
headerstring nullableA string indicating the name of a single request header which caused the error.
metaobject nullableA meta object containing non-standard meta-information about the error. Null where the request carried no
X-Correlation-ID, and on an authentication failure, which does not echo it.correlationIdstringThe
X-Correlation-IDsent with the request, echoed back so it can be quoted to support. Absent when the request carried no correlation header.
Used by
- Generate Authentication Token
/token - Get Payment Methods
/paymentmethods - Bank Account Verification
/bankaccount/verify - Get Regions
/regions - Request Payment
/payments - List Payments
/payments - Get Payment Status by Id
/payments/{id} - Cancel Payment Request
/payments/{id}/cancel - List Transactions for Payment
/payments/{id}/transactions - Request Transaction for Payment
/payments/{id}/transactions - List Refunds
/refunds - Request Refunds
/refunds - Get Refund
/refunds/{id} - Cancel Refund
/refunds/{id}/cancel - Get Refund Notifications
/refunds/{id}/notifications - Resend Refund Notifications
/refunds/{id}/notifications/resend - List Settlements
/settlements - Get Settlement
/settlements/{id} - List Settlement Line Items
/settlements/{id}/lineitems - Request Transaction
/transactions - List Transactions
/transactions - Get Transaction Status by Id
/transactions/{id} - Request Refund
/transactions/{id}/refunds - Get Refunds
/transactions/{id}/refunds - Get Transaction Notifications
/transactions/{id}/notifications - Resend Transaction Notifications
/transactions/{id}/notifications/resend - Create Subscription
/subscriptions - List Subscriptions
/subscriptions - Get Subscription by Id
/subscriptions/{subscriptionId} - Create Subscription Transaction
/subscriptions/{subscriptionId}/transactions - List Subscription Transactions
/subscriptions/{subscriptionId}/transactions - Cancel Subscription
/subscriptions/{subscriptionId}/cancel - List Webhook Subscriptions
/webhooks - Create Webhook Subscription
/webhooks - Get Webhook Subscription
/webhooks/{id} - Update Webhook Subscription
/webhooks/{id} - Delete Webhook Subscription
/webhooks/{id} - Replay Failed Messages
/webhooks/{id}/replay - Get Webhook Secret
/webhooks/{id}/secret