Get Payment Status

Last changes: 08-28-2020

The API method Get Payment Status returns the current status of the specified transaction.

API Parameters

Field Mandatory Description Type Length
transactionId Yes The Transaction ID received by calling the SmartPay API method Create Checkout. GUID 36

Example

Specify the transaction-ID in the URL.

Request

Path:

GET {Base URL}/payment/transaction/4e687bcc-053d-47e1-ad15-ae0c30a41d03

Header:

Content-Type: application/json
Accept-Language: en-US


Response

{
    "paymentTransaction": {
        "originDomain": "https://localhost.localdomain",
        "channelResult": {...},
        "uniqueReference": "avxC18sXLkOyLvamfqNqFQ",
        "billingAddress": {...},
        "creationDate": "2020-03-05T17:54:51.179Z",
        "TTL": 1586022891,
        "channel": {...},
        "merchant": {...},
        "fspayResponses": [
            {
                "dateUTC": "2020-03-05",
                "timeUTC": "175536",
                "operation": "INIT_AUTHORIZE",
                "responseDescription": "Successful execution.",
                "statusCode": "RECEIVED",
                "responseCode": "0000"
            },
            {
                "dateUTC": "2020-03-05",
                "timeUTC": "175552",
                "operation": "COMPLETE_AUTHORIZE",
                "responseDescription": "Successful execution.",
                "statusCode": "AUTHORIZED",
                "responseCode": "0000"
            },
            {
                "dateUTC": "2020-03-05",
                "timeUTC": "175553",
                "operation": "CAPTURE",
                "responseDescription": "Successful execution.",
                "statusCode": "CAPTURED",
                "responseCode": "0000"
            }
        ],
        "paymentStatus": "CAPTURED",
        "payment": {
            "description": "TXL Parking Airport ABA80m7dRF",
            "amount": 3.99,
            "currencyCode": "EUR",
            "option": "VISA"
        },
        "authorizationToken": "aHR0cHM6Ly93cHAtdGVzdC53aXJlY2FyZC5jb20vc2VhbWxlc3M/d1BheW1lbnRUb2tlbj1nbHpfbVVKSDVWbUZLYVNlVmFzdm9pRndLa2sxMWM4NlFtY2xwbFpXaTFj",
        "id": "4e687bcc-053d-47e1-ad15-ae0c30a41d03",
        "paymentStatusAndDate": "SESSION_COMPLETED@2020-03-05T17:55:53.722Z"
    }
}