Successful Transaction Response for a Token

The following example is successful transaction response for a sale with saved card option.

{
   "code":"200",
   "status":"success",
   "exchange-id":"ID-CLADEVGSOPS02-cgw01-58790-1447188033740-0-1125",
   "links":[
      {
         "rel":"transaction",
         "href":"/rest/v2/transactions?id=1107310",
         "id":"1107310"
      },
      {
         "rel":"token",
         "href":"/rest/v2/tokens/1100845274213121111",
         "id":"1136587273219921111"
      }
           ],
   "payload":{
      "transaction":{
         "amount":"64.50",
         "id":"1107310",
         "type":"SALE",
         "result":"APPROVED",
         "billing":{
            "street":"222 Main Street",
            "city":"Springfield",
            "state":"ME",
            "zip":"55105",
            "first-name":"John",
            "last-name":"Adams"
                   },
         "card":"XXXXXXXXXXXX1111",
         "csc":"999",
         "authorization-code":"TAS403",
         "avs-result-code":"Y",
         "batch-string-id":"165",
         "display-message":"Transaction approved",
         "result-code":"000",
         "exp-date":"1019"
                    },
      "payloadType":"transaction"
             },
   "signature":"306502310087aaee89b8c706ceb98c986b4de66a5"
}

Last updated

Was this helpful?