BetSolutions · Schema

WalletTransactionResponse

Response for wallet deposit or withdrawal operations.

BettingCasinosGamingGamblingSlotsSports Betting

Properties

Name Type Description
success boolean Whether the transaction succeeded.
transactionId string The transaction identifier.
balance number Updated wallet balance after the transaction.
currency string ISO 4217 three-letter currency code.
View JSON Schema on GitHub

JSON Schema

wallet-api-wallet-transaction-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/betsolutions/refs/heads/main/json-schema/wallet-api-wallet-transaction-response-schema.json",
  "title": "WalletTransactionResponse",
  "description": "Response for wallet deposit or withdrawal operations.",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "description": "Whether the transaction succeeded.",
      "example": true
    },
    "transactionId": {
      "type": "string",
      "description": "The transaction identifier.",
      "example": "txn-abc123"
    },
    "balance": {
      "type": "number",
      "format": "double",
      "description": "Updated wallet balance after the transaction.",
      "example": 150.0
    },
    "currency": {
      "type": "string",
      "description": "ISO 4217 three-letter currency code.",
      "example": "USD"
    }
  }
}