BetSolutions · JSON Structure

Wallet Api Wallet Transaction Response Structure

Response for wallet deposit or withdrawal operations.

Type: object Properties: 4
BettingCasinosGamingGamblingSlotsSports Betting

WalletTransactionResponse is a JSON Structure definition published by BetSolutions, describing 4 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

success transactionId balance currency

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/betsolutions/refs/heads/main/json-structure/wallet-api-wallet-transaction-response-structure.json",
  "name": "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": "double",
      "description": "Updated wallet balance after the transaction.",
      "example": 150.0
    },
    "currency": {
      "type": "string",
      "description": "ISO 4217 three-letter currency code.",
      "example": "USD"
    }
  }
}