Skip to main content

GetPaymentHistoryResponse

successbooleanrequired
Example: true
data object[]required
  • Array [
  • idintegerrequired

    Payment ID

    Example: 456
    amountdecimalrequired

    Payment amount

    Example: 150
    currencystringrequired

    Currency code

    Example: USD
    statusstringrequired

    Payment status

    Example: completed
    paymentMethodstringrequired

    Method used for payment

    Possible values: [crypto, bank_transfer, credit_card, argentine_bank]

    Example: crypto
    transactionHashstringnullable

    Blockchain transaction hash (for crypto payments)

    Example: 0x1234567890abcdef...
    createdAtdate-timerequired

    Payment initiation timestamp

    Example: 2025-01-01T12:00:00.000Z
    completedAtdate-timenullable

    Payment completion timestamp

    Example: 2025-01-01T12:30:00.000Z
  • ]
  • GetPaymentHistoryResponse
    {
    "success": true,
    "data": [
    {
    "id": 456,
    "amount": 150,
    "currency": "USD",
    "status": "completed",
    "paymentMethod": "crypto",
    "transactionHash": "0x1234567890abcdef...",
    "createdAt": "2025-01-01T12:00:00.000Z",
    "completedAt": "2025-01-01T12:30:00.000Z"
    }
    ]
    }