Developer Portal

Content

15 Request / Reply Examples

15.1 Get A Payway Session

path: /Session 
method: POST

request:
{
     "request": "getPaywaySession",
    "companyId": 22,
    "password": "1234567abc",
    "userName": "villagePerson"
}


 getPaywaySession Reply 
{
    "paywayCode": "5000",
    "paywayMessage": "",
    "paywaySessionToken": 				       "85EAE7B823DFEA917E61610580794A97",
    "user": {
        "email": "",
        "firstName": "",
        "lastName": "",
        "name": "villagePerson",
        "notes": "",
        "phone": "",
        "timeZone": "America/New_York"
    }
}


 

15.2 Trial Authorize with Primary Account Number

path: /Payment/CreditCard method: POST
{
    "accountInputMode": "primaryAccountNumber",
    "cardAccount": {
        "accountNotes1": "Notes about account",
        "accountNotes2": "More info",
        "accountNotes3": "",
        "accountNumber": "4012888888881881",
        "address": "12 Red Rock Terrace",
        "city": "Singing Desert",
        "email": "[email protected]",
        "expirationDate": "07/24",
        "firstName": "Wiley",
        "fsv": "",
        "lastName": "Coyote",
        "middleName": "Genius",
        "phone": "222-222-2222",
        "state": "AZ",
        "zip": "01929"
    },
    "cardTransaction": {
        "name": "20210604_01_CC_TrialWithAccount",
        "sourceId": "2",
        "transactionNotes1": "Notes field 1",
        "transactionNotes2": "Order 123",
        "transactionNotes3": "Other note",
          },
    "paywaySessionToken": "C9AFCB004E38DFC08AFF651E4A51264C",
    "request": "trialAuthorize"
}

Reply

{
    "cardAccount": {
        "accountNotes1": "Notes about account",
        "accountNotes2": "More info",
        "accountNotes3": "",
        "accountNumber": "401288******1881",
        "account_number_masked": "401288******1881",
        "address": "12 Red Rock Terrace",
        "auLastUpdate": "1999-01-01 00:00",
        "auUpdateType": 0,
        "cardType": 1,
        "city": "Singing Desert",
        "commercialCardType": 0,
        "divisionId": 1,
        "email": "[email protected]",
        "expirationDate": "0724",
        "firstFour": "4012",
        "firstName": "Wiley",
        "fsv": "",
        "inputMode": 1,
        "lastFour": "1881",
        "lastName": "Coyote",
        "lastUsed": "1999-01-01 00:00",
        "middleName": "Genius",
        "onlinePaymentCryptogram": "",
        "p2peInput": "",
        "paywayToken": 10000129,
        "phone": "2222222222",
        "state": "AZ",
        "status": 0,
        "zip": "01929"
    },
    "cardTransaction": {
        "addressVerificationResults": "I8",
        "amount": 0,
        "authorizationCode": "408162",
        "authorizedTime": "2021-06-04",
        "capturedTime": "1999-01-01 00:00:00-05",
        "cbMode": 4,
        "eciType": 1,
        "fraudSecurityResults": " ",
        "fsvIndicator": "",
        "name": "20210604_01_CC_TrialWithAccount",
        "pfpstatus": 3601,
        "pfpstatusString": "PFP Not Enabled",
        "processorErrorMessage": "",
        "processorOrderId": "",
        "processorRecurringAdvice": "  ",
        "processorResponseDate": "210604",
        "processorResultCode": "100",
        "processorSequenceNumber": 0,
        "processorSoftDescriptor": "",
        "referenceNumber": "",
        "resultCode": 0,
        "settledTime": "1999-01-01 00:00",
        "sourceId": 2,
        "status": 9,
        "tax": 0,
        "testResultAVS": "",
        "testResultFSV": "",
        "transactionNotes1": "Notes field 1",
        "transactionNotes2": "Order 123",
        "transactionNotes3": "Other note",
        "type": 12
    },
    "paywayCode": "5000",
    "paywayMessage": ""
} 

 

15.3 Authorize with Primary Account Number

path:	/Payment/CreditCard
method:	POST
Request:{
    "accountInputMode": "primaryAccountNumber",
    "cardAccount": {
        "accountNotes1": "Notes about account",
        "accountNotes2": "More info",
        "accountNotes3": "",
        "accountNumber": "4012888888881881",
        "address": "12 Red Rock Terrace",
        "city": "Singing Desert",
        "email": "[email protected]",
        "expirationDate": "11/24",
        "firstName": "Wiley",
        "fsv": "",
        "lastName": "Coyote",
        "middleName": "Genius",
        "phone": "222-222-2222",
        "state": "AZ",
        "zip": "01929"
    },
    "cardTransaction": {
        "amount": 1000,
        “eciType”: 1,
        "name": "TEST-CC-117-03",
        "processorSoftDescriptor": "Joe's Taxi 45th St",
        "sourceId": 11,
        "tax": 100,
        "transactionNotes1": "Notes field 1",
        "transactionNotes2": "Order 123",
        "transactionNotes3": "Other note"
    },
    "paywaySessionToken": "3BBE7C8F1FB42C5BC9E9FD4A41CE1983",
    "request": "authorize"
}

Reply:{
    "cardAccount": {
        "accountNotes1": "Notes about account",
        "accountNotes2": "More info",
        "accountNotes3": "",
        "accountNumber": "401288******1881",
        "account_number_masked": "401288******1881",
        "address": "12 Red Rock Terrace",
        "auLastUpdate": "1999-01-01 00:00:00-05",
        "auUpdateType": 0,
        "cardType": 1,
        "city": "Singing Desert",
        "commercialCardType": 0,
        "divisionId": 7,
        "email": "[email protected]",
        "expirationDate": "1124",
        "firstFour": "4012",
        "firstName": "Wiley",
        "fsv": "",
        "inputMode": 1,
        "lastFour": "1881",
        "lastName": "Coyote",
        "lastUsed": "1999-01-01 00:00:00-05",
        "middleName": "Genius",
        "onlinePaymentCryptogram": "",
        "p2peInput": "",
        "paywayToken": 10158444,
        "phone": "2222222222",
        "state": "AZ",
        "status": 2,
        "zip": "01929"
    },
    "cardTransaction": {
        "addressVerificationResults": "",
        "amount": 1000,
        "authorizationCode": "0987654321",
        "authorizedTime": "2021-02-25 00:00:00-05",
        "capturedTime": "2021-02-25 08:47:03",
        "cbMode": 2,
        “eciType”: 1,
        "fraudSecurityResults": "",
        "fsvIndicator": "",
        "name": "TEST-CC-117-03",
        "pfpstatus": 3601,
        "pfpstatusString": "PFP Not Enabled",
        "processorErrorMessage": "",
        "processorOrderId": "",
        "processorRecurringAdvice": "",
        "processorResponseDate": "",
        "processorResultCode": "",
        "processorSequenceNumber": 0,
        "processorSoftDescriptor": "Joe's Taxi 45th St",
        "referenceNumber": "123456",
        "resultCode": 0,
        "sessionToken_string": "0",
        "settledTime": "1999-01-01 00:00",
        "sourceId": 11,
        "status": 3,
        "tax": 100,
        "testResultAVS": "",
        "testResultFSV": "",
        "transactionNotes1": "Notes field 1",
        "transactionNotes2": "Order 123",
        "transactionNotes3": "Other note",
        “type”: 1,
    },
    "paywayCode": "5000",
    "paywayMessage": ""
}


 

