Process Single Transaction
Process Single Transaction is used to create transactions on carts in ZAPI.
get
https://api.cakes.com
/zapi/
zapiProcessSingleTransaction
Request
Second Tab
1
<?xml version="1.0" encoding="UTF-8"?>
2
<request>
3
<zapiToken></zapiToken>
4
<zapiUserId></zapiUserId>
5
<zapiAccountId></zapiAccountId>
6
<zapiMethod>
7
<methodName>zapiProcessSingleTransaction</methodName>
8
<location>
9
<altitude/>
10
<latitude />
11
<longitude />
12
<locationTimestamp>YYYY-MM-DD HH:MM:SS</locationTimestamp>
13
<primaryAccountId />
14
<secondaryAccountId />
15
</location>
16
<cartId>CART_ID_STRING</cartId>
17
<transactionDetails>
18
<transactionType>2000</transactionType>
19
<transactionAmount>40.0</transactionAmount>
20
<currency>
21
<isoCode>CAD</isoCode>
22
</currency>
23
<creditCardDetails>
24
<stripePaymentMethodId>pm_STRIPE_METHOD_ID</stripePaymentMethodId>
25
<stripePaymentIntentId>pm_STRIPE_INTENT_ID</stripePaymentIntentId>
26
<token />
27
<nameOnCard />
28
<number />
29
<expMonth />
30
<expYear />
31
<csv />
32
</creditCardDetails>
33
<gratuityDetails>
34
<gratuityId>0</gratuityId>
35
<gratuityTypeId>0</gratuityTypeId>
36
</gratuityDetails>
37
<details />
38
</transactionDetails>
39
</zapiMethod>
40
</request>
Copied!
Last modified 2mo ago
Copy link