Nomba · Schema

OrderDetailsResponse

PaymentsFintechBankingTransfersVirtual AccountsCheckoutCross-Border PaymentsCards

Properties

Name Type Description
code string Response status code.
description string Human-readable description of the response.
data object
View JSON Schema on GitHub

JSON Schema

nomba-orderdetailsresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/OrderDetailsResponse",
  "title": "OrderDetailsResponse",
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "description": "Response status code.",
      "example": "00"
    },
    "description": {
      "type": "string",
      "description": "Human-readable description of the response.",
      "example": "Success"
    },
    "data": {
      "type": "object",
      "properties": {
        "orderReference": {
          "type": "string",
          "description": "The unique order reference."
        },
        "amount": {
          "type": "number",
          "format": "double",
          "description": "The order amount."
        },
        "currency": {
          "type": "string",
          "description": "The currency of the order."
        },
        "status": {
          "type": "string",
          "description": "The current status of the order.",
          "enum": [
            "pending",
            "successful",
            "failed",
            "cancelled"
          ]
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time the order was created."
        }
      }
    }
  }
}