15.4 Sale with Primary Account Number

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


 
 sale 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,
        "email": "[email protected]",
        "expirationDate": "0719",
        "firstFour": "4012",
        "firstName": "Wiley",
        "fsv": "",
        "divisionId": 17,
        "inputMode": 4,
        "lastFour": "1881",
        "lastName": "Coyote",
        "lastUsed": null,
        "middleName": "Genius",
        "p2peInput": "",
        "paywayAccountToken": 10117024,
        "phone": "2222222222",
        "state": "AZ",
        "status": 2,
        "zip": "01929"
    },
    "cardTransaction": {
        "addressVerificationResults": "",
        "amount": 1000,
        "authorizationCode": "0987654321",
        "authorizedTime": "2020-04-30 00:00:00-04",
        "capturedTime": "2020-04-30 16:41:29",
        "cbMode": 2,
        “eciType”: 1,
        "fraudSecurityResults": "",
        "fsvIndicator": "",
        "sourceId": 20,
        "name": "TEST-81-00",
        "pfpstatus": 1,
        "processorErrorMessage": "",
        "processorOrderId": "",
        "processorRecurringAdvice": "",
        "processorResponseDate": "",
        "processorResultCode": "",
        "processorSequenceNumber": 0,
        "processorSoftDescriptor": "Joe's Taxi 45th St",
        "referenceNumber": "123456",
        "resultCode": 0,
        "sessionToken_string": "485",
        "settledTime": "1999-01-01 00:00",
        "status": 4,
        "tax": 100,
        "testResultAVS": "",
        "testResultFSV": "",
        "transactionNotes1": "Notes field 1",
        "transactionNotes2": "Order 123",
        "transactionNotes3": "Other note",
        “type”: 2,
    },

}

 

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": ""
    },
   
 

 

15.6 Credit with Primary Account Number

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


 credit Reply 
{
    "paywayCode": "5000",
    "paywayMessage": ""

    "cardAccount": {
        "accountNotes1": "Notes about account",
        "accountNotes2": "More info",
        "accountNotes3": "",
        "accountNumber": "401288******1881",
        "address": "12 Red Rock Terrace",
        "addressList": null,
        "auLastUpdate": "1999-01-01 00:00",
        "auUpdateType": 0,
        "cardType": 1,
        "city": "Singing Desert",
        "commercialCardType": 0,
        "email": "[email protected]",
        "expirationDate": "0719",
        "firstFour": "4012",
        "firstName": "Wiley",
        "fsv": "",
        "divisionId": 17,
        "inputMode": 4,
        "lastFour": "1881",
        "lastName": "Coyote",
        "lastUsed": "1999-01-01 00:00",
        "middleName": "Genius",
        "p2peInput": "",
        "paywayAccountToken": 10117024,
        "phone": "2222222222",
        "state": "AZ",
        "status": 0,
        "zip": "01929"
    },
    "cardTransaction": {
        "addressVerificationResults": "",
        "amount": 1000,
        "authorizationCode": "",
        "authorizedTime": "2020-04-30 16:41:31",
        "capturedTime": "2020-04-30 16:41:31",
        "cbMode": 2,
        “eciType”: 1,
        "fraudSecurityResults": "",
        "fsvIndicator": "",
        "sourceId": 20,
        "name": "TEST-81-01",
        "pfpstatus": 0,
        "processorErrorMessage": "",
        "processorOrderId": "",
        "processorRecurringAdvice": "",
        "processorResponseDate": "",
        "processorResultCode": "",
        "processorSequenceNumber": 0,
        "processorSoftDescriptor": "Joe's Taxi 45th St",
        "referenceNumber": "",
        "resultCode": 0,
        "sessionToken_string": "0",
        "settledTime": "1999-01-01 00:00",
        "status": 4,
        "tax": 100,
        "testResultAVS": "",
        "testResultFSV": "",
        "transactionNotes1": "Notes field 1",
        "transactionNotes2": "Order 123",
        "transactionNotes3": "Other note",
        “type”: 3,

    }

}

 

15.7 Sale with Payway Account Token

path: /Payment/CreditCard method: POST
{
    "request": "sale"
    "accountInputMode": "paywayAccountToken",
    "paywayAccountToken": "10117024",
    "paywaySessionToken":        "85EAE7B823DFEA917E61610580794A97",

    "cardTransaction": {
        "amount": 1000,
        “eciType”: 1,
        "sourceId": 20,
        "name": "TEST-81-03",
        "processorSoftDescriptor": "Acme Monthly Subscription",
        "tax": 100,
        "transactionNotes1": "",
        "transactionNotes2": "",
        "transactionNotes3": ""
    },
   
}


 sale 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,
        "email": "[email protected]",
        "expirationDate": "0719",
        "firstFour": "4012",
        "firstName": "Wiley",
        "fsv": "",
        "divisionId": 17,
        "inputMode": 4,
        "lastFour": "1881",
        "lastName": "Coyote",
        "lastUsed": null,
        "middleName": "Genius",
        "p2peInput": "",
        "paywayAccountToken": 10117024,
        "phone": "2222222222",
        "state": "AZ",
        "status": 2,
        "zip": "01929"
    },
    "cardTransaction": {
        "addressVerificationResults": "",
        "amount": 1000,
        "authorizationCode": "0987654321",
        "authorizedTime": "2020-04-30 00:00:00-04",
        "capturedTime": "2020-04-30 16:41:34",
        "cbMode": 2,
        "eciType": 2,
        "fraudSecurityResults": "",
        "fsvIndicator": "",
        "sourceId": 20,
        "name": "TEST-81-03",
        "pfpstatus": 1,
        "processorErrorMessage": "",
        "processorOrderId": "",
        "processorRecurringAdvice": "",
        "processorResponseDate": "",
        "processorResultCode": "",
        "processorSequenceNumber": 0,
        "processorSoftDescriptor": "Acme Monthly Subscription",
        "referenceNumber": "123456",
        "resultCode": 0,
        "sessionToken_string": "487",
        "settledTime": "1999-01-01 00:00",
        "status": 4,
        "tax": 100,
        "testResultAVS": "",
        "testResultFSV": "",
        "transactionNotes1": "",
        "transactionNotes2": "",
        "transactionNotes3": "",
        “type”: 2,

    }

}

 

