curl errors

headers
["Accept: application\/json","Content-Type: application\/json","Cache-Control: no-cache","api-key: 2b4c00d45a544ba7803f852b4c4adaff"]

Request details
{"type":"AUTH","amount":"1.00","card":"4111111111111111","exp-date":"0932"}

Full Response
{"code":"200","status":"success","exchange-id":"ID-clearent-cgw-2-1652400076995-0-4675617","links":[{"rel":"transaction","href":"/rest/v2/transactions?id=115202616","id":"115202616"}],"payload":{"transaction":{"amount":"1.00","id":"115202616","created":"2022-05-17 10:09:45.180","type":"AUTH","result":"APPROVED","card":"XXXXXXXXXXXX1111","authorization-code":"TAS600","display-message":"Transaction approved","result-code":"000","exp-date":"0932","card-type":"VISA","last-four":"1111","merchant-id":"942494058735","terminal-id":"10011112"},"payloadType":"transaction"}}

Parsed Response
  • code : 200
  • status : success
  • exchange-id : ID-clearent-cgw-2-1652400076995-0-4675617
  • links :
  • payload :
    • transaction :
      • amount : 1.00
      • id : 115202616
      • created : 2022-05-17 10:09:45.180
      • type : AUTH
      • result : APPROVED
      • card : XXXXXXXXXXXX1111
      • authorization-code : TAS600
      • display-message : Transaction approved
      • result-code : 000
      • exp-date : 0932
      • card-type : VISA
      • last-four : 1111
      • merchant-id : 942494058735
      • terminal-id : 10011112
    • payloadType : transaction