Skip to main content
To switch an existing Stripe customer with an existing Stripe subscription to pay in crypto, create a link using the externalSubscriptionId. There is no need to pass in any elements, invoice-id/number or customer-id - we will automatically grab the products for you based on the subscription’s details. Please note, if you just made a new subscription in Stripe and Stripe just made the 1st invoice, you must finalize that first invoice in Stripe before sending the payment link. When you do this, Stripe will set the due date to midnight UTC in your account’s timezone. Loop collects on payments based on Stripe’s due date. Thus, if you want this payment to be collected immediately, set the payInvoiceImmediately: true. Example sub-id: sub_1RJwTRPRR297Cb62I2FSWjgi When switching a customer from fiat to crypto, Loop will charge the customer on the billDate for the next upcoming invoice, using the exact due date to the minute. If you are modifying a subscription (i.e. changing the products), resetting the billing cycle, and moving the customer to crypto, you should use the payInvoiceImmediately in conjunction with the sub-id. The payInvoiceImmediately parameter will ignore the Stripe bill date and process the invoice immediately. This is important because when you reset the billing cycle, Stripe will finalize the invoice in 1 hour and by default set the bill date to midnight UTC (it will display the bill date in your account’s timezone - i.e. you may see a time that is the next day or before midnight if your account is not in UTC). Thus, if you want to get paid immediately, you can override this by using the payInvoiceImmediately: true parameter.
I