OI Payments Docs
API ReferenceCheckout

Get By Reference_1

GET
/api/v1/checkout/{reference}

Path Parameters

reference*string

Response Body

*/*

curl -X GET "https://example.com/api/v1/checkout/string"
{
  "data": {
    "reference": "string",
    "status": "string",
    "amountMinor": 0,
    "amountDisplay": "string",
    "currency": "string",
    "appName": "string",
    "gateway": "string",
    "gatewayRedirectUrl": "string",
    "paidAt": "2019-08-24T14:15:22Z"
  },
  "meta": {
    "success": true,
    "message": "string",
    "errorCode": "RESOURCE_NOT_FOUND",
    "timestamp": "2019-08-24T14:15:22Z"
  },
  "pagination": {
    "page": 0,
    "size": 0,
    "totalElements": 0,
    "totalPages": 0
  }
}