Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 1.23 KB

Currency.md

File metadata and controls

44 lines (28 loc) · 1.23 KB

Currency

A JSON object containing code, symbol, and exponent for a given currency. Refer to Country and Currency.

Properties

Name Type Description Notes
code CodeEnum The three-letter ISO currency code. This is the currency that is associated with the payment amount.
symbol SymbolEnum The currency symbol.
exponent Integer The log base 10 of the number of times we have to multiply the major unit to get the minor unit. Should be 0 for VN and 2 for other countries (SG/MY/ID/TH/PH/KH).

Enum: CodeEnum

Name Value
IDR "IDR"
MYR "MYR"
PHP "PHP"
SGD "SGD"
THB "THB"
VND "VND"
UNKNOWN_DEFAULT_OPEN_API "unknown_default_open_api"

Enum: SymbolEnum

Name Value
RP "Rp"
RM "RM"
u "₱"
S_ "S$"
u2 "฿"
u3 "₫"
UNKNOWN_DEFAULT_OPEN_API "unknown_default_open_api"