Skip to main content

Disputed

When a chargeback, RDR or IR for a transaction is received by Macropay, this event is sent to the merchant. If the plan associated with the subscription has auto cancel, when a chargeback or RDR arrives to Macropay this event is not sent and instead a cancellation event will be sent.

EVENT EXAMPLE - DISPUTED SUBSCRIPTION BY CHARGEBACK OR RDR
{  
"eventId": "0198090e-9768-77e7-b279-3b653a053269",
"eventType": "subscription.payment.disputed",
"occurredAt": "2025-07-14T13:10:07Z",
"originator": {
"type": "payment_disputed",
"data": {
"paymentId": "019808a5-5ae9-7db4-b99a-9e25f05440aa",
"type": "renewal",
"status": "accepted",
"cycle": 1,
"attempt": 0,
"money": {
"currency": "EUR",
"amount": 30
},
// This example is about one payment with multiple disputes
"transactions": [
{
"transactionId": "0ace71ad-ec94-4cfe-9a4f-75f39eb6fe7d",
"transactionCreationDate": "2025-07-14T13:03:23Z",
"transactionStatus": "success",
"transactionType": "chargeback",
"money": {
"currency": "EUR",
"amount": 30
},
"chargebackInfo": {
"reasonCode": "10.1",
"description": "Chip Liability Shift",
"category": "category"
}
},
{
"transactionId": "0ace71ad-ec94-4cfe-9a4f-75f39eb6fe7d",
"transactionCreationDate": "2025-07-14T13:03:23Z",
"transactionStatus": "success",
"transactionType": "information_requested",
"money": {
"currency": "EUR",
"amount": 30
},
"chargebackInfo": {
"reasonCode": "10.1",
"description": "Chip Liability Shift",
"category": "category"
}
},
{
"transactionId": "427e50fe-cf23-4506-85cc-a5853b923b7a",
"transactionCreationDate": "2025-07-14T13:03:53Z",
"transactionStatus": "success",
"transactionType": "rdr",
"money": {
"currency": "EUR",
"amount": 30
},
"chargebackInfo": {
"reasonCode": "10.1",
"description": "Chip Liability Shift",
"category": "category"
}
},
{
"transactionId": "0ace71ad-ec94-4cfe-9a4f-75f39eb6fe7d",
"transactionCreationDate": "2025-07-14T13:03:23Z",
"transactionStatus": "failed",
"transactionType": "chargeback",
"money": {
"currency": "EUR",
"amount": 30
},
"error": {
"code": "0001",
"message": "Error message"
}
}
]
}
},
"data": {
"subscriptionId": "019808a5-0820-76b6-be77-c2f931886e93",
"planId": "4aa7c1e4-cf8c-4d1c-a6ad-451dd07411ee",
"status": "fulfilled",
"cycle": 5,
"createdAt": "2025-07-14T13:10:07Z",
"modifiedAt": "2025-07-14T13:10:07Z"
}
}