Skip to content

Commit 49cc4a7

Browse files
committed
fix(payment): PAYMENTS-11168 Update transaction created webhook order id to be string
1 parent 441540e commit 49cc4a7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/integrations/webhooks/events/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ Payload objects with the following scopes take the form that follows:
607607
"store_id": "1025646",
608608
"data": {
609609
"type": "transaction", // will always be transaction
610-
"order_id": 250, // ID of the order associated with the transaction
610+
"order_id": "250", // ID of the order associated with the transaction
611611
"transaction_id": "176342342", // ID of the transaction; created by the payment provider
612612
"transaction_status": "complete",
613613
"transaction_type": "capture",

docs/webhooks/callbacks/store_order_transaction_created.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ properties:
1818
type: object
1919
properties:
2020
order_id:
21-
type: integer
21+
type: string
2222
transaction_id:
2323
type: string
2424
type:

0 commit comments

Comments
 (0)