15.8 Trial Authorize with Payway Account Token

path: /Payment/CreditCard method: POST
{
    "cardTransaction": {
        "name": "20210604_01_CC_TrialWithToken",
        "sourceId": "2",
        "transactionNotes1": "",
        "transactionNotes2": "",
        "transactionNotes3": ""
    },
    "paywayAccountToken": "010000130",
    "paywaySessionToken": "C9AFCB004E38DFC08AFF651E4A51264C",
    "request": "trialAuthorize"
}
Reply
{
    "cardAccount": {
        "accountNotes1": "UPDATED_Here",
        "accountNotes2": "UPDATED_is my",
        "accountNotes3": "UPDATED_account",
        "accountNumber": "401288******1881",
        "account_number_masked": "401288******1881",
        "address": "UPDATED_12 Red Rock Terrace",
        "auLastUpdate": "1999-01-01 00:00:00-05",
        "auUpdateType": 0,
        "cardType": 1,
        "city": "UPDATED_Singing Desert",
        "commercialCardType": 0,
        "divisionId": 1,
        "email": "[email protected]",
        "expirationDate": "0725",
        "firstFour": "4012",
        "firstName": "UPDATED_Wiley",
        "fsv": "",
        "inputMode": 1,
        "lastFour": "1881",
        "lastName": "UPDATED_Coyote",
        "lastUsed": "1999-01-01 00:00:00-05",
        "middleName": "UPDATED_Genius",
        "onlinePaymentCryptogram": "",
        "p2peInput": "",
        "paywayToken": 10000130,
        "phone": "3333333333",
        "state": "MA",
        "status": 2,
        "zip": "88888"
    },
    "cardTransaction": {
        "addressVerificationResults": "I8",
        "amount": 0,
        "authorizationCode": "541580",
        "authorizedTime": "2021-06-04",
        "capturedTime": "1999-01-01 00:00:00-05",
        "cbMode": 4,
        "eciType": 1,
        "fraudSecurityResults": " ",
        "fsvIndicator": "",
        "name": "20210604_01_CC_TrialWithToken",
        "pfpstatus": 3601,
        "pfpstatusString": "PFP Not Enabled",
        "processorErrorMessage": "",
        "processorOrderId": "",
        "processorRecurringAdvice": "  ",
        "processorResponseDate": "210604",
        "processorResultCode": "100",
        "processorSequenceNumber": 0,
        "processorSoftDescriptor": "",
        "referenceNumber": "",
        "resultCode": 0,
        "settledTime": "1999-01-01 00:00",
        "sourceId": 2,
        "status": 9,
        "tax": 0,
        "testResultAVS": "",
        "testResultFSV": "",
        "transactionNotes1": "",
        "transactionNotes2": "",
        "transactionNotes3": "",
        "type": 12
    },
    "paywayCode": "5000",
    "paywayMessage": ""
}

 

15.9 Pre Authorized Sale with Payway Account Token

path:	/Payment/CreditCard
method:	POST
Request:{
    "paywayAccountToken": "10117024",
    "paywaySessionToken": "9A52A3F9E85FF0605DA588BAA9894D79",
    "request": "salePreAuthorized"
    "authCode": "123123123",

    "cardTransaction": {
        "amount": 1000,
        “eciType”: 1,
        "name": "TEST-104-10",
        "processorSoftDescriptor": "Acme Monthly Subscription",
        "sourceId": 20,
        "tax": 100,
        "transactionNotes1": "",
        "transactionNotes2": "",
        "transactionNotes3": ""
    } }

 sale 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,
        "email": "[email protected]",
        "expirationDate": "0719",
        "firstFour": "4012",
        "firstName": "Wiley",
        "fsv": "",
        "divisionId": 17,
        "inputMode": 4,
        "lastFour": "1881",
        "lastName": "Coyote",
        "lastUsed": null,
        "middleName": "Genius",
        "p2peInput": "",
        "paywayAccountToken": 10117024,
        "phone": "2222222222",
        "state": "AZ",
        "status": 2,
        "zip": "01929"
    },
    "cardTransaction": {
        "addressVerificationResults": "",
        "amount": 1000,
        "authorizationCode": "0987654321",
        "authorizedTime": "2020-04-30 00:00:00-04",
        "capturedTime": "2020-04-30 16:41:34",
        "cbMode": 2,
        "eciType": 2,
        "fraudSecurityResults": "",
        "fsvIndicator": "",
        "sourceId": 20,
        "name": "TEST-81-03",
        "pfpstatus": 1,
        "processorErrorMessage": "",
        "processorOrderId": "",
        "processorRecurringAdvice": "",
        "processorResponseDate": "",
        "processorResultCode": "",
        "processorSequenceNumber": 0,
        "processorSoftDescriptor": "Acme Monthly Subscription",
        "referenceNumber": "123456",
        "resultCode": 0,
        "sessionToken_string": "487",
        "settledTime": "1999-01-01 00:00",
        "status": 4,
        "tax": 100,
        "testResultAVS": "",
        "testResultFSV": "",
        "transactionNotes1": "",
        "transactionNotes2": "",
        "transactionNotes3": "",
        “type”: 2,
    }

}

 

15.10 Credit with Payway Account Token

path: /Payment/CreditCard method: POST
{
    "cardTransaction": {
        "amount": 1000,
        “eciType”: 1,
        "sourceId": 20,
        "name": "TEST-81-04",
        "processorSoftDescriptor": "Acme Monthly Subscription",
        "tax": 100,
        "transactionNotes1": "",
        "transactionNotes2": "",
        "transactionNotes3": ""
    },
    "paywayAccountToken": "10117024",
    "paywaySessionToken": "85EAE7B823DFEA917E61610580794A97",
    "request": "credit"
}

 credit 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,
        "email": "[email protected]",
        "expirationDate": "0719",
        "firstFour": "4012",
        "firstName": "Wiley",
        "fsv": "",
        "divisionId": 17,
        "inputMode": 4,
        "lastFour": "1881",
        "lastName": "Coyote",
        "lastUsed": null,
        "middleName": "Genius",
        "p2peInput": "",
        "paywayAccountToken": 10117024,
        "phone": "2222222222",
        "state": "AZ",
        "status": 2,
        "zip": "01929"
    },
    "cardTransaction": {
        "addressVerificationResults": "",
        "amount": 1000,
        "authorizationCode": "",
        "authorizedTime": "2020-04-30 16:41:35",
        "capturedTime": "2020-04-30 16:41:35",
        "cbMode": 2,
        "eciType": 2,
        "fraudSecurityResults": "",
        "fsvIndicator": "",
        "sourceId": 20,
        "name": "TEST-81-04",
        "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",
        "status": 4,
        "tax": 100,
        "testResultAVS": "",
        "testResultFSV": "",
        "transactionNotes1": "",
        "transactionNotes2": "",
        "transactionNotes3": "",
        “type”: 3,

    }}

 

