Onward is requesting a refund of the Onward protection premium for the specified Order in your platform, for example when a customer opts out of protection.
Security
api_key
- https://api.your-store.com/onwardhttps://api.your-store.com/onward/orders/{shopOrderId}/refund_protection
curl -i -X POST \
https://api.your-store.com/onward/orders/18282/refund_protection \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-d '{
"protection_amount": {
"cents": 1299,
"currency": "USD"
}
}'Response
{ "shop_refund_id": "123456" }