Adyen Checkout API
  1. Payment links
Adyen Checkout API
  • Modifications
    • Cancel an authorised payment
      POST
    • Update an authorised amount
      POST
    • Cancel an authorised payment
      POST
    • Capture an authorised payment
      POST
    • Refund a captured payment
      POST
    • Refund or cancel a payment
      POST
  • Payments
    • Get the list of brands on the card
      POST
    • Start a transaction for donations
      POST
    • Get a list of available payment methods
      POST
    • Start a transaction
      POST
    • Submit details for a payment
      POST
    • Create a payment session
      POST
  • Orders
    • Create an order
      POST
    • Cancel an order
      POST
    • Get the balance of a gift card
      POST
  • Utility
    • Get an Apple Pay session
      POST
    • Create originKey values for domains
      POST
  • Payment links
    • Create a payment link
      POST
    • Get a payment link
      GET
    • Update the status of a payment link
      PATCH
  • Classic Checkout SDK
    • Create a payment session
      POST
    • Verify a payment result
      POST
  1. Payment links

Get a payment link

GET
/paymentLinks/{linkId}
Retrieves the payment link details using the payment link id.

Request

Path Params

Responses

🟢200OK - the request has succeeded.
application/json
Body

🟠400Bad Request - a problem reading or understanding the request.
🟠401Unauthorized - authentication required.
🟠403Forbidden - insufficient permissions to process the request.
🟠422Unprocessable Entity - a request validation error.
🔴500Internal Server Error - the server could not process the request.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/paymentLinks/'
Response Response Example
200 - Example 1
{
    "allowedPaymentMethods": [
        "string"
    ],
    "amount": {
        "currency": "str",
        "value": 0
    },
    "applicationInfo": {
        "adyenLibrary": {
            "name": "string",
            "version": "string"
        },
        "adyenPaymentSource": {
            "name": "string",
            "version": "string"
        },
        "externalPlatform": {
            "integrator": "string",
            "name": "string",
            "version": "string"
        },
        "merchantApplication": {
            "name": "string",
            "version": "string"
        },
        "merchantDevice": {
            "os": "string",
            "osVersion": "string",
            "reference": "string"
        },
        "shopperInteractionDevice": {
            "locale": "string",
            "os": "string",
            "osVersion": "string"
        }
    },
    "billingAddress": {
        "city": "string",
        "country": "string",
        "houseNumberOrName": "string",
        "postalCode": "string",
        "stateOrProvince": "string",
        "street": "string"
    },
    "blockedPaymentMethods": [
        "string"
    ],
    "countryCode": "string",
    "deliverAt": "2019-08-24T14:15:22Z",
    "deliveryAddress": {
        "city": "string",
        "country": "string",
        "houseNumberOrName": "string",
        "postalCode": "string",
        "stateOrProvince": "string",
        "street": "string"
    },
    "description": "string",
    "expiresAt": "string",
    "id": "string",
    "installmentOptions": {
        "property1": {
            "maxValue": 0,
            "plans": [
                "regular"
            ],
            "preselectedValue": 0,
            "values": [
                0
            ]
        },
        "property2": {
            "maxValue": 0,
            "plans": [
                "regular"
            ],
            "preselectedValue": 0,
            "values": [
                0
            ]
        }
    },
    "lineItems": [
        {
            "amountExcludingTax": 0,
            "amountIncludingTax": 0,
            "description": "string",
            "id": "string",
            "imageUrl": "string",
            "itemCategory": "string",
            "productUrl": "string",
            "quantity": 0,
            "taxAmount": 0,
            "taxPercentage": 0
        }
    ],
    "manualCapture": true,
    "merchantAccount": "string",
    "merchantOrderReference": "string",
    "metadata": {
        "property1": "string",
        "property2": "string"
    },
    "recurringProcessingModel": "CardOnFile",
    "reference": "string",
    "requiredShopperFields": [
        "billingAddress"
    ],
    "returnUrl": "string",
    "reusable": true,
    "riskData": {
        "clientData": "string",
        "customFields": {
            "property1": "string",
            "property2": "string"
        },
        "fraudOffset": 0,
        "profileReference": "string"
    },
    "shopperEmail": "string",
    "shopperLocale": "string",
    "shopperName": {
        "firstName": "string",
        "lastName": "string"
    },
    "shopperReference": "string",
    "showRemovePaymentMethodButton": true,
    "splits": [
        {
            "account": "string",
            "amount": {
                "currency": "str",
                "value": 0
            },
            "description": "string",
            "reference": "string",
            "type": "BalanceAccount"
        }
    ],
    "status": "active",
    "store": "string",
    "storePaymentMethodMode": "askForConsent",
    "telephoneNumber": "string",
    "themeId": "string",
    "updatedAt": "2019-08-24T14:15:22Z",
    "url": "string"
}
Modified at 2023-08-15 09:16:27
Previous
Create a payment link
Next
Update the status of a payment link
Built with