KriptoRamp / KriptoAPI
  • Getting started
    • Introduction
    • Use cases 📖
      • Fiat<>Crypto Onramp
      • Fiat<>Crypto Onramp (ledger)
      • Fiat<>Crypto Onramp (Payments in Crypto)
      • NFT Checkout
      • Onramp & Offramp with Bank Wire
    • Kripto Ramp Widget and Kripto White Label get started 🏁
    • Get API keys 🔑
  • Widget (Fiat Onramp)
    • Initialise Widget
    • Load Widget
    • Widget Configuration
    • Webhooks
      • Webhook Use Cases
  • Whitelabel API (Fiat Onramp / Offramp via Bank Wire)
    • API Reference
      • Authentication
        • Login
        • Logout
      • Endpoints
        • Users
          • Create User
          • Show user
          • Update User
          • User Balance
          • Master Balance
        • Compliance
        • Payments & bank wire
          • Add Bank
          • List Bank Details
          • View Bank Details
          • Remove a Bank
          • Deposit Instructions
          • User limits
          • Withdraw
        • Crypto Exchange & Wallet
          • Pairs
          • Exchange Rate
          • Buy Order
          • Sell Order
          • Currencies
          • Transaction List
          • User Transaction List
          • Show Transaction
          • Limits minimum
    • Webhooks & Websockets
  • Supported cryptocurrencies 🌍
    • KriptoRamp
    • Kripto White Label
  • Links
    • Kriptomat.io
Powered by GitBook
On this page
  • Commerce
  • Loyalty
  • Affiliate / Referral

Was this helpful?

  1. Widget (Fiat Onramp)
  2. Webhooks

Webhook Use Cases

Commerce

Set the send to_address as your wallet address.

Set asset_type to your preferred currency.

Set the amount to your price - can do this dynamically if want to set by $$ and your Eth or Enj or Btc price fluctuates.

Set the webhook_url to your postback url.

Set additonal_fields[0] as your user unique id.

Set additional_fields[1] as the product or basket id.

When a transaction completes you receive a postback to your webhook, to let you know the user paid, and you can give them whatever you are selling.

Loyalty

Set the webhook_url to your postback url.

Set additonal_fields[0] as your user unique id.

Set additional_fields[1] as the product or basket id. When a transaction completes you receive a postback to your webhook, to let you know the user paid, and you can give them a reward of your choosing if they spend above your threshold.

Affiliate / Referral

Set the webhook_url to your postback url.

Set additonal_fields[0] as your affiliate/referrer unique id.

Set additional_fields[1] as the purchase/action id. If selling a product

  • Set the send to_address as your wallet address.

  • Set asset_type to your preferred currency.

  • Set the amount to your price - can do this dynamically if want to set by $$ and your Eth or Enj or Btc price fluctuates.

When a transaction completes you receive a postback to your webhook, to let you know that a transaction completed.

If selling a product your purchaseId tells you who made the purchase and of what items so you can give them their products, and

The affiliate id tells you who should get credit for the sale/action.

PreviousWebhooksNextAPI Reference

Last updated 2 years ago

Was this helpful?

More details on how to configure widget check.

this page