FRAGMENT
FRAGMENT gives your agent financial superpowers. Use it to automate your customers' billing, payments, and accounting.
Featured
Guides
const { createPayment } = await fragment.createPayment({
  ik: 'payment-1',
  ledgerIk: 'ledger-1',
  type: 'card_payin',
  typeVersion: 1,
  parameters: {
    amount: '4999',
  },
});

if (createPayment.__typename === 'CreatePaymentResult') {
  console.log(createPayment.payment.id);
}