Skip to main content

Payment Platforms

Checkout rails currently expose these platform identifiers:

const PaymentPlatform = {
VENMO: 'venmo',
CASHAPP: 'cashapp',
REVOLUT: 'revolut',
WISE: 'wise',
ZELLE: 'zelle',
PAYPAL: 'paypal',
MONZO: 'monzo',
N26: 'n26',
} as const;

Type

type PaymentPlatformType =
| 'venmo'
| 'cashapp'
| 'revolut'
| 'wise'
| 'zelle'
| 'paypal'
| 'monzo'
| 'n26';

Fiat Currency Support

Checkout quote selection supports multiple fiat currencies.

  • The checkout currency selector controls which fiat currency is used for quote discovery.
  • Platform availability is evaluated per selected currency and order amount.
  • Payment creation persists currencyPerUsdRate for the selected payment currency.

If a platform has no liquidity for the selected currency, it appears unavailable for that quote cycle.

Usage in Checkout Flow

Rails are selected at order-creation time through enabledRails.

import { createCheckout } from '@zkp2p/pay-sdk';

const checkout = await createCheckout(
{
requestedUsdcAmount: '50.00',
enabledRails: ['venmo', 'paypal'],
},
opts,
);

console.log(checkout.checkoutUrl);