Newer Version Available
VPL360_UpsertPayMethodOrderPayment
This Integration Procedure saves the Order Payment and
Payment Method objects.
Sample Input
1{
2 "Type": "payment_intent.succeeded",
3 "CreatedDate": "2020-11-04T11:16:30.000Z",
4 "EventId": "evt_1HjjycKOGFB3U5JQ2sIYz9nt",
5 "capture_method": "automatic",
6 "Customer": "cus_IPY1hRh7iVsOo5",
7 "PaymentReceived": "2589",
8 "PaymentIntentId": "pi_1HjjybKOGFB3U5JQK4m3Xw9V",
9 "OrderId": "8014W000001ZG0DQAW",
10 "AccountId": "0014W00002AWE4EQAX",
11 "PaymentMethod": "card_1HifbFKOGFB3U5JQmq1KoLGS"
12}|
Parameter |
Required/Optional |
|---|---|
|
AccountId |
Required |
|
capture_method |
Required |
|
CreatedDate |
Required |
|
Customer |
Required |
|
EventId |
Required |
|
OrderId |
Required |
|
PaymentIntentId |
Required |
|
PaymentMethod |
Required |
|
PaymentReceived |
Required |
|
Type |
Required |
Sample Output
1{
2 "OrderId": "",
3 "OrderPaymentId": "a5i4x0000000QIZAA2",
4 "PaymentMethodId": "a4m4x0000000Yq1AAE",
5 "Upsert": "Success"
6}Called By
-
Flows:
-
Web shop: Webhook Integration Procedure that listens to Stripe
-