Process Payment with a Token

Description: processPayment for Token

A payment is an amount of money that is paid on a date, by a payer to a specific billing account or invoice. In this case the payment is made with a token. To make a token payment the token should exist.

Rules: processPayment

To process a payment from a token, you must first request the token.

Request Parameters: processPayment

[table id=76 /]

Sample of a processPayment

processPayment sample 1: process a payment using a token.

{
    "ns3.paymentTransaction": {
        "fundingAccount": {
            "@xsi.type": "cv3:tokenAccount", 
             "number": asdfsdip9joidfjoi
        }, 
        "authUserId": "some_user_id", 
        "authUserRole": "ACCOUNTHOLDER", 
        "billingAccount": "8wpI869383MTi9X", 
        "description": "TEST", 
        "deviceType": "WEB", 
        "txnAmount": {
            "amount": 777.77, 
            "currency": "USD"
        }
    }
}

Response Parameters: processPaymentResponse

[table id=77 /]

Sample of Response: processPaymentResponse

Response processPayment sample 1:

{
    "tv3.baseTransactionResponse": {
        "approvalCode": "Z     ", 
        "clearanceDate": "2014-03-14T08:36:53.260-04:00", 
        "detailReason": "Approval [00]", 
        "txnAmount": {
            "amount": 777.77, 
            "currency": "USD"
        }
	 "feeAmount": {
            "amount": 0.00, 
            "currency": "USD"
        } 
        "processedAccountType": "CREDITCARD", 
        "processor": "TSYS", 
        "resultCode": "A000", 
        "status": "PENDING", 
        "transactionDate": "2014-03-14T08:36:53.260-04:00", 
        "transactionId": "B14073407"
    }
}