15.11 Authorize with Payway Account Token

path: /Payment/CreditCard method: POST
{
    "cardTransaction": {
        "amount": 1000,
        "eciType": 1,
        "sourceId": 20,
        "name": "TEST-81-05",
        "tax": 100,
        "transactionNotes1": "",
        "transactionNotes2": "",
        "transactionNotes3": ""
    },
    "paywayAccountToken": "10117024",
    "paywaySessionToken": "85EAE7B823DFEA917E61610580794A97",
    "request": "authorize"
}


 authorize 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,
        "email": "[email protected]",
        "expirationDate": "0719",
        "firstFour": "4012",
        "firstName": "Wiley",
        "fsv": "",
        "divisionId": 17,
        "inputMode": 4,
        "lastFour": "1881",
        "lastName": "Coyote",
        "lastUsed": null,
        "middleName": "Genius",
        "p2peInput": "",
        "paywayAccountToken": 10117024,
        "phone": "2222222222",
        "state": "AZ",
        "status": 2,
        "zip": "01929"
    },
    "cardTransaction": {
        "addressVerificationResults": "",
        "amount": 1000,
        "authorizationCode": "0987654321",
        "authorizedTime": "2020-04-30",
        "capturedTime": "1999-01-01 00:00:00-05",
        "cbMode": 2,
        "eciType": 1,
        "fraudSecurityResults": "",
        "fsvIndicator": "",
        "sourceId": 20,
        "name": "TEST-81-05",
        "pfpstatus": 1,
        "processorErrorMessage": "",
        "processorOrderId": "",
        "processorRecurringAdvice": "",
        "processorResponseDate": "",
        "processorResultCode": "",
        "processorSequenceNumber": 0,
        "processorSoftDescriptor": "",
        "referenceNumber": "123456",
        "resultCode": 0,
        "sessionToken_string": "0",
        "settledTime": "1999-01-01 00:00",
        "status": 3,
        "tax": 100,
        "testResultAVS": "",
        "testResultFSV": "",
        "transactionNotes1": "",
        "transactionNotes2": "",
        "transactionNotes3": "",
        “type”: 1,

    }
   
}

 

15.12 Sale with P2PE Data

path: /Payment/CreditCard method: POST
{
    "accountInputMode": "idtech",
    "cardAccount": {
        "accountNotes1": "Notes about account",
        "accountNotes2": "More info",
        "accountNotes3": "",
        "address": "12 Red Rock Terrace",
        "city": "Singing Desert",
        "email": "[email protected]",
        "expirationDate": "",
        "firstName": "Wiley",
        "fsv": "",
        "lastName": "Coyote",
        "middleName": "Genius",
        "p2peInput": "02A600C0170018008292;4012********1881=2012?*302D7200311170547D3823D011FA882D0B412F34D3664069000000000000000000000000000000000000000038333755313135353533629949960E004640009E185C03",
        "phone": "222-222-2222",
        "state": "AZ",
        "zip": "01929"
    },
    "cardTransaction": {
        "amount": 1000,
        “eciType”: 1,
        "sourceId": 20,
        "name": "TEST-81-11",
        "processorSoftDescriptor": "Joe's Taxi 45th St",
        "tax": 100,
        "transactionNotes1": "Notes field 1",
        "transactionNotes2": "Order 123",
        "transactionNotes3": "Other note"
    },
    "paywaySessionToken": "85EAE7B823DFEA917E61610580794A97",
    "request": "sale"
}


 sale Reply 
{
    "paywayCode": "5000",
    "paywayMessage": "",

    "cardAccount": {
        "accountNotes1": "Notes about account",
        "accountNotes2": "More info",
        "accountNotes3": "",
        "accountNumber": "",
        "address": "12 Red Rock Terrace",
        "addressList": null,
        "auLastUpdate": "1999-01-01 00:00",
        "auUpdateType": 0,
        "cardType": 8,
        "city": "Singing Desert",
        "commercialCardType": 0,
        "email": "[email protected]",
        "expirationDate": "",
        "firstFour": "",
        "firstName": "Wiley",
        "fsv": "",
        "divisionId": 17,
        "inputMode": 3,
        "lastFour": "",
        "lastName": "Coyote",
        "lastUsed": "1999-01-01 00:00",
        "middleName": "Genius",
        "p2peInput": "02A600C0170018008292;4012********1881=2012?*302D7200311170547D3823D011FA882D0B412F34D3664069000000000000000000000000000000000000000038333755313135353533629949960E004640009E185C03",
        "paywayAccountToken": 0,
        "phone": "2222222222",
        "state": "AZ",
        "status": 0,
        "zip": "01929"
    },
    "cardTransaction": {
        "addressVerificationResults": "",
        "amount": 0,
        "authorizationCode": "",
        "authorizedTime": "1999-01-01",
        "capturedTime": "1999-01-01",
        "cbMode": 0,
        "eciType": 0,
        "fraudSecurityResults": "",
        "fsvIndicator": "",
        "sourceId": 0,
        "name": "",
        "pfpstatus": 0,
        "processorErrorMessage": "",
        "processorOrderId": "",
        "processorRecurringAdvice": "",
        "processorResponseDate": "",
        "processorResultCode": "",
        "processorSequenceNumber": 0,
        "processorSoftDescriptor": "",
        "referenceNumber": "",
        "resultCode": 1,
        "sessionToken_string": "0",
        "settledTime": "1999-01-01 00:00",
        "status": 0,
        "tax": 0,
        "testResultAVS": "",
        "testResultFSV": "",
        "transactionNotes1": "",
        "transactionNotes2": "",
        "transactionNotes3": "",
        “type”:2,

    }

}

 

15.13 Credit with P2PE Data

