For shops using Buy Now Pay Later (Afterpay, Klarna, Zip, Clearpay, Affirm / Shop Pay Installments, PayPal Pay Later, Sezzle, humm, etc., Where is the best place to see/find the exact string used as the payment method for that order?
I need to specifically distinguish between orders that used BNPL services and those that didnt.
I assume PaymentGatewayNames?
I assume asking for a nice list of these exact stings somewhere for payment providers is asking to much?
Hi @Darien! Yeah, you’re on the right track with paymentGatewayNames. That field gives you the list of gateway names on the order. For the exact string per transaction, read the gateway field on OrderTransaction instead of formattedGateway, which is the human-readable display version:
For your second question, no, there’s no published list of exact gateway strings per payment provider, so you’re not missing anything for BNPL. Gateway strings aren’t standardized, and in practice you may see more than one string for the same BNPL brand. The reliable approach is to pull gateway values from real orders on the shops you’re integrating with and build your match list from what you actually observe. The order query reference covers the fields above.