Payment Customization API reference
The Payment Customization API enables you to rename, reorder, and sort the payment methods available to buyers during checkout.
Extension targetsAnchor link to section titled "Extension targets"
The Payment Customization API exposes the following targets:
||FunctionRunResult||Outputs the list of operations to apply to payment methods|
Input object is the complete schema that your function can receive as input.
For a list of fields that the Payment Customization API's
Input object accepts, refer to Input.
The following example shows an input query:
The following example shows the resulting input to the query:
FunctionRunResultAnchor link to section titled "FunctionRunResult"
The following function result hides a payment method: