WebAPI/WebPayment: Difference between revisions

Jump to navigation Jump to search
m
Line 110: Line 110:
**'''iat''': Issued at time. This is a UTC Unix timestamp of when the JWT was issued.
**'''iat''': Issued at time. This is a UTC Unix timestamp of when the JWT was issued.
**'''exp''': Expiration. A UTC Unix timestamp of when the JWT should expire.
**'''exp''': Expiration. A UTC Unix timestamp of when the JWT should expire.
**'''request'''(mandatory): Request object.
**'''request''' (mandatory): Request object.
*** '''price''' (mandatory): List of prices per country.
*** '''price''' (mandatory): List of prices per country.
**** '''country''': Country code expressed following the recommendations from [http://www.iso.org/iso/country_codes/iso_3166_code_lists/country_names_and_code_elements.htm ISO 3166 ].
**** '''country''': Country code expressed following the recommendations from [http://www.iso.org/iso/country_codes/iso_3166_code_lists/country_names_and_code_elements.htm ISO 3166 ].
**** '''currency''': Currency code expressed following the recommendations from [http://www.xe.com/iso4217.php/ ISO 4217].
**** '''currency''': Currency code expressed following the recommendations from [http://www.xe.com/iso4217.php/ ISO 4217].
**** '''amount''': Value withouth taxes of the digital good being sold.
**** '''amount''': Value withouth taxes of the digital good being sold.
*** '''defaultPrice''': (optional if only one value in the former collection) default price to be considered as payment price when there is not matching between the customer currency and the currency prices located in the price collection. This value is expressed following [http://www.iso.org/iso/country_codes/iso_3166_code_lists/country_names_and_code_elements.htm ISO 3166] and must match with one of the countries in the price list.  
*** '''defaultPrice''': Default price to be considered as payment price when there is not matching between the customer currency and the currency prices located in the price collection. This value is expressed following [http://www.iso.org/iso/country_codes/iso_3166_code_lists/country_names_and_code_elements.htm ISO 3166] and must match with one of the countries in the price list.  
*** '''name''' (mandatory): A short description of the product.
*** '''name''' (mandatory): A short description of the product.
*** '''description''' (mandatory): A long description of the product.
*** '''description''' (mandatory): A long description of the product.
Confirmed users
483

edits

Navigation menu