API reference
HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
Schema
loyalty_program
Fields
typestring
required
value: loyalty_program
amountstring
required
namestring
required
The name of the of the loyalty program, e.g. points, miles, cash_rewards, etc. Required, to ensure that the amounts are refunded to the same loyalty program used during purchase.
Length ≥ 1
unitsstring
required
The unit to currency exchange rate is implicit from the amount in the Payment object and this number of points.
Example
{
"type": "alternate_payment_method",
"amount": "173.24",
"name": "string",
"units": "string"
}