resp_test.py
4.76 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
INQ_RESP = \
{
"additionalData": "361198483250691012345678901234564 54P879211 3603110611710004 TUMINO NUANSA MEKARSARI B - 1 / 15 RT 004/006 KA 3538 XCBIRU 001SEPEDA MOTOR R2YAMAHA 54P (CAST WHEEL) AT 20132020090920210909000000000000000000000000000000154000000000000000000000035000000000000000000000000000000000000000000000189000SUKSES 01",
"aggregatorCode": "W0216",
"amountInformation": {
"billAmount": "890000",
"feeAggregator": "0",
"feeBJB": "0",
"totalAmount": "890000"
},
"amountTransaction": "890000",
"billInformation": {
"bills": [
{
"info": "1000000108767"
}, {
"info": "ALBUS DUMBLEDORE"
}, {
"info": "BLACK MAGIC"
}, {
"info": "BLACK MAGIC 101"
}, {
"info": "890000"
}, {
"info": "0"
}, {
"info": "2019"
}, {
"info": "0"
}, {
"info": " "
}, {
"info": " REG"
}, {
"info": " "
}
]
},
"caCode": "CA1830",
"currencyCode": "360",
"destinationAccountNumber": "0012199936360 ",
"featureCode": "009",
"localTransactionDate": "0326",
"merchantType": "6015",
"pay": "PAY",
"posEntryModeCode": "110",
"primaryAccountNumber": "622011888888888888",
"processingCode": "321000",
"responseCode": "00",
"sequenceNumber": "000000880977",
"settlementDate": "0326",
"sourceAccountNumber": "0098889231001",
"systemTraceAuditNumber": "880977",
"terminalAggregator": {
"cardAcceptorName": "NAEE ",
"terminalIdentifierNumber": "1 ",
"terminalName": "TERM "
},
"timeLocalTransaction": "090210",
"track2Data": "622011888888888888=9912?",
"transmissionDateTime": "0107180458"
}
# PAYMENT
PAY_RESP = \
{
"additionalData": "'361198483250691012345678901234564 54P879211 3603110611710004 TUMINO NUANSA MEKARSARI B - 1 / 15 RT 004/006 KA 3538 XCBIRU 001SEPEDA MOTOR R2YAMAHA 54P (CAST WHEEL) AT 20132020090920210909000000000000000000000000000000154000000000000000000000035000000000000000000000000000000000000000000000189000SUKSES 01",
"aggregatorCode": "W0216",
"amountInformation": {
"billAmount": "206500",
"feeAggregator": "0",
"feeBJB": "0",
"totalAmount": "206500"
},
"amountTransaction": "000000890000",
"billInformation": {
"bills": [{
"info": "1000000108767"
}, {
"info": "ALBUS DUMBLEDORE"
}, {
"info": "BLACK MAGIC"
}, {
"info": "BLACK MAGIC 101"
}, {
"info": "890000"
}, {
"info": "0"
}, {
"info": "2019"
}, {
"info": "0"
}, {
"info": " "
}, {
"info": " REG"
}, {
"info": " "
}
]
},
"caCode": "CA1830",
"currencyCode": "360",
"destinationAccountNumber": "0012199936360 ",
"featureCode": "009",
"localTransactionDate": "0326",
"merchantType": "6015",
"numberTransactionBank": '1234567890',
"numberTransactionP": '0987654321',
"pay": "PAY",
"posEntryModeCode": "110",
"primaryAccountNumber": "622011888888888888",
"processingCode": "521000",
"responseCode": "00",
"sequenceNumber": "000000502959",
"settlementDate": "0326",
"sourceAccountNumber": "0098889231001",
"systemTraceAuditNumber": "502959",
"terminalAggregator": {
"cardAcceptorName": "NAEE ",
"terminalIdentifierNumber": "1 ",
"terminalName": "TERM "
},
"timeLocalTransaction": "090210",
"track2Data": "622011888888888888=9912?",
"transmissionDateTime": "0107180458"
}