Developer Portal

Content

15.5 Pre Authorized Sale with Primary Account Number

path : "/Payment/CreditCard"  method :	POST 
{
    "request" : "salePreAuthorized",
    "accountInputMode" : "primaryAccountNumber",
    "authCode" : "123123",
        "cardTransaction" : 
        { 
        "eciType" : 5,
    		"name" : "TEST-104-09",
    		"sourceId" : 20,
    		"amount" : 1000,
    		"tax" : 100,
        "processorSoftDescriptor" : "Joe's Taxi 45th St" ,
    		"transactionNotes1" : "Notes field 1",
    		"transactionNotes2" : "Order 123",
    		"transactionNotes3" : "Other note"
          },
          "cardAccount" : 
          {
        "fsv" : "",
        "accountNumber" : "4012888888881881",
    		"expirationDate" : "07/19",
 		"email" : "[email protected]",
    		"firstName" : "Wiley",
    		"lastName" : "Coyote",
          "middleName" : "Genius",
    		"address" : "12 Red Rock Terrace",
    		"city" : "Singing Desert",
    		"state" : "AZ",
    		"zip" : "01929",
    		"phone" : "222-222-2222",
    		"accountNotes1" : "Notes about account",
    		"accountNotes2" : "More info",
   		"accountNotes3" : ""
         }
}
Reply:
{
   "paywayCode": "5000",
    "paywayMessage": "",

    "cardAccount": {
        "accountNotes1": "",
        "accountNotes2": "",
        "accountNotes3": "Info about account",
        "accountNumber": "401288******1881",
        "address": "12 Red Rock Terrace",
        "addressList": null,
        "auLastUpdate": "1999-01-01 00:00:00-05",
        "auUpdateType": 0,
        "cardType": 1,
        "city": "Singing Desert",
        "commercialCardType": 0,
        "divisionId": 17,
        "email": "[email protected]",
        "expirationDate": "0719",
        "firstFour": "4012",
        "firstName": "Wiley",
        "fsv": "",
        "inputMode": 4,
        "lastFour": "1881",
        "lastName": "Coyote",
        "lastUsed": null,
        "middleName": "Genius",
        "onlinePaymentCryptogram": "",
        "p2peInput": "",
        "paywayAccountToken": 10117024,
        "phone": "2222222222",
        "state": "AZ",
        "status": 2,
        "zip": "01929"
    },
    "cardTransaction": 
    {
        "addressVerificationResults": "",
        "amount": 1000,
        "authorizationCode": "",
        "authorizedTime": "1999-01-01 00:00",
        "capturedTime": "1999-01-01 00:00",
        "cbMode": 2,
        "eciType": 2,
        "fraudSecurityResults": "",
        "fsvIndicator": "",
        "name": "TEST-104-10",
        "pfpstatus": 0,
        "processorErrorMessage": "",
        "processorOrderId": "",
        "processorRecurringAdvice": "",
        "processorResponseDate": "",
        "processorResultCode": "",
        "processorSequenceNumber": 0,
        "processorSoftDescriptor": "Acme Monthly Subscription",
        "referenceNumber": "",
        "resultCode": 0,
        "sessionToken_string": "0",
        "settledTime": "1999-01-01 00:00",
        "sourceId": 20,
        "status": 2,
        "tax": 100,
        "testResultAVS": "",
        "testResultFSV": "",
        "transactionNotes1": "",
        "transactionNotes2": "",
        "transactionNotes3": ""
    },
   
 

 

Subscribe

Every post in your inbox