Skip to main content

WebhookEvent

externalReferenceIdstring

External reference ID

Example: 480b3d52-8a7b-42f6-845a-1dd0fb3ed7c3
sourceDetails object

Source details - amount, currency and payment method

amountnumber

Source amount used for buying crypto

Example: 100
currencystring

Source currency used for buying crypto

Example: USD
paymentMethodPaymentMethod (string)

The payment method used by the customer

Possible values: [CARD, BALANCE]

Example: CARD
destinationDetails object
amountnumber

The amount of the purchased cryptocurrency

Example: 100
currencystring

The cryptocurrency purchased

Example: BTC
networkstring

The network used to process the cryptocurrency transaction

Example: Mainnet
walletAddressstring

Crypto wallet address that received the purchased funds

Example: 3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy
walletAddressTagstring

Tag, memo, or any additional identifier of the wallet address

Example: abc123
totalSpendnumber

The total amount spent for the crypto purchase, without fees

Example: 95.43
totalSpendCurrencystring

The currency of amount spent for the crypto purchase

Example: USD
destinationToSourceRatenumber

The rate of the destination currency to the source currency.

Example: 54212.43
transactionHashstring

Id of the transaction on the blockchain.

Example: 0x0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF
fees object[]

Contains details on the fees for the payment - type, amount and currency of the fee

  • Array [
  • typestring

    Fee type:

    • FX - Applies when customer's fiat currency is not EUR
    • NETWORK - Goes to a blockchain network for transferring a digital asset on that network
    • TRANSACTION - Fee charged by Paysafe for the Transaction
    • PARTNER - Fee charged on top of the Transaction and FX fee, shared with the Skrill Referral Partner

    Possible values: [TRANSACTION, PARTNER, FX, NETWORK]

    Example: PARTNER
    amountnumber

    Fee amount

    Example: 9.89
    currencystring

    Fee currency

    Example: USD
  • ]
  • statusPaymentStatus (string)

    Possible values: [PENDING, PAYABLE, CRYPTO_TRANSFER_PENDING, COMPLETED, FAILED]

    substatusPaymentSubStatus (string)

    Possible values: [WITHDRAWAL_FAILURE, RISK_FAILURE, RISK_SUCCESS, DEPOSIT_FAILURE, COUNTRY_NOT_ENABLED, EXPIRED, CANCELLED]

    WebhookEvent
    {
    "externalReferenceId": "480b3d52-8a7b-42f6-845a-1dd0fb3ed7c3",
    "sourceDetails": {
    "amount": 100,
    "currency": "USD",
    "paymentMethod": "CARD"
    },
    "destinationDetails": {
    "amount": 100,
    "currency": "BTC",
    "network": "Mainnet",
    "walletAddress": "3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy",
    "walletAddressTag": "abc123"
    },
    "totalSpend": 95.43,
    "totalSpendCurrency": "USD",
    "destinationToSourceRate": 54212.43,
    "transactionHash": "0x0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF",
    "fees": [
    {
    "type": "PARTNER",
    "amount": 9.89,
    "currency": "USD"
    }
    ],
    "status": "PENDING",
    "substatus": "WITHDRAWAL_FAILURE"
    }