API - Planyo Web Services - get_reservation_payment_amount

Sie sind hier: Planyo » Hilfe » API » get_reservation_payment_amount

get_reservation_payment_amount (version 1)

Description:

This method returns payment information (total amount paid and number of payments made) for given reservation.

Input:

reservation_id int required
ID of the reservation
version float optional
you can optionally specify the version of the API that you're using. Use the value of latest or simply skip this parameter to use the latest API version. The latest version is: 1
language string optional
by specifying a 2-letter (ISO 639-1) language code (all capital letters e.g. EN, DE, FR, ES, IT) you can change the language of the text values returned
api_key string required
your API key - Click here to get your key. If your API key uses a hash key, you must also include the parameters hash_key and hash_timestamp.

Output:

amount float
Total amount of all payments made for the reservation
payments int
Number of individual payments made
currency int
Currency used (3-letter ISO 4217 code)

API playground:

Click here to test this function in the API playground.