Skip to content

Commit d849403

Browse files
docs(openapi): update /relay request example (#6942)
1 parent b6249f2 commit d849403

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

api-reference/openapi_spec.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -990,8 +990,10 @@
990990
"connector_id": "mca_5apGeP94tMts6rg3U3kR",
991991
"connector_resource_id": "7256228702616471803954",
992992
"data": {
993-
"amount": 6540,
994-
"currency": "USD"
993+
"refund": {
994+
"amount": 6540,
995+
"currency": "USD"
996+
}
995997
},
996998
"type": "refund"
997999
}

crates/openapi/src/routes/relay.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@
1313
"connector_id": "mca_5apGeP94tMts6rg3U3kR",
1414
"type": "refund",
1515
"data": {
16-
"amount": 6540,
17-
"currency": "USD"
16+
"refund": {
17+
"amount": 6540,
18+
"currency": "USD"
19+
}
1820
}
1921
})
2022
)

0 commit comments

Comments
 (0)