Download OpenAPI specification:Download
k1_integration_api
) riskInquiry | boolean query parameter to include risk inquiry |
excludeDevice | boolean query parameter to exclude device collection for orders originating from a call center environment or kiosk |
merchantOrderId required | string The merchant-provided unique identifier for this order. Uniqueness for this property is not enforced. |
channel | string Unique identifier of the website or app from where the order originated. |
deviceSessionId | string Unique identifier for the customer's end-user's session on the site/app. Must be the same session ID used in the device data collection from the client-side Kount SDK. Uniqueness for this property is not enforced, but customers should provide unique values. |
creationDateTime | string <date-time> YYYY-MM-DD'T'hh:mm:ss.fff'Z' The date and time that the order was placed. |
userIp | string <ipv4> The customer/merchant's end-user's IPv4 address (in dotted decimal notation), as identified by the customer/merchant. |
object (v1Account) | |
Array of objects (k360commonv1Item) Shopping cart data array of objects representing each item (separate SKU with quantity) in the order. | |
Array of objects (k360commonv1Fulfillment) An array of data properties about the fulfillment of the order. | |
Array of objects (k360commonv1Transaction) An array containing the properties of the payment transactions made for the order. | |
Array of objects (v1Promotion) An array containing all of the promotions applied to this order. | |
object (v1Loyalty) | |
customFields | object An object that allows passing in Custom Fields. Each key is the custom field's name as a string (max length: 32 characters). Each value is the custom field’s value as a date, boolean, string (max length: 256 characters), or number. Supported date format is RFC 3339 (ex: 2023-03-30T15:41:58Z). No object or array values are allowed. |
{- "merchantOrderId": "d121ea2210434ffc8a90daff9cc97e76",
- "channel": "ACME_IOS_APP",
- "deviceSessionId": "d121ea2210434ffc8a90daff9cc97e76",
- "creationDateTime": "2019-08-24T14:15:22Z",
- "userIp": "192.168.0.1",
- "account": {
- "id": "d121ea2210434ffc8a90daff9cc97e76",
- "type": "PRO_ACCOUNT",
- "creationDateTime": "2019-08-24T14:15:22Z",
- "username": "johndoe1983",
- "accountIsActive": true
}, - "items": [
- {
- "price": "100",
- "description": "Samsung 46\" LCD HDTV",
- "name": "LN46B610",
- "quantity": "1",
- "category": "TV",
- "subCategory": "OLED TV",
- "isDigital": true,
- "sku": "TSH-000-S",
- "upc": "03600029145",
- "brand": "LG",
- "physicalAttributes": {
- "color": "Midnight Purple",
- "size": "XL",
- "weight": "5 lbs.",
- "height": "12 in.",
- "width": "6 in.",
- "depth": "36 cm"
}, - "descriptors": [
- "halloween",
- "mask"
], - "id": "d121ea2210434ffc8a90daff9cc97e76",
- "isService": true
}
], - "fulfillment": [
- {
- "type": "DIGITAL",
- "shipping": {
- "amount": "893",
- "provider": "FEDEX",
- "trackingNumber": "TBA056059680404",
- "method": "EXPRESS"
}, - "recipientPerson": {
- "name": {
- "first": "William",
- "preferred": "Bill",
- "family": "Andrade",
- "middle": "Alexander",
- "prefix": "Ms.",
- "suffix": "III"
}, - "phoneNumber": "+12081234567",
- "emailAddress": "john.doe@example.com",
- "address": {
- "line1": "12345 MyStreet Ave",
- "line2": "Suite 256",
- "city": "Poplar Bluff",
- "region": "CO",
- "countryCode": "US",
- "postalCode": "63901-0000"
}, - "dateOfBirth": "string"
}, - "items": [
- {
- "id": "d121ea2210434ffc8a90daff9cc97e76",
- "quantity": 3
}
], - "status": "PENDING",
- "store": {
- "id": "d121ea2210434ffc8a90daff9cc97e76",
- "name": "10th & Main Acme Inc.",
- "address": {
- "line1": "12345 MyStreet Ave",
- "line2": "Suite 256",
- "city": "Poplar Bluff",
- "region": "CO",
- "countryCode": "US",
- "postalCode": "63901-0000"
}
}, - "merchantFulfillmentId": "d121ea2210434ffc8a90daff9cc97e76",
- "digitalDownloaded": true,
- "downloadDeviceIp": "192.168.1.27"
}
], - "transactions": [
- {
- "processor": "ADYEN",
- "processorMerchantId": "5206080947171696",
- "payment": {
- "type": "CREDIT_CARD",
- "paymentToken": "string",
- "bin": "483312",
- "last4": "1111"
}, - "subtotal": "1000",
- "orderTotal": "100",
- "currency": "USD",
- "tax": {
- "isTaxable": true,
- "taxableCountryCode": "US",
- "taxAmount": "327",
- "outOfStateTaxAmount": "54"
}, - "billedPerson": {
- "name": {
- "first": "William",
- "preferred": "Bill",
- "family": "Andrade",
- "middle": "Alexander",
- "prefix": "Ms.",
- "suffix": "III"
}, - "phoneNumber": "+12081234567",
- "emailAddress": "john.doe@example.com",
- "address": {
- "line1": "12345 MyStreet Ave",
- "line2": "Suite 256",
- "city": "Poplar Bluff",
- "region": "CO",
- "countryCode": "US",
- "postalCode": "63901-0000"
}, - "dateOfBirth": "string"
}, - "transactionStatus": "AUTHORIZED",
- "authorizationStatus": {
- "authResult": "APPROVED",
- "dateTime": "2022-10-31T22:01:43Z",
- "verificationResponse": {
- "cvvStatus": "MATCH",
- "avsStatus": "A"
}, - "declineCode": "01",
- "processorAuthCode": "741256",
- "processorTransactionId": "NMI0983",
- "acquirerReferenceNumber": "40614857370"
}, - "merchantTransactionId": "d121ea2210434ffc8a90daff9cc97e76",
- "items": [
- {
- "id": "d121ea2210434ffc8a90daff9cc97e76",
- "quantity": 3
}
]
}
], - "promotions": [
- {
- "id": "BOGO10",
- "description": "Buy one, get one 10% off",
- "status": "accepted",
- "statusReason": "Promotion cannot be combined.",
- "discount": {
- "percentage": "0.1",
- "amount": "100",
- "currency": "USD"
}, - "credit": {
- "creditType": "GIFT_CARD",
- "amount": "100",
- "currency": "USD"
}
}
], - "loyalty": {
- "id": "d121ea2210434ffc8a90daff9cc97e76",
- "description": "Pizza Points",
- "credit": {
- "creditType": "GIFT_CARD",
- "amount": "100",
- "currency": "USD"
}
}, - "customFields": {
- "keyNumber": 42,
- "keyBoolean": true,
- "keyString": "value",
- "keyDate": "2023-03-30T15:41:58Z"
}
}
{- "version": "1.0.0",
- "order": {
- "orderId": "B2C3D4F6G7H8J10K",
- "merchantOrderId": "d121ea2210434ffc8a90daff9cc97e76",
- "channel": "ACME_IOS_APP",
- "deviceSessionId": "d121ea2210434ffc8a90daff9cc97e76",
- "creationDateTime": "2019-08-24T14:15:22Z",
- "riskInquiry": {
- "decision": "APPROVE",
- "omniscore": "99.9",
- "persona": {
- "uniqueCards": "3",
- "uniqueDevices": "5",
- "uniqueEmails": "2"
}, - "device": {
- "id": "7363b8ae6b2247b99f5d56fc81102254",
- "collectionDateTime": "2021-03-02T19:01:37Z",
- "browser": "Chrome 106.0.0.0",
- "deviceAttributes": {
- "os": "Android 9.0.0",
- "firstSeenDateTime": "2021-03-02T19:01:37Z",
- "language": "Chrome 106.0.0.0",
- "timezoneOffset": "60",
- "mobileSdkType": "Android App SDK"
}, - "location": {
- "areaCode": "555",
- "city": "Boise",
- "country": "United States of America",
- "countryCode": "US",
- "latitude": "44.8729",
- "longitude": "-120.3456",
- "postalCode": "90210",
- "region": "Oregon",
- "regionCode": "ID"
}, - "tor": true
}, - "segmentExecuted": {
- "segment": {
- "id": "string",
- "name": "string",
- "priority": 0
}, - "policiesExecuted": [
- {
- "id": "12345678-1234-1234-1234-123456789012",
- "name": "Policy for Catching Fraud",
- "outcome": {
- "type": "guidance",
- "value": "Approve"
}
}
], - "tags": [
- "string"
]
}
}, - "transactions": [
- {
- "transactionId": "B2C3D4F6G7H8J10K#0",
- "merchantTransactionId": "string"
}
], - "fulfillment": [
- {
- "fulfillmentId": "string",
- "merchantFulfillmentId": "string"
}
]
}
}
k1_integration_api
) orderId required | string path parameter |
merchantOrderId | string |
deviceSessionId | string |
object (v2OrderPatchBodyRiskInquiry) | |
Array of objects (v2OrderPatchBodyTransaction) | |
Array of objects (v2OrderPatchBodyFulfillment) |
{- "merchantOrderId": "string",
- "deviceSessionId": "string",
- "riskInquiry": {
- "decision": "APPROVED"
}, - "transactions": [
- {
- "transactionId": "string",
- "payment": {
- "type": "CREDIT_CARD",
- "paymentToken": "string",
- "bin": "483312",
- "last4": "1111"
}, - "authorizationStatus": {
- "authResult": "APPROVED",
- "verificationResponse": {
- "cvvStatus": "MATCH",
- "avsStatus": "A"
}
}
}
], - "fulfillment": [
- {
- "fulfillmentId": "d121ea2210434ffc8a90daff9cc97e76",
- "status": "FULFILLED",
- "shipping": {
- "amount": "893",
- "provider": "FEDEX",
- "trackingNumber": "TBA056059680404",
- "method": "EXPRESS"
}, - "digitalDownloaded": true,
- "downloadDeviceIp": "192.168.1.27"
}
]
}
{- "orderId": "string",
- "merchantOrderId": "string",
- "channel": "string",
- "deviceSessionId": "string",
- "creationDateTime": "string"
}
k1_integration_api
) Array of objects (v2ReversalsUpdate) |
{- "reversalsUpdates": [
- {
- "orderId": "string",
- "chargeback": {
- "isChargeback": true,
- "transactionId": "string",
- "reasonCode": "string",
- "cardType": "string"
}, - "refund": {
- "isRefund": true,
- "transactionId": "string",
- "dateTime": "string",
- "amount": 0,
- "currency": "string",
- "gatewayReceipt": "string"
}, - "fraudReportType": "NONE"
}
]
}
{- "errors": [
- {
- "orderId": "string",
- "error": "string"
}
]
}