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

Was this helpful?

  1. Whitelabel API (Fiat Onramp / Offramp via Bank Wire)

Webhooks & Websockets

Exchange buy

{
"id": 58463,
"type": "BUY",

"amount": 0.0623414132, //amount in cryptocurrency

"pair": "btceur",

"price": 2341.67, //price in FIAT

"date": "2018-11-27T13:46:22.658",

"state": "SUCCESS",  //states: SUCCESS, PENDING and ERROR

"fee": 2.00,  //value in FIAT

"subtotal": 98.00,  //value in FIAT

"total": 100.00  //value in FIAT

}

Exchange sell

{

"id": 58463,

"type": "SELL",

"amount": 0.0623414132, //amount in cryptocurrency

"pair": "btceur",

"price": 2341.67, //price in FIAT

"date": "2018-11-27T13:46:22.658",

"state": "SUCCESS",  //states: SUCCESS, PENDING and ERROR

"fee": 2.00, //value in FIAT

"subtotal": 99.00, //value in FIAT

"total": 100.00 //value in FIAT

}

Kyc Statuses

{

  "user_id": 34693,

  "status": {

    "createDate": "2018-07-18 11:08:30+0000",

    "reviewDate": "2018-07-18 11:27:53+0000",

    "startDate": "2018-07-18 11:26:58+0000",

    "reviewResult": {

      "moderationComment": "",

      "clientComment": "Please take and upload a photo of yourself holding your proof of identity.",

      "reviewAnswer": "RED",

      "rejectLabels": ["UNSATISFACTORY_PHOTOS"],

      "reviewRejectType": "RETRY"

    },

    "reviewStatus": "completed",

    "notificationFailureCnt": 0,

    "applicantId": "5b4f1f930a975a1dd7213c1b"

  },

  // Array with detailed information on each checked document.

  // The information appears only after the document has been checked.

  "documentStatus": [

    {

      "idDocType": "PASSPORT",

      "reviewResult": {

        "moderationComment": "",

        "clientComment": "",

        "reviewAnswer": "GREEN"

      }

    },

    {

      "idDocType": "SELFIE",

      "reviewResult": {

        "moderationComment": "Please take and upload a photo of yourself holding your proof of identity.\n\n",

        "clientComment": "",

        "reviewAnswer": "RED",

        "rejectLabels": ["UNSATISFACTORY_PHOTOS"]

      }

    }

  ]

}

Bank accounts statuses

{

  "user_id": 7436292,

  "id": "7436292",

  "state": "VERIFIED"

}

Withdrawal statuses

{

"user_id": 84624,

"id": 58463,

"type": "FIAT_WITHDRAWAL",

"amount": 100.00, //amount in FIAT

"date": "2018-11-27T13:46:22.658",

"state": "SUCCESSFUL",  //states: SUCCESS, PENDING and ERROR

"deposited": 100.00,  //value in FIAT

"bank_fee": 1.00,  //value in FIAT

"received": 99.00  //value in FIAT

}

Deposit statuses

{

"user_id": 84624,

"id": 58463,

"type": "FIAT_DEPOSIT",

"amount": 99.00, //amount in FIAT

"date": "2018-11-27T13:46:22.658",

"state": "SUCCESS",  //states: SUCCESS, PENDING and ERROR

"deposited": 100.00,  //value in FIAT

"bank_fee": 1.00,  //value in FIAT

"received": 99.00

}

Master balance notifications

{

  "error": "Balance low, BTC balance below 1.00",

}
PreviousLimits minimumNextSupported cryptocurrencies 🌍

Last updated 2 years ago

Was this helpful?