Blockchain.com · Schema

Blockchain.Com Pay Webhook Event

CryptocurrencyBitcoinBlockchainExchangeTradingMarket DataPaymentsOn-RampWalletsBlock ExplorerFintechWebhookData

Properties

Name Type Description
eventId string Unique identifier of the event
orderId string Unique identifier of the order
externalReference string An optional external order reference set by the partner. It is limited to 100 characters.
subPartnerId string An optional 3rd party reference set by the partner. It is limited to 50 characters.
orderType object Type of the order. BUY for on-ramp, SELL for off-ramp
createdAt string Timestamp when the order was created
orderState object Current state of the order
orderStateUpdatedAt string Timestamp of the last order state change
paymentMethod object Payment method used for the order
inputCurrency string Currency code used for funding the order
inputAmount number Amount of the input currency used for the order
outputCurrency string Currency code of the output currency
outputAmount number Amount of the output currency
amountUsd number Amount of the transaction denominated in USD. Will be an approximate value in case of `inputCurrency` different than USD.
processingFee number Blockchain.com Pay processing fee denominated in `inputCurrency`
processingFeeUsd number Blockchain.com Pay processing fee denominated in USD. Will be an approximate value in case of `inputCurrency` different than USD.
partnerFee number Partner fee denominated in `inputCurrency`
partnerFeeUsd number Partner fee denominated in USD. Will be an approximate value in case of `inputCurrency` different than USD.
networkFee number Transaction network fee denominated in `inputCurrency`
networkFeeUsd number Transaction network fee denominated in USD. Will be an approximate value in case of `inputCurrency` different than USD.
network string Blockchain network code used for the cryptocurrency transaction (e.g., BTC, ETH, BASE, MATIC, etc.)
userId string Unique identifier of the user
userCountry string Country code of the user address (2 letter ISO 3166-1 alpha-2 code). Example: US, GB, FR, DE, etc.
userState string State code of the user address (2 letter code prefixed with 2 letter country code and a hyphen). Will only be present for users in the US. Example: US-FL
targetWalletAddress string Target wallet address of the crypto transaction
transactionHash string Transaction hash of the crypto transaction. Will only be present for orders in COMPLETED state
View JSON Schema on GitHub

JSON Schema

blockchain.com-pay-webhook-event.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-06/schema#",
  "$ref": "#/definitions/webhook-event-payload",
  "definitions": {
    "webhook-event-payload": {
      "type": "object",
      "title": "webhook-event-payload",
      "additionalProperties": false,
      "properties": {
        "eventId": {
          "type": "string",
          "format": "string",
          "description": "Unique identifier of the event"
        },
        "orderId": {
          "type": "string",
          "format": "string",
          "description": "Unique identifier of the order"
        },
        "externalReference": {
          "type": "string",
          "description": "An optional external order reference set by the partner. It is limited to 100 characters."
        },
        "subPartnerId": {
          "type": "string",
          "description": "An optional 3rd party reference set by the partner. It is limited to 50 characters."
        },
        "orderType": {
          "enum": [
            "BUY",
            "SELL"
          ],
          "description": "Type of the order. BUY for on-ramp, SELL for off-ramp"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "Timestamp when the order was created"
        },
        "orderState": {
          "enum": [
            "PENDING",
            "WITHDRAWING",
            "COMPLETED",
            "FAILED"
          ],
          "description": "Current state of the order"
        },
        "orderStateUpdatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "Timestamp of the last order state change"
        },
        "paymentMethod": {
          "enum": [
            "CARD",
            "APPLE_PAY",
            "GOOGLE_PAY",
            "BANK_TRANSFER_NIP"
          ],
          "description": "Payment method used for the order"
        },
        "inputCurrency": {
          "type": "string",
          "description": "Currency code used for funding the order"
        },
        "inputAmount": {
          "type": "number",
          "description": "Amount of the input currency used for the order"
        },
        "outputCurrency": {
          "type": "string",
          "description": "Currency code of the output currency"
        },
        "outputAmount": {
          "type": "number",
          "description": "Amount of the output currency"
        },
        "amountUsd": {
          "type": "number",
          "description": "Amount of the transaction denominated in USD. Will be an approximate value in case of `inputCurrency` different than USD."
        },
        "processingFee": {
          "type": "number",
          "description": "Blockchain.com Pay processing fee denominated in `inputCurrency`"
        },
        "processingFeeUsd": {
          "type": "number",
          "description": "Blockchain.com Pay processing fee denominated in USD. Will be an approximate value in case of `inputCurrency` different than USD."
        },
        "partnerFee": {
          "type": "number",
          "description": "Partner fee denominated in `inputCurrency`"
        },
        "partnerFeeUsd": {
          "type": "number",
          "description": "Partner fee denominated in USD. Will be an approximate value in case of `inputCurrency` different than USD."
        },
        "networkFee": {
          "type": "number",
          "description": "Transaction network fee denominated in `inputCurrency`"
        },
        "networkFeeUsd": {
          "type": "number",
          "description": "Transaction network fee denominated in USD. Will be an approximate value in case of `inputCurrency` different than USD."
        },
        "network": {
          "type": "string",
          "description": "Blockchain network code used for the cryptocurrency transaction (e.g., BTC, ETH, BASE, MATIC, etc.)"
        },
        "userId": {
          "type": "string",
          "description": "Unique identifier of the user"
        },
        "userCountry": {
          "type": "string",
          "description": "Country code of the user address (2 letter ISO 3166-1 alpha-2 code). Example: US, GB, FR, DE, etc."
        },
        "userState": {
          "type": "string",
          "description": "State code of the user address (2 letter code prefixed with 2 letter country code and a hyphen). Will only be present for users in the US. Example: US-FL"
        },
        "targetWalletAddress": {
          "type": "string",
          "description": "Target wallet address of the crypto transaction"
        },
        "transactionHash": {
          "type": "string",
          "description": "Transaction hash of the crypto transaction. Will only be present for orders in COMPLETED state"
        }
      },
      "required": [
        "eventId",
        "orderId",
        "orderType",
        "createdAt",
        "orderState",
        "orderStateUpdatedAt",
        "paymentMethod",
        "inputCurrency",
        "inputAmount",
        "outputCurrency",
        "outputAmount",
        "processingFee",
        "processingFeeUsd",
        "partnerFee",
        "partnerFeeUsd",
        "networkFee",
        "networkFeeUsd",
        "network",
        "userId",
        "targetWalletAddress"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/blockchain.com-pay-webhook-event"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.