Current collected state Current
Observed since 21 Oct, 09:28 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
SDK for 0xPay API
SDK for 0xPay Merchant API which allows merchants to accept and manage payments on various blockchain networks and fiat assets via integration options.
To start using 0xPay SDK you need to register your personal account and then create merchant at 0xPay to obtain your merchant id and private key and provide it to SDK.
// NPM
npm install @0xpay/sdk
// Yarn
yarn add @0xpay/sdk
import { XPay } from '@0xpay/sdk'
const MERCHANT_ID = 'your-merchant-id'
const MERCHANT_PRIVATE_KEY = 'your-merchant-private-key'
// Create XPay instance
const xpay = new XPay(MERCHANT_ID, MERCHANT_PRIVATE_KEY)
import { XPay } from '@0xpay/sdk'
import express from 'express'
// Create XPay instance
const xpay = new XPay(...)
express().post('/ipn', express.raw(), (req, res) => {
const validationError = xpay.validateWebhookRequest({ ...req, ...req.headers })
if (validationError) throw new Error(validationError.description)
// processing your ipn...
res.send('OK')
})
Download counts and popularity will appear here as the collector receives them.
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 21 Oct, 09:28 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:043f4d2ce0368f3af6bb6d78d8059fb1aefbd59c869ca100c70f2bd95deaed8f