Skip to main content

Receive webhook notifications

POST 

/webhook/path/at/partner/system

The following schema describes the parameters sent to your partnerWebhookUrl page.

Request

Body

    partnerTransactionId string

    Unique reference or identification number provided by you in create session request.

    skrillTransactionId string

    Skrill’s internal unique reference ID for this transaction.

    baseAmount number

    The total price of the crypto purchase, including fees.

    totalSpend number

    The total price of the crypto purchase, without fees.

    baseCurrency string

    Currency of the payment.

    receivedCryptoAmount number

    The amount of received crypto.

    cryptoCurrency string

    The currency of bought crypto.

    cryptoWalletAddress string

    Customer’s wallet provided by you in create session request.

    cryptoToBaseRate number

    The rate at which the crypto is bought.

    cryptoNetwork string

    The network used for the purchase.

    transactionHash string

    Id of the transaction on the blockchain.

    paymentMethodType string

    The payment method used for the purchase.

    paymentStatus PaymentStatus (string)

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

    The status of the payment:

    • PENDING - User initiated the transaction.
    • PAYABLE - Internal checks have been completed. User is allowed to continue with payment.
    • CRYPTO_TRANSFER_PENDING - Initiated Crypto transaction process.
    • COMPLETED - Payment process has been completed successfully.
    • FAILED - Payment process has failed.
    paymentSubStatus PaymentSubStatus (string)

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

    Sub status of the payment:

    • WITHDRAWAL_FAILURE - Failed to send the crypto to the user.
    • RISK_SUCCESS - Risk checks have been completed successfully.
    • RISK_FAILURE - Risk checks have failed.
    • DEPOSIT_FAILURE - Deposit transaction has failed.
    • COUNTRY_NOT_ENABLED - User country is not enabled for Crypto OnRamp
    • EXPIRED - User session has expired. No transaction has been initiated.

    fees

    object[]

  • Array [

  • feeType string

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

    Fee type:

    • FX - Applies when user 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.
    • SHARED - Charged on top of the Transaction and FX fee, shared with the Skrill Referral Partner
    amount number

    Fee amount

    currency string

    Fee currency

  • ]

Responses

OK

Loading...