I'm trying to enable afterpay_clearpay as payment method via Stripe via CLI
I'm unsure of the format required to successfully add the new payment method and wondered if anyone has done this before? This is what i'm getting below
stripe payment_methods create --type=afterpay_clearpay
Response
{ "error": { "code": "parameter_missing", "doc_url": "https://stripe.com/docs/error-codes/parameter-missing", "message": "Missing required param: billing_details[address][line1].", "param": "billing_details[address][line1]", "type": "invalid_request_error" } }
Many Thanks for any pointers
--
To unsubscribe from this group and stop receiving emails from it, send an email to api-discuss...@lists.stripe.com.
Thanks Remi that's great, one last question.When create a checkout session with afterpay, I need to Collect shipping addresses by adding your country to shipping_address_collection[allowed_countries]I'm unsure of the CLI format required i.e.-d "shipping_address_collection[][allowed_countries]"='AU','NZ' --mode=payment{"error": {"message": "Invalid array","param": "shipping_address_collection[allowed_countries]","type": "invalid_request_error"}}