Widget SDK Reference
Examples
Paysight API
Email Services
Payment API
- Card
Customer Service API
- API Reference
Admin API
- MerchantAccounts
- Transactions
Mitigation API
- API for Chargeback Mitigation Providers
API Reference
Detail
Get full transaction details, including session data, address info and subscription related info
POST
/
detail
Copy
curl --request POST \
--url https://test.paysight.io/customerapi/detail \
--header 'Content-Type: application/json' \
--data '{
"parentCompanyId": 1,
"userEmail": "care@yourdomain.com",
"id": "fd6562a1-e0e7-4b8b-b0d4-f20359482dd1",
"getSearchData": true,
"getAddressData": true,
"getSubscription": true,
"getSessionData": true
}'
Copy
{
"success": true,
"message": "",
"transaction": {
"gateway": "Decline Defense",
"messageID": "429b7902-33de-416c-ab98-3d165870bcec",
"orderId": 191582180,
"sent": "2023-11-07T05:31:56Z",
"email": "shanec@paysight.io",
"application": "Sub Start MID Retry",
"applicationID": 209,
"customerID": 38284156,
"shortcodeID": 1533,
"billingCode": "FlexCharge - CommerceConnect - Grand Med",
"data": "19 Day Renewal.Charge FAILED: Do Not Honor - 29.990 NMITransId:9943005219 FlexCharge rescue attempt",
"status": "Submitted",
"statusID": 1789,
"success": false,
"completed": "<string>",
"premium": 1,
"currency": "USD",
"pricePointID": 31566,
"pricePoint": "$29.990",
"priceVal": 29.99,
"product": "US - RibbedDecor",
"productID": 8324,
"campaign": "None/Unassigned",
"campaignID": 0,
"shopId": 1300430925,
"storeName": "Ribbedecor",
"storeDomain": "www.ribbedecor.com",
"storeRootDomain": "ribbedecor.com",
"merchantAccountId": 608,
"midName": "DeclineDefense - Commerce Connect - Grand Media",
"mid": "flexComConGrandMedia",
"companyId": 103,
"company": "Grand Media Inc.",
"parentCompanyId": 100,
"parentCompany": "Commerce Connect",
"bin": "535456",
"last4": 1742,
"sessionId": "20240829140820431062231114683",
"name": "Shane Connolly",
"refundable": false,
"refunded": false,
"hasAlert": false,
"chargedBack": false,
"attempt": 2,
"authOnly": false,
"paymentNumber": 1,
"totalAttempt": 2,
"refundSource": 0,
"alertType": 0,
"alertSource": 0,
"originalMessageId": "<string>",
"originalApplicationId": 209,
"originalApplication": "Sub Start MID Retry",
"storeCurrency": "USD",
"blackListing": 0,
"alertSourceName": "Unassigned",
"alertTypeName": "Unassigned",
"refundSourceName": "Unassigned",
"childTransactions": [
{}
]
},
"addressData": {
"addressType": "DEFAULT",
"email": "joe@bloggs.com",
"orderId": 1095654254,
"messageId": "fd6562a1-e0e7-4b8b-b0d4-f20359482dd1",
"firstName": "Joe",
"lastName": "Bloggs",
"address": "Apartment 4a, 387 Central Drive",
"city": "Pittsburg",
"postalCode": "90210",
"state": "CA",
"countryCode": "US",
"phone": "212-918-5634"
},
"subscriptions": [
{
"parentCompanyId": 1,
"companyId": 1,
"company": "ACME corp",
"id": 7990926,
"customerID": 33722514,
"subDate": "2024-09-19T15:22:50.973",
"orderId": 1095654254,
"active": true,
"unsubDate": "2024-09-26T15:22:50.973",
"subscription": "Great Content Service 1",
"subscriptionDescription": "Great Content Service",
"realStartDate": "2024-09-20T15:22:50.973",
"rebillAmount": 29.99,
"frequency": 30,
"merchantAccountId": 547,
"midName": "US - Awesome Brand - Payarc - Axiom",
"mid": "10000051215420",
"frozen": false,
"rebillDate": "<string>"
}
],
"sessionData": {
"id": "202409191522153660214662",
"ip": "232.56.99.102",
"useragent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0",
"url": "https://yoursite.com/youroffer",
"timestamp": "2024-09-19T15:22:50.973",
"ipCity": "Dublin",
"ipCountryCode": "Ireland"
}
}
Body
application/json
Payload
The body is of type object
.
Response
200 - application/json
Valid Request. More detailed info will be in the JSON body
The response is of type object
.
Copy
curl --request POST \
--url https://test.paysight.io/customerapi/detail \
--header 'Content-Type: application/json' \
--data '{
"parentCompanyId": 1,
"userEmail": "care@yourdomain.com",
"id": "fd6562a1-e0e7-4b8b-b0d4-f20359482dd1",
"getSearchData": true,
"getAddressData": true,
"getSubscription": true,
"getSessionData": true
}'
Copy
{
"success": true,
"message": "",
"transaction": {
"gateway": "Decline Defense",
"messageID": "429b7902-33de-416c-ab98-3d165870bcec",
"orderId": 191582180,
"sent": "2023-11-07T05:31:56Z",
"email": "shanec@paysight.io",
"application": "Sub Start MID Retry",
"applicationID": 209,
"customerID": 38284156,
"shortcodeID": 1533,
"billingCode": "FlexCharge - CommerceConnect - Grand Med",
"data": "19 Day Renewal.Charge FAILED: Do Not Honor - 29.990 NMITransId:9943005219 FlexCharge rescue attempt",
"status": "Submitted",
"statusID": 1789,
"success": false,
"completed": "<string>",
"premium": 1,
"currency": "USD",
"pricePointID": 31566,
"pricePoint": "$29.990",
"priceVal": 29.99,
"product": "US - RibbedDecor",
"productID": 8324,
"campaign": "None/Unassigned",
"campaignID": 0,
"shopId": 1300430925,
"storeName": "Ribbedecor",
"storeDomain": "www.ribbedecor.com",
"storeRootDomain": "ribbedecor.com",
"merchantAccountId": 608,
"midName": "DeclineDefense - Commerce Connect - Grand Media",
"mid": "flexComConGrandMedia",
"companyId": 103,
"company": "Grand Media Inc.",
"parentCompanyId": 100,
"parentCompany": "Commerce Connect",
"bin": "535456",
"last4": 1742,
"sessionId": "20240829140820431062231114683",
"name": "Shane Connolly",
"refundable": false,
"refunded": false,
"hasAlert": false,
"chargedBack": false,
"attempt": 2,
"authOnly": false,
"paymentNumber": 1,
"totalAttempt": 2,
"refundSource": 0,
"alertType": 0,
"alertSource": 0,
"originalMessageId": "<string>",
"originalApplicationId": 209,
"originalApplication": "Sub Start MID Retry",
"storeCurrency": "USD",
"blackListing": 0,
"alertSourceName": "Unassigned",
"alertTypeName": "Unassigned",
"refundSourceName": "Unassigned",
"childTransactions": [
{}
]
},
"addressData": {
"addressType": "DEFAULT",
"email": "joe@bloggs.com",
"orderId": 1095654254,
"messageId": "fd6562a1-e0e7-4b8b-b0d4-f20359482dd1",
"firstName": "Joe",
"lastName": "Bloggs",
"address": "Apartment 4a, 387 Central Drive",
"city": "Pittsburg",
"postalCode": "90210",
"state": "CA",
"countryCode": "US",
"phone": "212-918-5634"
},
"subscriptions": [
{
"parentCompanyId": 1,
"companyId": 1,
"company": "ACME corp",
"id": 7990926,
"customerID": 33722514,
"subDate": "2024-09-19T15:22:50.973",
"orderId": 1095654254,
"active": true,
"unsubDate": "2024-09-26T15:22:50.973",
"subscription": "Great Content Service 1",
"subscriptionDescription": "Great Content Service",
"realStartDate": "2024-09-20T15:22:50.973",
"rebillAmount": 29.99,
"frequency": 30,
"merchantAccountId": 547,
"midName": "US - Awesome Brand - Payarc - Axiom",
"mid": "10000051215420",
"frozen": false,
"rebillDate": "<string>"
}
],
"sessionData": {
"id": "202409191522153660214662",
"ip": "232.56.99.102",
"useragent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0",
"url": "https://yoursite.com/youroffer",
"timestamp": "2024-09-19T15:22:50.973",
"ipCity": "Dublin",
"ipCountryCode": "Ireland"
}
}
Assistant
Responses are generated using AI and may contain mistakes.