path: /Payment/CreditCard method: POST
{
    "accountInputMode": "idtech",
    "cardAccount": {
        "accountNotes1": "Notes about account",
        "accountNotes2": "More info",
        "accountNotes3": "",
        "address": "12 Red Rock Terrace",
        "city": "Singing Desert",
        "email": "[email protected]",
        "expirationDate": "",
        "firstName": "Wiley",
        "fsv": "",
        "lastName": "Coyote",
        "middleName": "Genius",
        "p2peInput": "02A600C0170018008292;4012********1881=2012?*302D7200311170547D3823D011FA882D0B412F34D3664069000000000000000000000000000000000000000038333755313135353533629949960E004640009E185C03",
        "phone": "222-222-2222",
        "state": "AZ",
        "zip": "01929"
    },
    "cardTransaction": {
        "amount": 1000,
        “eciType”: 1,
        "sourceId": 20,
        "name": "TEST-81-12",
        "processorSoftDescriptor": "Joe's Taxi 45th St",
        "tax": 100,
        "transactionNotes1": "Notes field 1",
        "transactionNotes2": "Order 123",
        "transactionNotes3": "Other note"
    },
    "paywaySessionToken": "85EAE7B823DFEA917E61610580794A97",
    "request": "credit"
}


 credit Reply 
{
    "paywayCode": "5000",
    "paywayMessage": “”,

    "cardAccount": {
        "accountNotes1": "Notes about account",
        "accountNotes2": "More info",
        "accountNotes3": "",
        "accountNumber": "",
        "address": "12 Red Rock Terrace",
        "addressList": null,
        "auLastUpdate": "1999-01-01 00:00",
        "auUpdateType": 0,
        "cardType": 8,
        "city": "Singing Desert",
        "commercialCardType": 0,
        "email": "[email protected]",
        "expirationDate": "",
        "firstFour": "",
        "firstName": "Wiley",
        "fsv": "",
        "divisionId": 17,
        "inputMode": 3,
        "lastFour": "",
        "lastName": "Coyote",
        "lastUsed": "1999-01-01 00:00",
        "middleName": "Genius",
        "p2peInput": "02A600C0170018008292;4012********1881=2012?*302D7200311170547D3823D011FA882D0B412F34D3664069000000000000000000000000000000000000000038333755313135353533629949960E004640009E185C03",
        "paywayAccountToken": 0,
        "phone": "2222222222",
        "state": "AZ",
        "status": 0,
        "zip": "01929"
    },
    "cardTransaction": {
        "addressVerificationResults": "",
        "amount": 0,
        "authorizationCode": "",
        "authorizedTime": "1999-01-01",
        "capturedTime": "1999-01-01",
        "cbMode": 0,
        "eciType": 0,
        "fraudSecurityResults": "",
        "fsvIndicator": "",
        "sourceId": 0,
        "name": "",
        "pfpstatus": 0,
        "processorErrorMessage": "",
        "processorOrderId": "",
        "processorRecurringAdvice": "",
        "processorResponseDate": "",
        "processorResultCode": "",
        "processorSequenceNumber": 0,
        "processorSoftDescriptor": "",
        "referenceNumber": "",
        "resultCode": 1,
        "sessionToken_string": "0",
        "settledTime": "1999-01-01 00:00",
        "status": 0,
        "tax": 0,
        "testResultAVS": "",
        "testResultFSV": "",
        "transactionNotes1": "",
        "transactionNotes2": "",
        "transactionNotes3": "",
        “type”: 3,

    },

}
 

 

15.14 Authorize with P2PE Data

path: /Payment/CreditCard method: POST
{
    "accountInputMode": "idtech",
    "cardAccount": {
        "accountNotes1": "Notes about account",
        "accountNotes2": "More info",
        "accountNotes3": "",
        "address": "12 Red Rock Terrace",
        "city": "Singing Desert",
        "email": "[email protected]",
        "expirationDate": "",
        "firstName": "Wiley",
        "fsv": "",
        "lastName": "Coyote",
        "middleName": "Genius",
        "p2peInput": "02A600C0170018008292;4012********1881=2012?*302D7200311170547D3823D011FA882D0B412F34D3664069000000000000000000000000000000000000000038333755313135353533629949960E004640009E185C03",
        "phone": "222-222-2222",
        "state": "AZ",
        "zip": "01929"
    },
    "cardTransaction": {
        "amount": 1000,
        “eciType”: 1,
        "sourceId": 20,
        "name": "TEST-81-13",
        "processorSoftDescriptor": "Joe's Taxi 45th St",
        "tax": 100,
        "transactionNotes1": "Notes field 1",
        "transactionNotes2": "Order 123",
        "transactionNotes3": "Other note"
    },
    "paywaySessionToken": "85EAE7B823DFEA917E61610580794A97",
    "request": "authorize"
}


 authorize Reply 
{
    "paywayCode": "5000",
    "paywayMessage": “"

    "cardAccount": {
        "accountNotes1": "Notes about account",
        "accountNotes2": "More info",
        "accountNotes3": "",
        "accountNumber": "",
        "address": "12 Red Rock Terrace",
        "addressList": null,
        "auLastUpdate": "1999-01-01 00:00",
        "auUpdateType": 0,
        "cardType": 8,
        "city": "Singing Desert",
        "commercialCardType": 0,
        "email": "[email protected]",
        "expirationDate": "",
        "firstFour": "",
        "firstName": "Wiley",
        "fsv": "",
        "divisionId": 17,
        "inputMode": 3,
        "lastFour": "",
        "lastName": "Coyote",
        "lastUsed": "1999-01-01 00:00",
        "middleName": "Genius",
        "p2peInput": "02A600C0170018008292;4012********1881=2012?*302D7200311170547D3823D011FA882D0B412F34D3664069000000000000000000000000000000000000000038333755313135353533629949960E004640009E185C03",
        "paywayAccountToken": 0,
        "phone": "2222222222",
        "state": "AZ",
        "status": 0,
        "zip": "01929"
    },
    "cardTransaction": {
        "addressVerificationResults": "",
        "amount": 0,
        "authorizationCode": "",
        "authorizedTime": "1999-01-01",
        "capturedTime": "1999-01-01",
        "cbMode": 0,
        "eciType": 0,
        "fraudSecurityResults": "",
        "fsvIndicator": "",
        "sourceId": 0,
        "name": "",
        "pfpstatus": 0,
        "processorErrorMessage": "",
        "processorOrderId": "",
        "processorRecurringAdvice": "",
        "processorResponseDate": "",
        "processorResultCode": "",
        "processorSequenceNumber": 0,
        "processorSoftDescriptor": "",
        "referenceNumber": "",
        "resultCode": 1,
        "sessionToken_string": "0",
        "settledTime": "1999-01-01 00:00",
        "status": 0,
        "tax": 0,
        "testResultAVS": "",
        "testResultFSV": "",
        "transactionNotes1": "",
        "transactionNotes2": "",
        "transactionNotes3": "",
        “type”: 1,

    },

}

 

15.15 Capture Authorized Transaction

