documentation
Search…
Transactions status

Transaction Reports

There are currently 2 ways to get a report with the details of an existing payment:

Transaction Search Using paymentId

Request
Response
1
curl -G https://test.oppwa.com/v1/query/{id} \
2
-d "entityId=8a8294174e918ca6014e9c6f5ae12a9c" \
3
-H "Authorization: Bearer OGE4Mjk0MTcyODFiOGVlMzAxMjgyOTkwNjZmNTBjZGJ8ZGVtbw=="
Copied!
1
{
2
"id":"8ac7a4a277bb37680177ca9e266d3192",
3
"paymentType":"DB",
4
"paymentBrand":"MASTER",
5
"amount":"5670.30",
6
"currency":"BRL",
7
"descriptor":"12345 Usage",
8
"merchantTransactionId":"ABCDEF12345",
9
"recurringType":"INITIAL",
10
"result":{
11
"code":"000.100.112",
12
"description":"Request successfully processed in 'Merchant in Connector Test Mode'"
13
},
14
"resultDetails":{
15
"ConnectorTxID1":"8ac7a4a277bb37680177ca9e266d3192",
16
"connectorInstanceId":"10.2.4.54",
17
"acquirerReturnCode":"6",
18
"ExtendedDescription":"Transaction succeeded",
19
"acquirerTxId3":"8ac7a4a277bb37680177ca9e266d3192",
20
"merchantAccount":"Cielo_ACON3_STAGING",
21
"acquirerResponse1":"0222014139193",
22
"acquirerResponse2":"641213",
23
"connectorVersion":"3.2.35",
24
"AcquirerResponse":"000.000.000",
25
"connectorName":"Cielo",
26
"acquirerReturnMessage":"Operation Successful",
27
"acquirerInitialTxId":"4404e7cc-0321-42c2-a60b-4c603faeb44c",
28
"acquirerTxId1":"4404e7cc-0321-42c2-a60b-4c603faeb44c",
29
"acquirerTxId2":"0222014139193#[email protected]"
30
},
31
"card":{
32
"bin":"522864",
33
"binCountry":"UA",
34
"last4Digits":"0691",
35
"holder":"John Doe",
36
"expiryMonth":"05",
37
"expiryYear":"2022"
38
},
39
"customer":{
40
"givenName":"John",
41
"surname":"Doe",
42
"merchantCustomerId":"11438374798",
43
"email":"[email protected]",
44
"ip":"127.0.0.116"
45
},
46
"billing":{
47
"street1":"Rua Itapeva 547",
48
"city":"Sao Paulo",
49
"state":"SP",
50
"postcode":"02702500",
51
"country":"BR"
52
},
53
"customParameters":{
54
"product":"1 month membership",
55
"CTPE_DESCRIPTOR_TEMPLATE":"${USAGE}",
56
"merchant_website":"www.store.com"
57
},
58
"risk":{
59
"score":"0"
60
},
61
"buildNumber":"[email protected] 14:09:46 +0000",
62
"timestamp":"2021-02-22 16:41:39+0000",
63
"ndc":"8a8294174e918ca6014e9c6f5ae12a9c_438a0a920f1841a4958fcc081a98dede"
64
}
Copied!

Transaction Search Using merchantTransactionId

Request
Response
1
curl -G https://test.oppwa.com/v1/query \
2
-d "entityId=8a8294174e918ca6014e9c6f5ae12a9c" \
3
-d "merchantTransactionId=ABCDEF12345" \
4
-H "Authorization: Bearer OGE4Mjk0MTcyODFiOGVlMzAxMjgyOTkwNjZmNTBjZGJ8ZGVtbw=="
Copied!
1
{
2
"result":{
3
"code":"000.000.100",
4
"description":"successful request"
5
},
6
"buildNumber":"[email protected] 14:09:46 +0000",
7
"timestamp":"2021-02-22 16:41:59+0000",
8
"ndc":"8a8294174e918ca6014e9c6f5ae12a9c_f50552ba366a4cd2b79ac72098b05b35",
9
"payments":[
10
{
11
"id":"8ac7a4a277bb37680177ca9e266d3192",
12
"paymentType":"DB",
13
"paymentBrand":"MASTER",
14
"amount":"5670.30",
15
"currency":"BRL",
16
"descriptor":"12345 Usage",
17
"merchantTransactionId":"ABCDEF12345",
18
"recurringType":"INITIAL",
19
"result":{
20
"code":"000.100.112",
21
"description":"Request successfully processed in 'Merchant in Connector Test Mode'"
22
},
23
"resultDetails":{
24
"ConnectorTxID1":"8ac7a4a277bb37680177ca9e266d3192",
25
"connectorInstanceId":"10.2.4.54",
26
"acquirerReturnCode":"6",
27
"ExtendedDescription":"Transaction succeeded",
28
"acquirerTxId3":"8ac7a4a277bb37680177ca9e266d3192",
29
"merchantAccount":"Cielo_ACON3_STAGING",
30
"acquirerResponse1":"0222014139193",
31
"acquirerResponse2":"641213",
32
"connectorVersion":"3.2.35",
33
"AcquirerResponse":"000.000.000",
34
"connectorName":"Cielo",
35
"acquirerReturnMessage":"Operation Successful",
36
"acquirerInitialTxId":"4404e7cc-0321-42c2-a60b-4c603faeb44c",
37
"acquirerTxId1":"4404e7cc-0321-42c2-a60b-4c603faeb44c",
38
"acquirerTxId2":"0222014139193#[email protected]"
39
},
40
"card":{
41
"bin":"522864",
42
"binCountry":"UA",
43
"last4Digits":"0691",
44
"holder":"John Doe",
45
"expiryMonth":"05",
46
"expiryYear":"2022"
47
},
48
"customer":{
49
"givenName":"John",
50
"surname":"Doe",
51
"merchantCustomerId":"11438374798",
52
"email":"[email protected]",
53
"ip":"127.0.0.116"
54
},
55
"billing":{
56
"street1":"Rua Itapeva 547",
57
"city":"Sao Paulo",
58
"state":"SP",
59
"postcode":"02702500",
60
"country":"BR"
61
},
62
"customParameters":{
63
"product":"1 month membership",
64
"CTPE_DESCRIPTOR_TEMPLATE":"${USAGE}",
65
"merchant_website":"www.store.com"
66
},
67
"risk":{
68
"score":"0"
69
},
70
"timestamp":"2021-02-22 16:41:39+0000"
71
}
72
]
73
}
Copied!
Last modified 9mo ago