Order Status Async

Set the status asynchronously for a given order. Can be submitted any time after the initial RIS call is completed
TRANSACTION_ID (i.e. 79700W3CKRDD) and STATUS (i.e. R, E, D, A) values must be upper case

Endpoints

/rpc/v1/orders/async_status.html
The browsable documentation for this API endpoint.
/rpc/v1/orders/async_status.json
Endpoint that will return a JSON response.
/rpc/v1/orders/async_status.xml
Endpoint that will return an XML response.

Usage

Usage for HTTP POST

Key Name: status[TRANSACTION_ID]
Status code: Status is A | E | R | D, for Approve, Escalate, Review and Decline.

Error Codes

206 Partial Success
In batch requests, this signifies that there were a mix of successes and failures
401 Authentication
The key provided could not be authenticated

Response Samples

Successful Response [XML]
<?xml version="1.0" encoding="UTF-8"?>
<response>
 <status>ok</status>
 <count>
  <success>1</success>
  <failure>0</failure>
 </count>
 <errors/>
 <result>ok</result>
</response>
Successful Response [JSON]
{"status":"ok","count":{"success":1,"failure":0},"errors":[],"result":"Order number [TRANSACTION_ID] status successfully changed to [R]"}

Code Examples

POST
curl -d "status[TRANSACTION_ID]=R" \
     -H "X-Kount-Api-Key: XXX.YYY.ZZZ" \
     https://api.kount.net/rpc/v1/orders/async_status.json
POST (batch)
curl -d "status[TRANSACTION_ID]=R" \
     -d "status[TRANSACTION_ID]=E" \
     -H "X-Kount-Api-Key: XXX.YYY.ZZZ" \
     https://api.kount.net/rpc/v1/orders/async_status.json