This method covers checkouts that run through Primer. For Stripe checkouts,
use Billing.stripe.getAvailablePaymentMethods().
Parameters
Your organization ID. This method doesn’t read
configure().
The API base URL. Use
https://billing.funnelfox.com unless you point to a
custom backend.Returns
APromise<PaymentMethod[]> with the available payment methods:
PAYMENT_CARD, PAYPAL, GOOGLE_PAY, or APPLE_PAY.
When Apple Pay is available, the list leaves out Google Pay. The
default checkout follows
the same rule.
Example
Billing.getAvailablePaymentMethods().