Skip to main content
1

Save a payment method on your account

Create a top up from the Dashboard, or save a card through the API with Create setup intent and owner_id set to your account ID. Either saves a payment method on your account that you can reuse programmatically.
2

Get payment methods

List saved payment methods for your account:
3

Create a top up

Create a deposit to your account and pass the saved payment method to charge:
In this example:
  • destination is your platform’s account ID
  • amount is the amount in USD to add to your balance
  • payment_method_id is the saved payment method to charge
The response’s methods.card.payment_id is the payment the charge created. The request needs an API key with the payment:charge scope.
4

Handle payment events

Listen for payment webhooks to confirm the top up was successful:

Collect payments for connected accounts

Transfer funds to connected accounts

Render payout portal

Let users withdraw their funds