Payment methods

Override automatic payment-method ordering

PUT
/v1/stores/{storeId}/payment-methods/{methodId}/routing

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string
methodId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X PUT "https://example.com/v1/stores/string/payment-methods/string/routing" \  -H "Content-Type: application/json" \  -d '{    "routingOverride": "auto"  }'
{  "routingOverride": "auto"}