path: /Payment/CreditCard method: POST
{
    "cardTransaction": {
        "sourceId": 20,
        "name": "TEST-81-05"
    },
    "paywaySessionToken": "85EAE7B823DFEA917E61610580794A97",
    "request": "capture"
}


 capture 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,
        "email": "[email protected]",
        "expirationDate": "0719",
        "firstFour": "4012",
        "firstName": "Wiley",
        "fsv": "",
        "divisionId": 17,
        "inputMode": 4,
        "lastFour": "1881",
        "lastName": "Coyote",
        "lastUsed": null,
        "middleName": "Genius",
        "p2peInput": "",
        "paywayAccountToken": 10117024,
        "phone": "2222222222",
        "state": "AZ",
        "status": 2,
        "zip": "01929"
    },
    "cardTransaction": {
        "addressVerificationResults": "",
        "amount": 1000,
        "authorizationCode": "0987654321",
        "authorizedTime": "2020-04-30 00:00:00-04",
        "capturedTime": "2020-04-30 16:41:41",
        "cbMode": 2,
        "eciType": 2,
        "fraudSecurityResults": "",
        "fsvIndicator": "",
        "sourceId": 20,
        "name": "TEST-81-05",
        "pfpstatus": 0,
        "processorErrorMessage": "",
        "processorOrderId": "",
        "processorRecurringAdvice": "",
        "processorResponseDate": "",
        "processorResultCode": "",
        "processorSequenceNumber": 0,
        "processorSoftDescriptor": "",
        "referenceNumber": "123456",
        "resultCode": 0,
        "sessionToken_string": "488",
        "settledTime": "1999-01-01 00:00",
        "status": 4,
        "tax": 100,
        "testResultAVS": "",
        "testResultFSV": "",
        "transactionNotes1": "",
        "transactionNotes2": "",
        "transactionNotes3": "",
        “type”: 2,

    }
  
}

 

15.16 Void Transaction

path: /Payment/CreditCard method: POST
{
  "paywaySessionToken": "85EAE7B823DFEA917E61610580794A97",
    "request": "void"

    "cardTransaction": {
        "sourceId": 20,
        "name": "TEST-81-05"
    },
  
}


 void 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,
        "email": "[email protected]",
        "expirationDate": "0719",
        "firstFour": "4012",
        "firstName": "Wiley",
        "fsv": "",
        "divisionId": 17,
        "inputMode": 4,
        "lastFour": "1881",
        "lastName": "Coyote",
        "lastUsed": null,
        "middleName": "Genius",
        "p2peInput": "",
        "paywayAccountToken": 10117024,
        "phone": "2222222222",
        "state": "AZ",
        "status": 2,
        "zip": "01929"
    },
    "cardTransaction": {
        "addressVerificationResults": "",
        "amount": 1000,
        "authorizationCode": "0987654321",
        "authorizedTime": "2020-04-30 00:00:00-04",
        "capturedTime": "2020-04-30 16:41:41-04",
        "cbMode": 2,
        "eciType": 2,
        "fraudSecurityResults": "",
        "fsvIndicator": "",
        "sourceId": 20,
        "name": "TEST-81-05",
        "pfpstatus": 0,
        "processorErrorMessage": "",
        "processorOrderId": "",
        "processorRecurringAdvice": "",
        "processorResponseDate": "",
        "processorResultCode": "",
        "processorSequenceNumber": 0,
        "processorSoftDescriptor": "",
        "referenceNumber": "123456",
        "resultCode": 0,
        "sessionToken_string": "0",
        "settledTime": "1999-01-01 00:00",
        "status": 6,
        "tax": 100,
        "testResultAVS": "",
        "testResultFSV": "",
        "transactionNotes1": "",
        "transactionNotes2": "",
        "transactionNotes3": "",
        “type”: 4,
    }
}

 

15.17 Add New Credit Card with Primary Account Data

path: /Account/CreditCard method: PUT
{
    "paywayCode": "5000",
    "paywayMessage": ""

    "accountInputMode": "primaryAccountNumber",
    "cardAccount": {
        "accountNotes1": "Here",
        "accountNotes2": "is my",
        "accountNotes3": "account",
        "accountNumber": "5555553753048194",
        "address": "12 Red Rock Terrace",
        "city": "Singing Desert",
        "email": "[email protected]",
        "expirationDate": "07/25",
        "firstName": "Wiley",
        "fsv": "",
        "divisionId": "17",
        "lastName": "Coyote",
        "middleName": "Genius",
        "phone": "222-222-2222",
        "state": "AZ",
        "zip": "01929"
    },
    "paywaySessionToken": "85EAE7B823DFEA917E61610580794A97",
    "request": "addAccount"
}


 addAccount Reply 
{
    "cardAccount": {
        "accountNotes1": "Here",
        "accountNotes2": "is my",
        "accountNotes3": "account",
        "accountNumber": "555555******8194",
        "address": "12 Red Rock Terrace",
        "addressList": null,
        "auLastUpdate": "1999-01-01 00:00",
        "auUpdateType": 0,
        "cardType": 2,
        "city": "Singing Desert",
        "commercialCardType": 0,
        "email": "[email protected]",
        "expirationDate": "0725",
        "firstFour": "5555",
        "firstName": "Wiley",
        "fsv": "",
        "divisionId": 17,
        "inputMode": 1,
        "lastFour": "8194",
        "lastName": "Coyote",
        "lastUsed": "1999-01-01 00:00",
        "middleName": "Genius",
        "p2peInput": "",
        "paywayAccountToken": 10117053,
        "phone": "2222222222",
        "state": "AZ",
        "status": 0,
        "zip": "01929"
    }

}

 

15.18 Add New Account with P2PE Data

path: /Account/CreditCard method: PUT
{
    "accountInputMode": "idtech",
    "cardAccount": {
        "accountNotes1": "Here",
        "accountNotes2": "is my",
        "accountNotes3": "account",
        "address": "12 Red Rock Terrace",
        "city": "Singing Desert",
        "email": "[email protected]",
        "expirationDate": "",
        "firstName": "Wiley",
        "fsv": "",
        "divisionId": "17",
        "lastName": "Coyote",
        "middleName": "Genius",
        "p2peInput": "02A600C0170018008292;4012********1881=2012?*302D7200311170547D3823D011FA882D0B412F34D3664069000000000000000000000000000000000000000038333755313135353533629949960E004640009E185C03",
        "phone": "222-222-2222",
        "state": "AZ",
        "zip": "01929"
    },
    "paywaySessionToken": "85EAE7B823DFEA917E61610580794A97",
    "request": "addAccount"
}


 addAccount Reply 
{
    "paywayCode": "5000",
    "paywayMessage": ""


    "cardAccount": {
        "accountNotes1": "Here",
        "accountNotes2": "is my",
        "accountNotes3": "account",
        "accountNumber": "",
        "address": "12 Red Rock Terrace",
        "addressList": null,
        "auLastUpdate": "1999-01-01 00:00",
        "auUpdateType": 0,
        "cardType": 8,
        "city": "Singing Desert",
        "commercialCardType": 0,
        "email": "[email protected]",
        "expirationDate": "",
        "firstFour": "",
        "firstName": "Wiley",
        "fsv": "",
        "divisionId": 17,
        "inputMode": 3,
        "lastFour": "",
        "lastName": "Coyote",
        "lastUsed": "1999-01-01 00:00",
        "middleName": "Genius",
        "p2peInput": "02A600C0170018008292;4012********1881=2012?*302D7200311170547D3823D011FA882D0B412F34D3664069000000000000000000000000000000000000000038333755313135353533629949960E004640009E185C03",
        "paywayAccountToken": 0,
        "phone": "2222222222",
        "state": "AZ",
        "status": 0,
        "zip": "01929"
    }
 

 

15.19 Retrieve Account Data

path: /Query/CreditCard method: POST
{
    "paywayAccountToken": "10117024",
    "divisionId": "17",
    "paywaySessionToken": "85EAE7B823DFEA917E61610580794A97",
    "request": "getAccount"
}


 getAccount 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,
        "email": "[email protected]",
        "expirationDate": "0719",
        "firstFour": "4012",
        "firstName": "Wiley",
        "fsv": "",
        "divisionId": 17,
        "inputMode": 4,
        "lastFour": "1881",
        "lastName": "Coyote",
        "lastUsed": null,
        "middleName": "Genius",
        "p2peInput": "",
        "paywayAccountToken": 10117024,
        "phone": "2222222222",
        "state": "AZ",
        "status": 2,
        "zip": "01929"
    }   
}
 

 

