Nomba · Schema

CardChargeResponse

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-cardchargeresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CardChargeResponse",
  "title": "CardChargeResponse",
  "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": {
        "transactionId": {
          "type": "string",
          "description": "The unique identifier for the transaction."
        },
        "orderReference": {
          "type": "string",
          "description": "The order reference for the transaction."
        },
        "status": {
          "type": "string",
          "description": "The current status of the charge.",
          "enum": [
            "otp_required",
            "3ds_required",
            "successful",
            "failed",
            "pending"
          ]
        },
        "message": {
          "type": "string",
          "description": "Additional information about the charge status or next steps."
        }
      }
    }
  }
}