Skip to main content
POST
Create Dynamic Checkout

Body

total
number<double>
required

Discount Percentage

Required range: 0.01 <= x <= 999999999.99
items
object[]
required

At least one is required

customer_info
object
appearance
object

The Appearance object includes various properties that define the appearance of the invoice and form. Each property is optional and should be a string representing a color code or a theme.

Color Guide

Example: #000000 *** Supported Formats ***

  • Hexadecimal Format #000000
  • RGB Format rgb(0, 0, 0)
  • RGBA Format rgba(0, 0, 0, 1)
  • HSL Format hsl(0, 0%, 0%)
  • HSLA Format hsla(0, 0%, 0%, 1)
  • Named Colors black

Theme Guide

Default: dark *** Supported Values ***

  • dark
  • light

Variant Guide

Default: standard *** Supported Values ***

  • filled
  • outlined
  • standard
invoice_info
object

Invoice details

If null invoice information will not display.

iframe
boolean | null
one_time_payment
boolean | null
currency
enum<integer>
Available options:
8,
12,
32,
36,
44,
48,
50,
51,
52,
60,
64,
68,
72,
84,
90,
96,
104,
108,
116,
124,
132,
136,
144,
152,
156,
170,
174,
188,
192,
203,
208,
214,
222,
230,
232,
238,
242,
262,
270,
292,
320,
324,
328,
332,
340,
344,
348,
352,
356,
360,
364,
368,
376,
388,
392,
398,
400,
404,
408,
410,
414,
417,
418,
422,
426,
430,
434,
446,
454,
458,
462,
480,
484,
496,
498,
504,
512,
516,
524,
532,
533,
548,
554,
558,
566,
578,
586,
590,
598,
600,
604,
608,
634,
643,
646,
654,
682,
690,
702,
704,
706,
710,
728,
748,
752,
756,
760,
764,
776,
780,
784,
788,
800,
807,
818,
826,
834,
840,
858,
860,
882,
886,
901,
925,
926,
929,
930,
931,
932,
933,
934,
936,
937,
938,
940,
941,
943,
944,
946,
947,
948,
949,
950,
951,
952,
953,
960,
965,
967,
968,
969,
970,
971,
972,
973,
975,
976,
977,
978,
979,
980,
981,
984,
985,
986,
990,
994,
997
tax
number<double> | null
Required range: 0 <= x <= 999999999.99
surcharge
number<double> | null
Required range: 0 <= x <= 999999999.99
discount
number<double> | null
Required range: 0 <= x <= 999999999.99
subtotal
number<double> | null
Required range: 0 <= x <= 999999999.99
collect_shipping
boolean | null
send_receipt
boolean

Default: false

Example: false

thank_you_url
string | null

The Thank You Url to show when an order is placed at the end of the checkout flow.

subscription
object
customer_defined_field
object | null
submit_button_text
string | null
allow_ach
boolean | null
three_ds_enabled
boolean | null

Response

OK

url
string | null
request_id
string
default:000000000000000000000
Required string length: 1 - 100
errors
object[] | null