The Pomelo Chargeback Service is a comprehensive solution designed to facilitate and optimize the chargeback management of payment transactions made through the Pomelo platform.
A chargeback is a refund request for a payment made through the Pomelo platform.
All chargebacks have a status field describing which state of the management process they are in. The possible chargeback statuses are the following:
PENDING: The chargeback is in pending status.UNDER_EVALUATION: A first analysis of the chargeback is underway, and more information is needed to continue with the dispute.DISPUTE_OPEN: The transaction dispute was opened with the brand (Mastercard or Visa) and we are waiting for their response.DISPUTE_REJECTED: The dispute was rejected by the brand since the transaction did not meet the requirements to be disputed.DISPUTE_WON: The dispute was won in favor of the issuer.DISPUTE_LOST: The dispute was lost; in this case, the liability remains on the issuer's or cardholder's side.DISPUTE_NOT_PROCESSED: No pudimos procesar el contracargo dadas las características del pago.TRANSACTION_NOT_PRESENTED: La transacción aún no ha sido presentada por el adquirente, por lo que no es posible solicitar un contracargo.The endpoint /chargebacks/v2/ permits the creation of a chargeback.
To create a chargeback, the following validations must be fulfilled:
amount input must be greater than 0.amount input must be less than or equal to the transaction amount.When creating a chargeback of type CONTROVERSY, we can add attachments to support the dispute. For this, use the resource /chargebacks/v2/{chargebackId}/attachments
merchant and userPHYSYCAL_PAYMENT and VIRTUAL_PAYMENT are only accepted if the dispute_type field is set to FRAUDcurrency_id fieldPHYSYCAL_PAYMENT and VIRTUAL_PAYMENT are only accepted if the dispute_type field is set to FRAUDmerchant and userThe endpoint /chargebacks/v2/$ID/attachments enables the attachment of files to a chargeback in order to send it to the brand and simplify the dispute resolution
The file must be attached in the request body as a multipart/form-data, under the fileUpload key.
The endpoint /chargebacks/v2/ performs a search for customer chargebacks. Filters can be added to tailor the search results.
Filters must be specified as parameters following this pattern: filter[field]=value. For example: filter[status]=APPROVED
The results will be paginated and you can specify the amount of data per page and also which page you wish to view.
There is a filter for the field created_at, which you can use to get the chargebacks created within a date range. For example: filter[created_at][from]=2022-07-27&filter[created_at][to]=2022-07-28
You can also filter by the last update date using updated_at.
You can specify the order of the results with certain parameters that you must send as list of strings in the sort filter type. For example: ?sort=status,created_at
The default sorting will be ascending. To specify a descending sorting, you must send the character '-' as a prefix of the attribute. For example: ?sort=status,-created_at
This service will be responsible for notifying you when a chargeback is modified.
If you have doubts about how to set up a webhook, visit our documentation.
You can also find more information about the Verification Process of the digital signature.
api-secret to use if multiple api-key and api-secret pairs were configured.