Stellar · Schema

DirectPayment

BlockchainCryptocurrencyDecentralized ExchangeLedgerPaymentsSmart ContractsWeb3

Properties

Name Type Description
id string The unique identifier of the payment
amount string The payment amount
asset object
receiver object The receiver object
wallet object
status object
external_payment_id string External payment identifier
created_at string
updated_at string
View JSON Schema on GitHub

JSON Schema

stellar-sdp-directpayment.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://developers.stellar.org/schemas/sdp/DirectPayment.json",
  "title": "DirectPayment",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique identifier of the payment",
      "example": "619da857-8725-4c58-933d-c120a458e0f5"
    },
    "amount": {
      "type": "string",
      "description": "The payment amount",
      "example": "100.00"
    },
    "asset": {
      "$ref": "#/components/schemas/Asset"
    },
    "receiver": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "example": "7a4c68dd-861c-4448-8813-ea3f6dda7b25"
        },
        "email": {
          "type": "string",
          "example": "[email protected]"
        },
        "phone_number": {
          "type": "string",
          "example": "+1234567890"
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "example": "2023-02-03T10:45:51Z"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time",
          "example": "2023-02-03T10:45:51Z"
        }
      },
      "description": "The receiver object"
    },
    "wallet": {
      "$ref": "#/components/schemas/Wallet"
    },
    "status": {
      "$ref": "#/components/schemas/PaymentStatus"
    },
    "external_payment_id": {
      "type": "string",
      "description": "External payment identifier",
      "example": "payment-001"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "example": "2023-02-03T10:45:51Z"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "example": "2023-02-03T10:45:51Z"
    }
  }
}