Supported Currencies

The SDK supports only Boomcoin (BMC) and as such there is no need to specify the currency when creating a payment intent.

const payment = await boomPay.payments.createIntent({
  walletAddress: wallet.address,
  amount: 5, // amount is in BMC
  successUrl: "https://your-success-url.com",
  failureUrl: "https://your-failure-url.com",
  metadata: {
    anyKey: "anyValue",
  },
  label: "Payment Label",
});