cURL
curl --request GET \ --url https://api.chift.eu/consumers/{consumer_id}/invoicing/payments \ --header 'Authorization: Bearer <token>'
{ "items": [ { "id": "<string>", "source_ref": { "id": "<string>", "model": "<string>" }, "status": "pending", "description": "<string>", "amount": 123, "currency": "<string>", "payment_date": "2023-11-07T05:31:56Z", "partner_id": "<string>", "payment_method_id": "<string>", "payment_method_name": "<string>", "invoice_id": "<string>", "invoice_number": "<string>" } ], "total": 1, "page": 2, "size": 2 }
Returns a list of payments
This access token needs to be included in each of your request to the Chift API.
Page number Page number
x >= 1
Page size Page size
1 <= x <= 100
Successful Response
Show child attributes
Technical id in Chift
Technical id in the target software
Name of the model/entity in the target software
Payment status
pending
completed
partially_completed
canceled
failed
unknown
authorized
Description
Amount
Currency
Date of creation
Partner ID
Technical id of the payment method in Chift
Payment method name
Technical id of the invoice in Chift
Invoice number
x >= 0