Skip to content

Commit 1d7df4b

Browse files
docs(openapi): re-generate OpenAPI specification
1 parent 8c8456a commit 1d7df4b

File tree

2 files changed

+304
-0
lines changed

2 files changed

+304
-0
lines changed

api-reference/v1/openapi_spec_v1.json

Lines changed: 226 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7246,6 +7246,13 @@
72467246
"example": "Doe",
72477247
"nullable": true,
72487248
"maxLength": 255
7249+
},
7250+
"origin_zip": {
7251+
"type": "string",
7252+
"description": "The zip/postal code of the origin",
7253+
"example": "08807",
7254+
"nullable": true,
7255+
"maxLength": 50
72497256
}
72507257
},
72517258
"additionalProperties": false
@@ -13301,6 +13308,12 @@
1330113308
"example": "+1",
1330213309
"nullable": true,
1330313310
"maxLength": 2
13311+
},
13312+
"tax_registration_id": {
13313+
"type": "string",
13314+
"description": "The tax registration identifier of the customer.",
13315+
"nullable": true,
13316+
"maxLength": 255
1330413317
}
1330513318
}
1330613319
},
@@ -13644,6 +13657,13 @@
1364413657
"type": "object",
1364513658
"description": "You can specify up to 50 keys, with key names up to 40 characters long and values up to 500\ncharacters long. Metadata is useful for storing additional, structured information on an\nobject.",
1364613659
"nullable": true
13660+
},
13661+
"tax_registration_id": {
13662+
"type": "string",
13663+
"description": "Customer's tax registration ID",
13664+
"example": "123456789",
13665+
"nullable": true,
13666+
"maxLength": 255
1364713667
}
1364813668
}
1364913669
},
@@ -13721,6 +13741,13 @@
1372113741
"example": "pm_djh2837dwduh890123",
1372213742
"nullable": true,
1372313743
"maxLength": 64
13744+
},
13745+
"tax_registration_id": {
13746+
"type": "string",
13747+
"description": "The customer's tax registration number.",
13748+
"example": "123456789",
13749+
"nullable": true,
13750+
"maxLength": 255
1372413751
}
1372513752
}
1372613753
},
@@ -13775,6 +13802,13 @@
1377513802
"type": "object",
1377613803
"description": "You can specify up to 50 keys, with key names up to 40 characters long and values up to 500\ncharacters long. Metadata is useful for storing additional, structured information on an\nobject.",
1377713804
"nullable": true
13805+
},
13806+
"tax_registration_id": {
13807+
"type": "string",
13808+
"description": "Customer's tax registration ID",
13809+
"example": "123456789",
13810+
"nullable": true,
13811+
"maxLength": 255
1377813812
}
1377913813
}
1378013814
},
@@ -19349,6 +19383,43 @@
1934919383
"type": "string",
1935019384
"description": "The tax code for the product",
1935119385
"nullable": true
19386+
},
19387+
"description": {
19388+
"type": "string",
19389+
"description": "Description for the item",
19390+
"nullable": true
19391+
},
19392+
"sku": {
19393+
"type": "string",
19394+
"description": "Stock Keeping Unit (SKU) or the item identifier for this item.",
19395+
"nullable": true
19396+
},
19397+
"upc": {
19398+
"type": "string",
19399+
"description": "Universal Product Code for the item.",
19400+
"nullable": true
19401+
},
19402+
"commodity_code": {
19403+
"type": "string",
19404+
"description": "Code describing a commodity or a group of commodities pertaining to goods classification.",
19405+
"nullable": true
19406+
},
19407+
"unit_of_measure": {
19408+
"type": "string",
19409+
"description": "Unit of measure used for the item quantity.",
19410+
"nullable": true
19411+
},
19412+
"unit_price": {
19413+
"type": "integer",
19414+
"format": "int64",
19415+
"description": "Cost price for the item.",
19416+
"nullable": true
19417+
},
19418+
"unit_discount_amount": {
19419+
"type": "integer",
19420+
"format": "int64",
19421+
"description": "Discount amount applied to this item.",
19422+
"nullable": true
1935219423
}
1935319424
}
1935419425
},
@@ -22441,6 +22512,43 @@
2244122512
}
2244222513
],
2244322514
"nullable": true
22515+
},
22516+
"tax_status": {
22517+
"allOf": [
22518+
{
22519+
"$ref": "#/components/schemas/TaxStatus"
22520+
}
22521+
],
22522+
"nullable": true
22523+
},
22524+
"discount_amount": {
22525+
"type": "integer",
22526+
"format": "int64",
22527+
"description": "Total amount of the discount you have applied to the order or transaction.",
22528+
"example": 6540,
22529+
"nullable": true
22530+
},
22531+
"shipping_amount_tax": {
22532+
"allOf": [
22533+
{
22534+
"$ref": "#/components/schemas/MinorUnit"
22535+
}
22536+
],
22537+
"nullable": true
22538+
},
22539+
"duty_amount": {
22540+
"allOf": [
22541+
{
22542+
"$ref": "#/components/schemas/MinorUnit"
22543+
}
22544+
],
22545+
"nullable": true
22546+
},
22547+
"customer_order_date": {
22548+
"type": "string",
22549+
"format": "date-time",
22550+
"description": "Date the payer placed the order.",
22551+
"nullable": true
2244422552
}
2244522553
}
2244622554
},
@@ -22872,6 +22980,43 @@
2287222980
}
2287322981
],
2287422982
"nullable": true
22983+
},
22984+
"tax_status": {
22985+
"allOf": [
22986+
{
22987+
"$ref": "#/components/schemas/TaxStatus"
22988+
}
22989+
],
22990+
"nullable": true
22991+
},
22992+
"discount_amount": {
22993+
"type": "integer",
22994+
"format": "int64",
22995+
"description": "Total amount of the discount you have applied to the order or transaction.",
22996+
"example": 6540,
22997+
"nullable": true
22998+
},
22999+
"shipping_amount_tax": {
23000+
"allOf": [
23001+
{
23002+
"$ref": "#/components/schemas/MinorUnit"
23003+
}
23004+
],
23005+
"nullable": true
23006+
},
23007+
"duty_amount": {
23008+
"allOf": [
23009+
{
23010+
"$ref": "#/components/schemas/MinorUnit"
23011+
}
23012+
],
23013+
"nullable": true
23014+
},
23015+
"customer_order_date": {
23016+
"type": "string",
23017+
"format": "date-time",
23018+
"description": "Date the payer placed the order.",
23019+
"nullable": true
2287523020
}
2287623021
}
2287723022
},
@@ -24189,6 +24334,43 @@
2418924334
}
2419024335
],
2419124336
"nullable": true
24337+
},
24338+
"tax_status": {
24339+
"allOf": [
24340+
{
24341+
"$ref": "#/components/schemas/TaxStatus"
24342+
}
24343+
],
24344+
"nullable": true
24345+
},
24346+
"discount_amount": {
24347+
"type": "integer",
24348+
"format": "int64",
24349+
"description": "Total amount of the discount you have applied to the order or transaction.",
24350+
"example": 6540,
24351+
"nullable": true
24352+
},
24353+
"shipping_amount_tax": {
24354+
"allOf": [
24355+
{
24356+
"$ref": "#/components/schemas/MinorUnit"
24357+
}
24358+
],
24359+
"nullable": true
24360+
},
24361+
"duty_amount": {
24362+
"allOf": [
24363+
{
24364+
"$ref": "#/components/schemas/MinorUnit"
24365+
}
24366+
],
24367+
"nullable": true
24368+
},
24369+
"customer_order_date": {
24370+
"type": "string",
24371+
"format": "date-time",
24372+
"description": "Date the payer placed the order.",
24373+
"nullable": true
2419224374
}
2419324375
},
2419424376
"additionalProperties": false
@@ -25375,6 +25557,43 @@
2537525557
}
2537625558
],
2537725559
"nullable": true
25560+
},
25561+
"tax_status": {
25562+
"allOf": [
25563+
{
25564+
"$ref": "#/components/schemas/TaxStatus"
25565+
}
25566+
],
25567+
"nullable": true
25568+
},
25569+
"discount_amount": {
25570+
"type": "integer",
25571+
"format": "int64",
25572+
"description": "Total amount of the discount you have applied to the order or transaction.",
25573+
"example": 6540,
25574+
"nullable": true
25575+
},
25576+
"shipping_amount_tax": {
25577+
"allOf": [
25578+
{
25579+
"$ref": "#/components/schemas/MinorUnit"
25580+
}
25581+
],
25582+
"nullable": true
25583+
},
25584+
"duty_amount": {
25585+
"allOf": [
25586+
{
25587+
"$ref": "#/components/schemas/MinorUnit"
25588+
}
25589+
],
25590+
"nullable": true
25591+
},
25592+
"customer_order_date": {
25593+
"type": "string",
25594+
"format": "date-time",
25595+
"description": "Date the payer placed the order.",
25596+
"nullable": true
2537825597
}
2537925598
}
2538025599
},
@@ -30940,6 +31159,13 @@
3094031159
"SwishQrData": {
3094131160
"type": "object"
3094231161
},
31162+
"TaxStatus": {
31163+
"type": "string",
31164+
"enum": [
31165+
"taxable",
31166+
"exempt"
31167+
]
31168+
},
3094331169
"ThirdPartySdkSessionResponse": {
3094431170
"type": "object",
3094531171
"required": [

0 commit comments

Comments
 (0)