6DOT50 APIs
  • Redemptions API
    • Overview
    • Process Flow
    • Requests
    • Response Models
    • Payment Codes
    • Authentication
      • POST /authentication/getToken
  • Accounts
    • GET /accounts
    • GET /accounts/{id}/transactions
  • Initiate Payment
    • POST /payments
  • User Payment Pages
    • Authentication
    • Payment Confirmation
    • Payment Status
  • Payment Status
    • GET /payments/{id}
  • List Payments
    • GET /payments
  • Support
  • PAY API
    • Overview
    • API Keys
    • Endpoints
    • Process Flow
    • Requests
    • Response Models
    • Authentication
      • POST /authentication/getToken
    • Accounts
      • GET /accounts
    • Batches
      • POST /batches
      • GET /batches
      • GET /batches/{id}
      • PUT /batches/{id}
      • GET /batches/statusCodes
      • POST /batches/{id}/payments
      • GET /batches/{id}/payments
      • POST /batches/{id}/submit
      • POST /batches/{id}/cancel
    • Members
      • GET /members/{msisdn}/exists
    • Payments
      • GET /payments/{id}
      • DELETE /payments/{id}
      • GET /payments/statusCodes
  • Support
Powered by GitBook
On this page
  • 200 Successful
  • 400 Bad Request
  • 404 Not Found
  • 401 Unauthorised
  • 500 Server Error
  1. PAY API

Response Models

PreviousRequestsNextAuthentication

Last updated 2 years ago

Each operation may return one of the following HTTP responses, depending on the operation and action performed.

200 Successful

Successful response models vary per operation and are detailed in the sections that follow.

400 Bad Request

A bad request response will be returned for any operations that fail validation, e.g. uniqueness, malformed type, etc.

An error message is returned in the body of the response.

404 Not Found

A not found response will be returned when referencing an entity that does not exist, e.g. fetching a Batch with an id that does not exist.

401 Unauthorised

A 401 HTTP status code will be returned should an invalid Bearer token be supplied as part of a request’s Header, or if the Bearer token supplied has expired.

500 Server Error

A server errors when an unhandled exception is thrown by the Redemptions API. The exception will be returned within the response body.

Please contact 6DOT50 with the error.

Support