Canonical payment methods and PayLink
about 1 month ago by ReadMe GitHub Action
Order and Storefront APIs now use one canonical payment method model, including PayLink flows.
Order and Storefront APIs now use one canonical payment_method. Virtual
accounts use flat values such as va_bca; there is no secondary payment
method field in the documented request or response contract. Stores can
offer payment_link, and strict two-step checkout can omit
payment_method so Scalev routes the buyer to the PayLink selector.
Public order responses expose customer-paid PayLink surcharge income
as payment_link_income. Order webhooks expose payment_link_id and
is_from_payment_link so the origin remains available after a paid order's
payment_method changes to the concrete method used.
