SCAPI - Update payment instrument of order
PATCH {{HOST}}/checkout/shopper-orders/v1/organizations/{{organizationId}}/orders/test-orderId/payment-instruments/test-paymentInstrumentId?siteId={{ocapi_site}}
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
siteId | string |
Request Body
{"amount"=>2, "paymentMethodId"=>"CREDIT_CARD", "paymentCard"=>{"cardType"=>"Visa", "maskedNumber"=>"****-****-****-4567"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |