cURL
curl --request GET \ --url https://api.chift.eu/consumers/{consumer_id}/pms/payment-methods \ --header 'Authorization: Bearer <token>'
{ "items": [ { "id": "<string>", "source_ref": { "id": "<string>", "model": "<string>" }, "name": "<string>", "extra": "Espèces", "ledger_account_code": "4000" } ], "total": 1, "page": 2, "size": 2 }
Returns the list of payment methods
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
Unique identifier of the payment method
Technical id in the target software
Name of the model/entity in the target software
Chift's name of the payment method (e.g. 'Cash', 'Card', 'Transfer', ...)
Original name of the payment method
"Espèces"
Ledger account code assigned to the category
"4000"
x >= 0