Developer Portal

Content

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,

    }

}

 

Subscribe

Every post in your inbox