Ping endpoint
GET/ping
Used to check uptime
Responses
- 200
- 503
Ping response
- application/json
- Schema
- Example (from schema)
Schema
object
{}
Service unavailable
- application/json
- Schema
- Example (from schema)
Schema
Array [
BAD_REQUEST
- Malformed request, please advice the description and details fields for more informationFORBIDDEN
- Insufficient scope to access the resourceINTERNAL_SERVER_ERROR
- Unexpected server errorMETHOD_NOT_ALLOWED
- Method not allowedUNSUPPORTED_MEDIA_TYPE
- Unsupported media typeSERVICE_UNAVAILABLE
- Service is unavailable]
errors
object[]
required
Errors
source stringrequired
Possible values: non-empty
and <= 100 characters
The application name that generated this error.
reasonCode stringrequired
Possible values: non-empty
and <= 100 characters
A unique constant identifying the error case encountered during request processing.
description stringrequired
Possible values: >= 10 characters
and <= 1000 characters
Short description of the reasonCode field.
recoverable booleanrequired
Indicates whether this error will always be returned for this request, or retrying could change the outcome.
details string
Possible values: <= 5000 characters
Where appropriate, indicates detailed information about data received and calculated during request processing, to help the user with diagnosing errors.
{
"errors": [
{
"source": "Doconomy",
"reasonCode": "BAD_REQUEST",
"description": "cardTransactions[0].mcc must match \\\"[0-9]{1,4}\\\"",
"recoverable": false,
"details": "string"
}
]
}
Loading...