Add Payment Method
Payment methods are added automatically during the subscription checkout flow via the payment provider. There is no direct API endpoint to add a payment method.
How to Add a Payment Method
Payment methods are captured during the redirect payment flow when you subscribe to a plan:
- Call
POST /billing/subscribewith a plan ID - Redirect the user to the
redirectUrlreturned in the response - The user completes payment on the payment provider's secure checkout page
- The payment method is automatically saved and associated with your organization
- The user is redirected back to your application
Alternative: Update via Payment Provider Portal
Some payment providers offer a customer portal where users can manage their payment methods directly:
- View saved payment methods
- Add new payment methods
- Update card details
- Set default payment method
Contact your payment provider or check their documentation for portal access details.
Notes
- All payment data is handled securely by the payment provider and is never directly accessible to EntryGuard or your application.
- Payment methods added during checkout are automatically set as the default unless you have an existing default payment method.
- To remove a payment method, use the
DELETE /billing/payment-methods/{id}endpoint.