-
Notifications
You must be signed in to change notification settings - Fork 0
/
create_transaction.json
49 lines (48 loc) · 1.33 KB
/
create_transaction.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"merchantId":"bb15dc52-86e2-45c0-b5ab-889aebf7a1d6", /*(You can get this merchantId from the response of createMerchant or getMerchantId function)*/
"payerId":"cc15dc54-98e2-45d0-b5ab-113aebf7a1e9", /* (You can get payerId from listing of payers api) */
"payerName":"",
"title":"",
"currency": "USD",
"isRecurring": false,
"invoiceNumber":"",
"invoiceDate":"MM/DD/YYYY",
"dueDate": "MM/DD/YYYY",
"displayItems": [
{
"serviceCode": "#1245",
"serviceName": "Teeth Cleaning",
"description": "laurem ipsum",
"amount": {
"value": "2.50",
"tax":"",
"discount":"",
"currency": "USD"
}
},
{
"serviceCode": "#1247",
"serviceName": "Teeth Cleaning",
"description": "laurem ipsum",
"amount": {
"value": "2.50",
"tax":"",
"discount":"",
"currency": "USD"
}
}
],
"total": {
"label": "My Merchant",
"amount": {
"subTotal":"",
"tax":"",
"discount":"",
"value": "5000",
"currency": "USD"
}
},
"data": {
"paymentMethodType": "CREDIT_CARD"
}
}