Miscellaneous

APIs not covered in the other documentation.

Status

This API allows you to report server status back to the client. The Marketplace will hit this regularly to ensure that the service is up and responding.

GET /status

Response

{
    "result": "OK"
}
Status Codes:
  • 200 – success.

Any non-200 status returned by the server will be assumed to be a service interruption.

Reset user

This API allows you to reset the user in case the Marketplace detects user switching. This is a dummy implementation, it is left to the payment processor.

GET /users/reset

Response

{
    "result": "OK"
}
Status Codes:
  • 200 – success.

Any non-200 status returned by the server will be assumed to be a reset failure.