This endpoint returns the receipt/overview of the transaction after the payment.

📘

HTTP Request

GET https://sandboxsalesapi.connexpay.com/api/v1/HostedPaymentPageRequests/GetTransaction/{tempToken}/{saleGUID}

URL Parameter:

Parameter

Description

tempToken

Temp token get from the Hosted Payment Token Request API.

saleGUID

Unique Identifier of the Sale that was generated by the Hosted Payment Make Payment Request.

Response:

  • 200 code (created)
{
    "merchantName": "ACME",
    "description": "Hundred Dollar Trip",
    "amount": 100.00,
    "otherUrl": "https://sandboxsales.connexpay.com/#!/HostedPaymentResult",
    "resultRedirectUrl": "https://sandboxsales.connexpay.com/#!/HostedPaymentResult",
    "cancelUrl": "https://sandboxsales.connexpay.com/#!/HostedPaymentResult",
    "tempToken": "8263d54a-b61b-4601-a4a8-f7231565b87e",
    "displayCreditCard": true,
    "displayAch": false,
    "expiration": "2020-11-24T10:07:53.93",
    "logoUrl": "https://connexpay.com/wp-content/uploads/2018/10/newlogo.png",
    "merchantGuid": "1818a55e-8541-4bfe-a288-bad870afbe1d",
    "used": true,
    "sale": {
        "guid": "8dcdd5b0-9bd0-47a4-8675-b2cd57e5b6d5",
        "status": "Transaction - Approved",
        "type": "Default",
        "batchStatus": "Batch - Open",
        "timeStamp": "2020-11-23T04:09:11.33-06:00",
        "deviceGuid": "0b7a9536-9fcd-4074-a841-d47eef77b81b",
        "amount": 100.00,
        "activated": true,
        "tenderType": "Credit",
        "effectiveAmount": 0.00,
        "orderNumber": "Dan-20201119M52433",
        "cardDataSource": "INTERNET",
        "batchGuid": "9f723a3f-1851-41e1-912a-747cc5a1e689",
        "riskProcessingOnly": false,
        "processorStatusCode": "A0000",
        "processorResponseMessage": "Success",
        "wasProcessed": true,
        "authCode": "VTLMC1",
        "refNumber": "24794962",
        "customerReceipt": "CONNEXPAY\n8320 S HARDY DRIVE\nTEMPE AZ 85284\n11/23/2020 09:08:53\n\nCREDIT - SALE\n\nCARD # : **** **** **** 0057\nCARD TYPE :MASTERCARD\nEntry Mode : MANUAL\n\nTRANSACTION ID : 24794962\nInvoice number : Dan-20201119M52433\nAUTH CODE : VTLMC1\nSubtotal:                       $00.00\n--------------------------------------\nTotal:                          $00.00\n--------------------------------------\n\n\n\nTest-User\n\nCUSTOMER ACKNOWLEDGES RECEIPT OF\nGOODS AND/OR SERVICES IN THE AMOUNT\nOF THE TOTAL SHOWN HEREON AND AGREES\nTO PERFORM THE OBLIGATIONS SET FORTH\nBY THE CUSTOMER`S AGREEMENT WITH THE\nISSUER\nAPPROVED\n\n\n\n\nCustomer Copy\n",
        "generatedBy": "TestUser",
        "card": {
            "first6": "549974",
            "first4": "5499",
            "last4": "0057",
            "cardHolderName": "Test-User",
            "cardType": "Mastercard",
            "expirationDate": "2022-01",
            "guid": "ce0aac4c-0025-4139-a2d5-da27f32f3be6",
            "customer": {
                "guid": "608d74fb-6754-4e21-9a58-2c97a6971943",
                "email": "[email protected]"
            }
        },
        "addressVerificationCode": "0",
        "addressVerificationResult": "Unavailable",
        "cvvVerificationResult": "Unavailable",
        "incomingTransactionCode": "8982600637417444732449185"
    }
}