15.20 Retrieve Transaction Data

path: /Query/CreditCard method: POST
{
    "paywaySessionToken": "85EAE7B823DFEA917E61610580794A97",
    "request": "getTransaction",
    "sourceId": "20",
    "transactionName": "TEST-81-04"
}


 getTransaction 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,
        "email": "[email protected]",
        "expirationDate": "0719",
        "firstFour": "4012",
        "firstName": "Wiley",
        "fsv": "",
        "divisionId": 17,
        "inputMode": 4,
        "lastFour": "1881",
        "lastName": "Coyote",
        "lastUsed": null,
        "middleName": "Genius",
        "p2peInput": "",
        "paywayAccountToken": 10117024,
        "phone": "2222222222",
        "state": "AZ",
        "status": 2,
        "zip": "01929"
    },
    "cardTransaction": {
        "addressVerificationResults": "",
        "amount": 1000,
        "authorizationCode": "",
        "authorizedTime": "2020-04-30 16:41:35-04",
        "capturedTime": "2020-04-30 16:41:35-04",
        "cbMode": 2,
        "eciType": 2,
        "fraudSecurityResults": "",
        "fsvIndicator": "",
        "sourceId": 20,
        "name": "TEST-81-04",
        "pfpstatus": 0,
        "processorErrorMessage": "",
        "processorOrderId": "",
        "processorRecurringAdvice": "",
        "processorResponseDate": "",
        "processorResultCode": "",
        "processorSequenceNumber": 0,
        "processorSoftDescriptor": "Acme Monthly Subscription",
        "referenceNumber": "",
        "resultCode": 5000,
        "sessionToken_string": "0",
        "settledTime": "1999-01-01 00:00",
        "status": 4,
        "tax": 100,
        "testResultAVS": "",
        "testResultFSV": "",
        "transactionNotes1": "",
        "transactionNotes2": "",
        "transactionNotes3": ""
    }

}

 

15.21 Update Account Data

{ path : "/Account/CreditCard",  method :    POST }
{
    "request": "updateAccount",
    "divisionId" : "17",
    "paywayAccountToken": "10117024",
    "cardAccount" : 
         {
        "expirationDate" : "07/25",
         "email" : "[email protected]",
            "firstName" : "UPDATED_Wiley",
            "lastName" : "UPDATED_Coyote",
                "middleName" : "UPDATED_Genius",
            "address" : "UPDATED_12 Red Rock Terrace",
            "city" : "UPDATED_Singing Desert",
            "state" : "MA",
            "zip" : "88888",
            "phone" : "333-333-3333",
            "accountNotes1" : "UPDATED_Here",
            "accountNotes2" : "UPDATED_is my",
           "accountNotes3" : "UPDATED_account"
         }
}

 

 

15.22 Update Transaction Notes

{ path : "/Payment/CreditCard",  method :            POST }
{
         "request" : "updateTransactionNotes",

                "paywaySessionToken" : "85EAE7B823DFEA917E61610580794A97",
                 "cardTransaction" : 
        { 
                                "sourceId" : "20”,
                                "name"     : "<use transaction id of transaction>",                              
                                "transactionNotes1" : "Note 1 you want to insert"
                                “transactionNotes2” : “Note 2 you want to insert”
                                “transactionNotes3” : “Note 3 you want to insert”        
          }
}
Reply
{
    "cardAccount": {
        "accountNotes1": "UPDATED_Here",
        "accountNotes2": "UPDATED_is my",
        "accountNotes3": "UPDATED_account",
        "accountNumber": "401288******1881",
        "account_number_masked": "401288******1881",
        "address": "UPDATED_12 Red Rock Terrace",
        "auLastUpdate": "1999-01-01 00:00:00-05",
        "auUpdateType": 0,
        "cardType": 1,
        "city": "UPDATED_Singing Desert",
        "commercialCardType": 0,
        "divisionId": 1,
        "email": "[email protected]",
        "expirationDate": "0725",
        "firstFour": "4012",
        "firstName": "UPDATED_Wiley",
        "fsv": "",
        "inputMode": 1,
        "lastFour": "1881",
        "lastName": "UPDATED_Coyote",
        "lastUsed": "1999-01-01 00:00:00-05",
        "middleName": "UPDATED_Genius",
        "onlinePaymentCryptogram": "",
        "p2peInput": "",
        "paywayToken": 10000130,
        "phone": "3333333333",
        "state": "MA",
        "status": 2,
        "zip": "88888"
    },
    "cardTransaction": {
        "addressVerificationResults": "N",
        "amount": 1000,
        "authorizationCode": "TAS642",
        "authorizedTime": "2021-02-25 00:00:00-05",
        "capturedTime": "2021-02-25 17:02:57-05",
        "cbMode": 4,
        "eciType": 1,
        "fraudSecurityResults": "",
        "fsvIndicator": "",
        "name": "<use transaction id of transaction>",
        "pfpstatus": 3601,
        "pfpstatusString": "PFP Not Enabled",
        "processorErrorMessage": "",
        "processorOrderId": "",
        "processorRecurringAdvice": "",
        "processorResponseDate": "",
        "processorResultCode": "00",
        "processorSequenceNumber": 0,
        "processorSoftDescriptor": "Joe's Taxi 45th St",
        "referenceNumber": "",
        "resultCode": 0,
        "sessionToken_string": "0",
        "settledTime": "1999-01-01 00:00",
        "sourceId": 20,
        "status": 4,
        "tax": 100,
        "testResultAVS": "",
        "testResultFSV": "",
        "transactionNotes1": "Updated Note1 ",
        "transactionNotes2": "Updated Note 2",
        "transactionNotes3": "Updated Note 3"
    },
    "paywayCode": "5000",
    "paywayMessage": ""
}

 

15.23 Queue Authorize Hosted Request

