{
"id": "aa58a883-1e6f-4ec1-aa06-556908167f46",
"topic": "claim.approved",
"created_at": "2024-03-20T10:00:00Z",
"body": {
"claim_id": "cm6v2zdt10002j20vqs7f74hc",
"order_id": "order-1",
"source_order_id": "100",
"resolutions": [
{
"type": "REFUND",
"details": {
"items": [
{
"product_id": "prod001",
"variant_id": "var001",
"sku": "sku001",
"item_id": "item001",
"item_name": "Wireless Mouse",
"price": 30.0,
"discount": 5.0,
"tax": 2.0,
"resolution_percentage": 80,
"resolution_flat_amount": null,
"quantity": 1
}
],
"currency": "USD",
"total_refund_amount": 27.6,
"shipping_amount": 5.0,
"shipping_amount_tax": 1.0,
},
{
"type": "RESHIP",
"details": {
"items": [
{
"product_id": "prod002",
"variant_id": "var002",
"sku": "sku002",
"item_id": "item002",
"item_name": "Wireless Mouse",
"price": 50.0,
"discount": 0.0,
"tax": 5.0,
"resolution_percentage": 100,
"resolution_flat_amount": null,
"quantity": 1
}
],
"currency": "USD",
"total_refund_amount": 55.0,
"shipping_amount": 0.0,
"shipping_amount_tax": 0.0,
"shipping_address": {
"address1": "123 Main St",
"address2": "Apt 4B",
"city": "San Francisco",
"state": "California",
"zip": "94105",
"country": "United States"
}
}
}
]
}
}
{
"id": "aa58a883-1e6f-4ec1-aa06-556908167f46",
"topic": "claim.approved",
"created_at": "2024-03-20T10:00:00Z",
"body": {
"claim_id": "cm6v2zdt10002j20vqs7f74hc",
"order_id": "order-1",
"source_order_id": "100",
"resolutions": [
{
"type": "REFUND",
"details": {
"items": [
{
"product_id": "prod001",
"variant_id": "var001",
"sku": "sku001",
"item_id": "item001",
"item_name": "Wireless Mouse",
"price": 30.0,
"discount": 5.0,
"tax": 2.0,
"resolution_percentage": 80,
"resolution_flat_amount": null,
"quantity": 1
}
],
"currency": "USD",
"total_refund_amount": 27.6,
"shipping_amount": 5.0,
"shipping_amount_tax": 1.0,
},
{
"type": "RESHIP",
"details": {
"items": [
{
"product_id": "prod002",
"variant_id": "var002",
"sku": "sku002",
"item_id": "item002",
"item_name": "Wireless Mouse",
"price": 50.0,
"discount": 0.0,
"tax": 5.0,
"resolution_percentage": 100,
"resolution_flat_amount": null,
"quantity": 1
}
],
"currency": "USD",
"total_refund_amount": 55.0,
"shipping_amount": 0.0,
"shipping_amount_tax": 0.0,
"shipping_address": {
"address1": "123 Main St",
"address2": "Apt 4B",
"city": "San Francisco",
"state": "California",
"zip": "94105",
"country": "United States"
}
}
}
]
}
}
{
"id": "aa58a883-1e6f-4ec1-aa06-556908167f46",
"topic": "claim.approved",
"created_at": "2024-03-20T10:00:00Z",
"body": {
"claim_id": "cm6v2zdt10002j20vqs7f74hc",
"order_id": "order-1",
"source_order_id": "100",
"resolutions": [
{
"type": "REFUND",
"details": {
"items": [
{
"product_id": "prod001",
"variant_id": "var001",
"sku": "sku001",
"item_id": "item001",
"item_name": "Wireless Mouse",
"price": 30.0,
"discount": 5.0,
"tax": 2.0,
"resolution_percentage": 80,
"resolution_flat_amount": null,
"quantity": 1
}
],
"currency": "USD",
"total_refund_amount": 27.6,
"shipping_amount": 5.0,
"shipping_amount_tax": 1.0,
},
{
"type": "RESHIP",
"details": {
"items": [
{
"product_id": "prod002",
"variant_id": "var002",
"sku": "sku002",
"item_id": "item002",
"item_name": "Wireless Mouse",
"price": 50.0,
"discount": 0.0,
"tax": 5.0,
"resolution_percentage": 100,
"resolution_flat_amount": null,
"quantity": 1
}
],
"currency": "USD",
"total_refund_amount": 55.0,
"shipping_amount": 0.0,
"shipping_amount_tax": 0.0,
"shipping_address": {
"address1": "123 Main St",
"address2": "Apt 4B",
"city": "San Francisco",
"state": "California",
"zip": "94105",
"country": "United States"
}
}
}
]
}
}
REFUND
, the total_refund_amount
amount should be used to refund the order.
Show Webhook Payload
Show Resolution Object
REFUND
, RESHIP
, FLAT_RATE
, STORE_CREDIT
Show Details Object
Show Item Object
FLAT_RATE
isn’t the resolution type, this will be null
RESHIP
.