#alpha_invoice-pmts
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1240789958357286983
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
So you have Payment Methods from Customers already, and you just want to know how to use them to pay a new Invoice?
yes I have payment methods from customers already created and I want to use an specific one
alpha_invoice-pmts
Use the Create Invoice API and set default_payment_method: 'pm_123'
for example client A has a payment method for buying cards and another one for buying clothes When I create an new invoice I want to be able to chose what payment method use
mmm so you mean changing the default payment method on demand?
I understand the default is a setting for the customer I dont want to change the default payment method only use a different for certain cases
Sure, but your code creates the Invoice, you know which PaymentMethod pm_123 they want to use so you can set the default for that Invoice specifically