path: /Payment/CreditCard method: POST
{
    "cardTransaction": {
        "amount": 1000,
        “eciType”: 1,
        "sourceId": 20,
        "name": "TEST-81-15",
        "tax": 100,
        "transactionNotes1": "",
        "transactionNotes2": "",
        "transactionNotes3": ""
    },
    "password": "1234567h",
    "paywaySessionToken": "85EAE7B823DFEA917E61610580794A97",
    "request": "queueAuthorize",
    "userName": "villagePerson"
}


 queueAuthorize Reply 
{
    "paywayCode": "5000",
    "paywayMessage": "",
    "paywayRequestToken": "630CC360617453F46AE959BF815681AC",
    "transactionName": ""
}

 

15.24 Queue Sale Hosted Request

path: /Payment/CreditCard method: POST
{
    "cardTransaction": {
        "amount": 1000,
        “eciType”: 1,
        "sourceId": 20,
        "name": "TEST-81-14",
        "tax": 100,
        "transactionNotes1": "",
        "transactionNotes2": "",
        "transactionNotes3": ""
    },
    "password": "1234567h",
    "paywaySessionToken": "85EAE7B823DFEA917E61610580794A97",
    "request": "queueSale",
    "userName": "villagePerson"
}


 queueSale Reply 
{
    "paywayCode": "5000",
    "paywayMessage": "",
    "paywayRequestToken": "6D9DA56D2457C216FB38200DC3000738",
    "transactionName": ""
}



 

15.25 Queue Trial Authorize

path:	/Payment/CreditCard
method:	POST
Request:{
    "request": "queueTrialAuthorize",
    "userName": "test",
    "password": "1234567w",
    
    "cardTransaction": {
        "name": "TEST-107-15",
        "sourceId": 11,
        "transactionNotes1": "",
        "transactionNotes2": "",
        "transactionNotes3": ""
    }
   
}

Reply:{
    "paywayCode": "5000",
    "paywayMessage": "",
    "paywayRequestToken": "15F11209A8F57CF45D07FBBB2FC4DFBB",
    "transactionName": ""
}





 

15.27 Retrieve Hosted Transaction Results

path: /Query/CreditCard method: POST
{
    "paywayRequestToken": "6D9DA56D2457C216FB38200DC3000738",
    "request": "hostedTransactionResults"
}


 hostedTransactionResults 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,
        "email": "[email protected]",
        "expirationDate": "0719",
        "firstFour": "4012",
        "firstName": "Wiley",
        "fsv": "",
        "divisionId": 17,
        "inputMode": 4,
        "lastFour": "1881",
        "lastName": "Coyote",
        "lastUsed": null,
        "middleName": "Genius",
        "p2peInput": "",
        "paywayAccountToken": 10117024,
        "phone": "2222222222",
        "state": "AZ",
        "status": 2,
        "zip": "01929"
    },
    "cardTransaction": {
        "addressVerificationResults": "",
        "amount": 1000,
        "authorizationCode": "0987654321",
        "authorizedTime": "2020-04-30 00:00:00-04",
        "capturedTime": "2020-04-30 16:41:42-04",
        "cbMode": 2,
        “eciType”: 1,
        "fraudSecurityResults": "",
        "fsvIndicator": "",
        "sourceId": 20,
        "name": "TEST-81-14",
        "pfpstatus": 0,
        "processorErrorMessage": "",
        "processorOrderId": "",
        "processorRecurringAdvice": "",
        "processorResponseDate": "",
        "processorResultCode": "",
        "processorSequenceNumber": 0,
        "processorSoftDescriptor": "",
        "referenceNumber": "123456",
        "resultCode": 5000,
        "sessionToken_string": "489",
        "settledTime": "1999-01-01 00:00",
        "status": 4,
        "tax": 100,
        "testResultAVS": "",
        "testResultFSV": "",
        "transactionNotes1": "",
        "transactionNotes2": "",
        "transactionNotes3": "",
        “type”: <Varies depending on the queueing method>,

    }

}

 

 

15.26 Send a Queued Transaction

path: /Payment/CreditCard method: POST
{
    "accountInputMode": "primaryAccountNumber",
    "cardAccount": {
        "accountNotes1": "Here",
        "accountNotes2": "is my",
        "accountNotes3": "account",
        "accountNumber": "4012888888881881",
        "address": "12 Red Rock Terrace",
        "city": "Singing Desert",
        "email": "[email protected]",
        "expirationDate": "07/19",
        "firstName": "Wiley",
        "fsv": "",
        "lastName": "Coyote",
        "middleName": "Genius",
        "phone": "222-222-2222",
        "state": "AZ",
        "zip": "01929"
    },
    "paywayRequestToken": "6D9DA56D2457C216FB38200DC3000738",
    "request": "sendQueuedTransaction"
}


 sendQueuedTransaction Reply 
{
    "paywayCode": "5000",
    "paywayMessage": ""
}
 

 

15.28 Queued Add Account Hosted Request

path: /Account/CreditCard method: PUT
{
    "divisionId": 17,
    "password": "1234567h",
    "paywaySessionToken": "85EAE7B823DFEA917E61610580794A97",
    "request": "queueAddAccount",
    "userName": "villagePerson"
}


 queueAddAccount Reply 
{
    "paywayCode": "5000",
    "paywayMessage": "",
    "paywayRequestToken": "34895B941F259821E328F74F19808865",
    "transactionName": ""
}

 

 

15.29 Send Queued Add Account

path: /Account/CreditCard method: PUT
{
    "accountInputMode": "primaryAccountNumber",
    "cardAccount": {
        "accountNotes1": "Here",
        "accountNotes2": "is my",
        "accountNotes3": "account",
        "accountNumber": "4012888888881881",
        "address": "12 Red Rock Terrace",
        "city": "Singing Desert",
        "email": "[email protected]",
        "expirationDate": "07/19",
        "firstName": "Wiley",
        "fsv": "",
        "divisionId": "17",
        "lastName": "Coyote",
        "middleName": "Genius",
        "phone": "222-222-2222",
        "state": "AZ",
        "zip": "01929"
    },
    "paywayRequestToken": "34895B941F259821E328F74F19808865",
    "request": "sendQueuedAddAccount"
}


 sendQueuedAddAccount Reply 
{
    "paywayCode": "5000",
    "paywayMessage": ""
}

 

15.30 Retrieve Hosted Add Account Results

path: /Query/CreditCard method: POST
{
    "paywayRequestToken": "34895B941F259821E328F74F19808865",
    "request": "hostedAddAccountResults"
}

 hostedAddAccountResults 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,
        "email": "[email protected]",
        "expirationDate": "0719",
        "firstFour": "4012",
        "firstName": "Wiley",
        "fsv": "",
        "divisionId": 17,
        "inputMode": 4,
        "lastFour": "1881",
        "lastName": "Coyote",
        "lastUsed": null,
        "middleName": "Genius",
        "p2peInput": "",
        "paywayAccountToken": 10117024,
        "phone": "2222222222",
        "state": "AZ",
        "status": 2,
        "zip": "01929"
    }
  
}



 

Subscribe

Every post in your inbox