Successful Transaction Response

The following sample code shows a successful transaction response for a basic sale:

{
   "code":"200",
   "status":"success",
   "exchange-id":"ID-CLADEVGSOPS02-cgw01-58790-1447188033740-0-1146",
   "links":[
      {
         "rel":"transaction",
         "href":"/rest/v2/transactions?id=1107313",
         "id":"1107313"
      }
           ],
   "payload":{
      "transaction":{
         "amount":"3.33",
         "id":"1107313",
         "type":"SALE",
         "result":"APPROVED",
         "card":"XXXXXXXXXXXX1111",
         "csc":"999",
         "authorization-code":"TAS425",
         "batch-string-id":"165",
         "display-message":"Transaction approved",
         "result-code":"000",
         "exp-date":"1020"
                      },
   "payloadType":"transaction"
             },
   "signature":"30
   }

Last updated

Was this helpful?