Skip to main content
GET
cURL
Lists the purchase credit notes the payment raised, under data. A payment raises one when it pays more than its invoices take; a payment that does not overpay has an empty list.
The SDK samples get their client from credentials your app registers once when it starts, as shown in Authentication. To try the call here, click Try it, set host to your Exsited API host name and paste an access token from Get an access token.

Authorizations

Authorization
string
header
required

An access token from POST /api/v4/oauth2/token. The SDKs get and renew it for you.

Path Parameters

purchase_payment_id
string
required

The purchase payment's id.

Query Parameters

limit
integer

The most records to return on one page.

Example:

20

cursor
string

The next_cursor value from the previous page, to read the next one.

sort
string

The field to sort by. Prefix it with - for descending order, such as -created_on.

Example:

"-created_on"

Response

200 - application/json

One page of the payment's purchase credit notes.

data
object[]
object
string
pagination
object
url
string