PomeloEx.Fraud.Chargebacks (PomeloEx v0.1.0)

View Source

The Chargebacks service allows you to create and manage chargebacks for payment transactions.

Want to know more about chargebacks? Check out our documentation.

Summary

Functions

Attach a file to a chargeback.

Webhook handler for chargeback notifications.

Create a chargeback for a transaction.

Search for chargebacks with optional filters.

Get a chargeback by its ID.

Functions

attach_file_to_chargeback(payload)

Attach a file to a chargeback.

The API expects a multipart/form-data upload under the fileUpload key. This implementation sends a JSON body as a simplified interface. Override execute/1 to handle multipart uploads if needed.

chargeback_webhook_notification(payload)

Webhook handler for chargeback notifications.

create_chargeback(payload)

Create a chargeback for a transaction.

find_chargebacks(payload)

Search for chargebacks with optional filters.

Supported filters: filter[user_id], filter[status], filter[transaction_id], filter[created_at][from], filter[created_at][to], filter[updated_at][from], filter[updated_at][to], sort.

obtain_chargeback(payload)

Get a chargeback by its ID.