Retrieve a list of payments that have been created for your account. The payments are sorted, with the most recent first.
payments found
{ "type": "list", "data": [ { … } ], "count": 0, "_links": { "self": "http://example.com", "next": "http://example.com", "prev": "http://example.com" } }
The currency of the payment. Only 'EUR' is supported.
The description of the payment. This will be shown to your customer and will be visible in the dashboard.
The URL where the customer will be send to after the payment has been processed.
The URL where the customer will be send to after the payment has been canceled by the customer.
The allowed pay methods of the payment. If only one pay method is specified, it will be set as the payment pay method. Cannot be used together with a mandate
.
You can put in random data that you like to save alongside the payment. When you fetch the payment this will be returned in the metadata
field.
ID of the customer that pays. This field is optional, if nothing is given we create a new Customer. Cannot be used together with a mandate
.
Indicates if the payment should create a mandate after it has been paid. This allows to setup recurring payments without the need to use a Subscription
or InstallmentPlan
. Needs the customer
parameter to be set as well. Cannot be used together with a mandate
.
payment created
{ "id": "PPH25H07JYWLR7PA82", "type": "payment", "amount": 1000, "description": "Test Payment", "currency": "EUR", "pay_method": { "id": "ideal", "type": "pay_method", "name": "iDEAL", "currencies": [ … ], "minimum_amount": 10, "maximum_amount": 5000000, "details": { … } }, "state": "paid", "refunded_amount": 0, "return_url": "https://example.com/thank-you", "cancel_url": "https://example.com/cancel", "metadata": {}, "customer": "CU7JRN6W6K3DA9", "mandate": "MD6ULYXJ4HP9RJ", "subscription": null, "installment_plan": null, "paid_at": "2023-06-30T12:44:35Z", "created_at": "2023-06-30T12:40:10Z", "_links": { "self": "https://api.paypro.nl/payments/PPH25H07JYWLR7PA82", "customer": "https://api.paypro.nl/customers/CU7JRN6W6K3DA9", "mandate": "https://api.paypro.nl/mandates/MD6ULYXJ4HP9RJ" } }
chargebacks found
{ "type": "list", "data": [ { … } ], "count": 0, "_links": { "self": "http://example.com", "next": "http://example.com", "prev": "http://example.com" } }