id as quote_id when you create the payment to charge exactly that quote. Quote again whenever the cart, promo code, or address changes.
Endpoints
Attributes
The billing address the purchase was priced with, or null. Where tax was calculated when no shipping address was given, and the address the registration belongs to.
Properties
Properties
Three-letter ISO 4217 code of the variants’ own currency, lowercase. Equal to
currency when nothing was converted.total in base_currency at exchange_rate: the variants’ own prices after the promo code, plus tax_amount converted at exchange_rate when tax is added on top. Equal to total when nothing was converted. The payment charges total, in currency.Properties
Properties
The amount in major units, as an exact decimal string. For example,
"10.00"
is ten dollars. It is a string so that no float rounds it in transit.How many decimal places the amount carries. This is the precision the charge
itself runs at.
Three-letter ISO 4217 currency code the purchase is priced and charged in,
lowercase: the variants’ own currency, or the
presentment_currency it was
converted into.What the promo code takes off. Zero without a code.
Properties
Properties
The amount in major units, as an exact decimal string. For example,
"10.00"
is ten dollars. It is a string so that no float rounds it in transit.How many decimal places the amount carries. This is the precision the charge
itself runs at.
How many units of
currency one unit of base_currency buys, as a decimal
string such as "5.4321": the rate the variants’ prices were converted at,
fixed until expires_at, and the rate a payment consuming the quote is
charged at. A string, like money amounts, so no float rounds it in transit.
Null when nothing was converted.When the quote stops being chargeable, as an ISO 8601 timestamp. Quote again
after it.
One entry per variant, in the order given, each carrying its own tax.
Properties
Properties
The promo code’s share on this line. Zero without a code.
Properties
Properties
The amount in major units, as an exact decimal string. For example,
"10.00"
is ten dollars. It is a string so that no float rounds it in transit.How many decimal places the amount carries. This is the precision the charge
itself runs at.
The line’s price before the promo code’s share and tax;
subtotal minus discount is what the line comes to after the discount. The lines’ subtotals sum to the quote’s subtotal.Properties
Properties
The amount in major units, as an exact decimal string. For example,
"10.00"
is ten dollars. It is a string so that no float rounds it in transit.How many decimal places the amount carries. This is the precision the charge
itself runs at.
The tax on this line. Zero when
tax_status is not calculated.Properties
Properties
The amount in major units, as an exact decimal string. For example,
"10.00"
is ten dollars. It is a string so that no float rounds it in transit.How many decimal places the amount carries. This is the precision the charge
itself runs at.
subtotal minus discount, plus tax_amount when tax is added on top, or without it when the price already includes it.Properties
Properties
The amount in major units, as an exact decimal string. For example,
"10.00"
is ten dollars. It is a string so that no float rounds it in transit.How many decimal places the amount carries. This is the precision the charge
itself runs at.
Which location tax was calculated for:
shipping_address when it carries a country, else the billing address when it does, else the presentment_country sent, else the buyer’s ip_address. A quote located by presentment_country or ip_address is a preview that estimates tax: a payment cannot use it, so quote again with the buyer’s address to pay. Null when nothing in the request located the buyer, which only a seller that collects no tax on this purchase is quoted without; tax_status is then not_applicable.Available options: shipping_address, address, presentment_country, ip_addressThe payment holding this quote, prefixed
pay_, or null while it is unspent.
A declined payment keeps its quote and can be retried; check that payment’s
status.Lowercase ISO 4217 codes to offer the buyer in a currency picker, most
relevant first: the currency of the
presentment_country sent, else of the
country the buyer’s ip_address is in, when this purchase can be converted
into it and a payment method can collect it, then base_currency. Quote again
with one as presentment_currency to price in it. Only base_currency when
the quote was priced without presentment_currency or presentment_country.The shipping address the purchase was priced with, or null. When present it is where tax was calculated.
Properties
Properties
The price of every line before the promo code, tax and fees.
Properties
Properties
The amount in major units, as an exact decimal string. For example,
"10.00"
is ten dollars. It is a string so that no float rounds it in transit.How many decimal places the amount carries. This is the precision the charge
itself runs at.
The tax a payment consuming this quote charges. Zero unless
tax_status is calculated.Properties
Properties
The amount in major units, as an exact decimal string. For example,
"10.00"
is ten dollars. It is a string so that no float rounds it in transit.How many decimal places the amount carries. This is the precision the charge
itself runs at.
Whether tax is added on top of the price (
exclusive) or already inside it (inclusive). Null when no tax was calculated.Available options: inclusive, exclusiveThe buyer’s tax registration the quote priced as a business purchase. Empty for a consumer purchase.
Properties
Properties
The registration’s type, such as
eu_vat.Available options: ad_nrt, ao_tin, ar_cuit, al_tin, am_tin, aw_tin, au_abn, au_arn, eu_vat, az_tin, bs_tin, bh_vat, bd_bin, bb_tin, by_tin, bj_ifu, bo_tin, ba_tin, br_cnpj, br_cpf, bg_uic, bf_ifu, kh_tin, cm_niu, ca_bn, ca_gst_hst, ca_pst_bc, ca_pst_mb, ca_pst_sk, ca_qst, cv_nif, cl_tin, cn_tin, co_nit, cd_nif, cr_tin, hr_oib, do_rcn, ec_ruc, eg_tin, sv_nit, et_tin, eu_oss_vat, ge_vat, gh_tin, de_stn, gb_vat, gn_nif, hk_br, hu_tin, is_vat, in_gst, id_npwp, il_vat, jp_cn, jp_rn, jp_trn, kz_bin, ke_pin, kg_tin, la_tin, li_uid, li_vat, my_frp, my_itn, my_sst, mr_nif, mx_rfc, md_vat, me_pib, ma_vat, np_pan, nz_gst, ng_tin, mk_vat, no_vat, no_voec, om_vat, pe_ruc, ph_tin, pl_nip, ro_tin, ru_inn, ru_kpp, sa_vat, sn_ninea, rs_pib, sg_gst, sg_uen, si_tin, za_vat, kr_brn, es_cif, ch_uid, ch_vat, tw_vat, tj_tin, tz_vat, th_vat, tr_tin, ug_tin, ua_vat, ae_trn, us_ein, uy_ruc, uz_tin, uz_vat, ve_rif, vn_tin, zm_tin, zw_tin, sr_fin, xi_vatcalculated: every line was priced and a payment may consume the quote. not_applicable: this seller collects no tax on this purchase, so the quote owes none and may still be consumed. unavailable: tax could not be priced — the provider did not answer, or this seller’s tax setup cannot price a purchase here — so a payment refuses the quote; quote again, or charge without quote_id to have tax calculated at charge time.Available options: calculated, not_applicable, unavailableWhat the buyer pays: the subtotal less the discount, plus
tax_amount when tax is added on top.Properties
Properties
The amount in major units, as an exact decimal string. For example,
"10.00"
is ten dollars. It is a string so that no float rounds it in transit.How many decimal places the amount carries. This is the precision the charge
itself runs at.
PaymentQuote

