{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/depayapp-com/json-schema/depayapp-com-post-payments-depay-callback-request-schema.json",
  "title": "PostPaymentsDepayCallbackRequest",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/depayapp-com-openapi-generated.yml#/components/schemas/PostPaymentsDepayCallbackRequest",
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "description": "Status of the payment (e.g., 'success')"
    },
    "failed_reason": {
      "type": "string",
      "description": "Reason for failure if applicable"
    },
    "blockchain": {
      "type": "string",
      "description": "Blockchain network used for the transaction"
    },
    "transaction": {
      "type": "string",
      "description": "Transaction hash"
    },
    "sender": {
      "type": "string",
      "description": "Sender's wallet address"
    },
    "nonce": {
      "type": "string",
      "description": "Transaction nonce"
    },
    "receiver": {
      "type": "string",
      "description": "Receiver's wallet address"
    },
    "token": {
      "type": "string",
      "description": "Token address"
    },
    "decimals": {
      "type": "integer",
      "description": "Token decimals"
    },
    "commitment": {
      "type": "string",
      "description": "Confirmation level (e.g., 'confirmed' or 'finalized')"
    },
    "confirmations": {
      "type": "integer",
      "description": "Number of block confirmations"
    },
    "after_block": {
      "type": "string",
      "description": "Block number after which transaction occurred"
    },
    "amount": {
      "type": "string",
      "description": "Payment amount"
    },
    "fee_amount": {
      "type": "string",
      "description": "Fee amount if applicable"
    },
    "fee_receiver": {
      "type": "string",
      "description": "Fee receiver address if applicable"
    },
    "payload": {
      "type": "object",
      "description": "Collected payment data and injected payload data"
    },
    "secret_id": {
      "type": "string",
      "description": "Unique secret identifier for the callback"
    },
    "callback": {
      "type": "string",
      "description": "Callback URL"
    },
    "release": {
      "type": "boolean",
      "description": "Release status"
    },
    "forward_to": {
      "type": "string",
      "description": "URL to forward the request to"
    },
    "forward_on_failure": {
      "type": "boolean",
      "description": "Whether to forward on failure"
    },
    "confirmed_at": {
      "type": "string",
      "description": "ISO 8601 timestamp when payment was confirmed"
    },
    "created_at": {
      "type": "string",
      "description": "ISO 8601 timestamp when callback was created"
    },
    "updated_at": {
      "type": "string",
      "description": "ISO 8601 timestamp when callback was last updated"
    }
  },
  "required": [
    "status",
    "blockchain",
    "transaction",
    "sender",
    "receiver",
    "token",
    "decimals",
    "commitment",
    "confirmations",
    "amount",
    "secret_id",
    "callback"
  ]
}