feature

Reverse

Learn how to cancel a customer's order.

1

authorise

Retrieve and display the spend options available based on the customer or product.

get
/merchant/{customerRef}/spend-options
See API reference
2

reverse

Reverse an order once the order can be authorised.

Request Example

Request

1curl --request GET \
2  --url 'https://mtapi.stg-newdaytechnology.net/cl/merchant-gateway-service/merchant/123456789/spend-options?basketAmount=100&promoOnly=true&zeroPercentOnly=true&spendType=Instalment&orderBy=InstalmentPaymentAmount' \
3  --header 'Ocp-Apim-Subscription-Key: REPLACE_KEY_VALUE' \
4  --header 'context-merchantId: bf62723f-f664-4527-b95b-4dfee33e427d' \
5  --header 'context-tenantId: SOME_STRING_VALUE'