REST API

Decimals and Strings

Decimal points in all amount and tax rate fields are used; implied decimal points are not used.
For example, if the amount of the product being purchased is 29.95, set that field to
29.95
.
For tax rates used with Level III transactions, you must include a decimal point in the value. For example, if a tax rate is 1%, set that field to
0.01
.
For many of the fields described in this document, Visa and Mastercard permit different lengths for alphanumeric (string) input. The system accepts any length you provide. If the value you provide is longer than the payment card company permits, the system truncates the value, keeping the left-most portion of the value. If the value you provide is shorter than the payment card company requires, the system pads the field before sending it to the processor.