Uncategorized

POST Auth only Request

The type is sent as 1 when the transaction needs to be sent as authorization and used for capture later

Sample Code


{   
   "amount":"620.56", 
   "method":"CC", 
   "type":"1", 
   "nonce":{{$timestamp}}, 
   "test":"0", 
   "reference_transaction_id":"", 
   "client_ip":"172.26.15.177", 
   "device_code":"", 
   "market_code":"E", 
   "referrer_url":"onepay.com", 
   "notes":"000040520010", 
   "card":{   
      "number":"375987654111116", 
      "code":"1234", 
      "expiration_date":"0420", 
      "type":"Amex", 
      "track_data":"" 
   }, 
   "customer":{   
      "first_name":"Certify", 
      "last_name":"Global", 
      "street_1":"1307 Broad Hollow Road", 
      "street_2":"", 
      "city":"Melville", 
      "state":"NY", 
      "zip":"11747", 
      "country":"US", 
      "phone_number":"0123456789", 
      "company":"FirstData", 
      "customer_id":"12345", 
      "invoice_number":"123456789", 
      "email":"kasi.subramanian@Certifyglobal.com", 
      "email_receipt":"YES", 
      "notes":"Certifyglobal" 
   }, 
   "custom_fields":[   
      {   
         "id":"1", 
         "value":"Certifyglobal Test" 
      } 
   ], 
    "additional_data":[   
      {   
         "id":"USER", 
         "value":"Amex" 
      }, 
      {   
         "id":"SOURCE", 
         "value":"PS" 
      } 
   ] 
}  
 

BODY

KEY VALUE DESCRIPTION
amount decimal amount of the charge to be authorized.
amount decimal amount of the charge to be authorized.
amount decimal amount of the charge to be authorized.

Leave a Reply

Your email address will not be published. Required fields are marked *