Payment methods
Payment methods are the cards your workspace has saved. One of them is the default for top-ups, which add funds to the workspace's prepaid balance.
POST /api/v1/payment/payment_methods/setup-intentstarts saving a card. It returns a Stripe SetupIntentclient_secret, and the card is confirmed with Stripe, 3-D Secure included.GET /api/v1/payment/payment_methods/lists the saved cards, with brand, last four digits, expiry, and which one is the default.POST /api/v1/payment/payment_methods/{payment_method_id}/set_defaultmakes a card the default for top-ups, andDELETE /api/v1/payment/payment_methods/{payment_method_id}removes one.POST /api/v1/payment/payment_methods/{payment_method_id}/add_fundscharges a card to top up the balance. When the bank asks for confirmation, the result isrequires_actionwith aclient_secretto confirm;POST /api/v1/payment/payment_methods/topups/{attempt_id}/syncthen picks up the outcome.
Card data never touches NimbusNexus directly — payment-method creation routes through our PCI-compliant payment processor (Stripe today), and we store only the tokenized reference + display metadata (brand, last four, expiration). You don't need to worry about PCI scope on your end as long as you're using the API; raw card numbers never appear in any request to NimbusNexus.
These calls take a signed-in session, sent as Authorization: Bearer or the session cookie. An API key can't make them.
What's next
- Billing — the balances these cards top up, and your billing details.
- Pricing data — the per-resource prices behind the charges.