This is an API reference for the Transaction Risk Screening service.
- Initiate standalone fraud screening
Transaction risk screening service API
Initiate standalone fraud...
Transaction risk screening service API (1.0.0)
Download OpenAPI description
Languages
Servers
Production environment
https://api-services.pxp.io/api/v1/
Sandbox environment
https://api-services.test.pxp.io/api/v1/
Bodyapplication/jsonrequired
Your unique merchant identifier, as assigned by PXP.
Example: "MERCHANT123"
The channel through which the transaction was initiated.
Example: "ACME_IOS_APP"
The unique session identifier for the customer's end-user session on your site or app. This must be the same session ID used in the device data collection from the client-side Kount SDK.
The date and time when the order was placed, in ISO 8601 format.
Example: "2024-01-15T10:30:00Z"
Array of details about the payment transactions made for the order.
- Production environment
https://api-services.pxp.io/api/v1/transaction-risk-screenings/standalone
- Sandbox environment
https://api-services.test.pxp.io/api/v1/transaction-risk-screenings/standalone
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api-services.pxp.io/api/v1/transaction-risk-screenings/standalone \
-H 'Content-Type: application/json' \
-d '{
"merchantGroup": "GROUP123",
"merchant": "MERCH123",
"site": "SITE123",
"performRiskScreening": true,
"excludeDeviceData": false,
"channel": "web",
"deviceSessionId": "abc123-def456-ghi789",
"creationDateTime": "2024-01-15T10:30:00Z",
"userIp": "192.168.1.100",
"account": {
"id": "user123456",
"type": "registered",
"creationDateTime": "2023-06-15T08:00:00Z",
"username": "john.doe@pxp.io",
"accountIsActive": true
},
"items": [
{
"id": "item001",
"price": 2999,
"description": "Wireless Bluetooth Headphones",
"name": "Premium Headphones",
"quantity": 1,
"category": "Electronics",
"subCategory": "Audio",
"isDigital": false,
"sku": "SKU-WBH-001",
"upc": "123456789012",
"brand": "TechBrand",
"url": "https://example.com/products/wireless-headphones",
"imageUrl": "https://example.com/images/headphones.jpg",
"physicalAttributes": {
"color": "Black",
"size": "Medium",
"weight": "250g",
"height": "20cm",
"width": "15cm",
"depth": "8cm"
},
"descriptors": [
"wireless",
"bluetooth",
"noise-cancelling"
],
"isService": false
}
],
"fulfillments": [
{
"type": "SHIPPED",
"shipping": {
"shippingAmount": 599,
"shippingProvider": "FedEx",
"trackingNumber": "1234567890123456",
"shippingMethod": "STANDARD"
},
"items": [
{
"id": "item001",
"quantity": 1
}
],
"status": "PENDING",
"accessUrl": null,
"store": null,
"recipientPerson": {
"name": {
"first": "John",
"middle": "A",
"family": "Doe",
"prefix": "Mr",
"suffix": null,
"preferred": "John"
},
"emailAddress": "john.doe@example.com",
"phoneNumber": "+1-555-123-4567",
"address": {
"line1": "123 Main Street",
"line2": "Apt 4B",
"city": "New York",
"region": "NY",
"countryCode": "US",
"postalCode": "10001"
},
"dateOfBirth": "1990-05-15"
},
"merchantFulfillmentId": "FULFILL-001"
}
],
"transactions": [
{
"merchantTransactionId": "TXN-20240115-001",
"processor": "stripe",
"processorMerchantId": "acct_1234567890",
"payment": {
"type": "CREDIT_CARD",
"paymentToken": "tok_1234567890abcdef",
"bin": "424242",
"last4": "4242"
},
"subtotal": 2999,
"orderTotal": 3598,
"currency": "USD",
"tax": {
"isTaxable": true,
"taxableCountryCode": "US",
"taxAmount": 240,
"outOfStateTaxAmount": 0
},
"billedPerson": {
"name": {
"first": "John",
"middle": "A",
"family": "Doe",
"prefix": "Mr",
"suffix": null,
"preferred": "John"
},
"emailAddress": "john.doe@example.com",
"phoneNumber": "+1-555-123-4567",
"address": {
"line1": "123 Main Street",
"line2": "Apt 4B",
"city": "New York",
"region": "NY",
"countryCode": "US",
"postalCode": "10001"
},
"dateOfBirth": "1990-05-15"
},
"transactionStatus": "AUTHORIZED",
"authorizationStatus": {
"authResult": "Approved",
"dateTime": "2024-01-15T10:30:15Z",
"verificationResponse": {
"avsStatus": "Y",
"cvvStatus": "Match"
},
"declineCode": null,
"processorAuthCode": "AUTH123456",
"processorTransactionId": "pi_1234567890abcdef",
"acquirerReferenceNumber": "ACQ789012345"
},
"items": [
{
"id": "item001",
"quantity": 1
}
]
}
],
"promotions": [
{
"id": "PROMO-WINTER2024",
"description": "Winter Sale - 10% off electronics",
"status": "active",
"statusReason": "promotion_applied",
"discount": {
"percentage": 0.1,
"amount": 300,
"currency": "USD"
},
"credit": null
}
],
"loyalty": {
"id": "LOYALTY-12345",
"description": "Premium Member Rewards",
"credit": {
"creditType": "points",
"amount": 150,
"currency": "USD"
}
},
"customFields": {
"example-custom-field-1": "AFF-001"
}
}'
Response
application/json
{ "riskScreeningId": "e721acfa-f844-4bec-9007-47eb07dcb117", "providerResults": { "kount": { … } } }