List all Refunds

Changed on

Use secret API key to retrieve a list of Refunds.

get/refunds

Request

  • Base URL
    https://api.paymongo.com
  • URL
    https://api.paymongo.com/refunds
  • Auth
    HTTP basic

Query parameters

data.attributes.payment_idstring required

ID of a Payment resource that was refunded.

data.attributes.beforestring

A cursor for use in pagination. before is a resource ID that defines your place in the list. For example, if you make a request and receive 20 resources, starting with some_resource_id, your subsequent call can include before=some_resource_id in order to fetch the previous page of the list.

data.attributes.afterstring

A cursor for use in pagination. after is a resource ID that defines your place in the list. For example, if you make a list request and receive 20 resources, ending with some_resource_id, your subsequent call can include after=some_resource_id in order to fetch the next page of the list.

data.attributes.limitstring

Limit of resources to return. If not passed, the default limit is 10.

Response

200

object required

Changes