LogoLogo
Contact API support
  • Build apps
  • Site Templates
  • REST API Reference
  • Storefronts (JS API)
  • Webhook automations
  • Discounts
  • Guides
  • Changelog
  • Overview
  • Payments
    • Online payments overview
    • Provide additional online payment method
    • Process online payment requests
      • Step 1. Decode and parse payment request from Ecwid
      • Step 2. Collect essential data for payment processing
      • Step 3. Initialize the transaction from payment provider
      • Step 4. Place order and return customer back to the store
    • Customize payments
      • Set up payment fees
      • Collect tips/donations at the checkout
      • Add payment instructions to the checkout
      • Show payment icons near your payment method at the checkout
      • Collect additional information before payment
      • Limit payments by selected shipping method
  • Shipping methods
    • Online shipping methods overview
    • Provide additional online shipping method
    • Process online shipping requests
      • Step 1. Parse shipping request
      • Step 2. Calculate shipping rates externally
      • Step 3. Send a response with shipping options
    • Shipping glossary
  • Orders
    • Get order details
      • Customer data in order details
      • Product prices in order details
      • Discounts in order details
      • Taxes in order details
    • Create orders
      • Calculate order details
      • Place new order with API
      • Place a new order from the abandoned cart
    • Sync orders with external services
      • Sync orders manually
      • Automated orders sync

Lightspeed® 2025

On this page
  • Step 1. Find payment method ID with API call
  • Step 2. Update fees for the payment method with API call

Was this helpful?

  1. Payments
  2. Customize payments

Add payment instructions to the checkout

Use payment instructions to guide the customers through the next steps when they select your payment method at checkout. Or explain any fees your payment requires.

To add instructions, first you need to find your payment method ID with REST API call. And then to update instruction details for the payment method with a PUT request.

Step 1. Find payment method ID with API call

Make a GET call to /profile/paymentOptions:

GET https://app.ecwid.com/api/v3/{storeId}/profile/paymentOptions?responseFields=id,appClientId

In response, you’ll see a JSON with payment options:

[
    {
        "id": "13379-1606718590771",
        "appClientId": ""
    },
    {
        "id": "1272790545-1729232856479",
        "appClientId": "custom-app-15695068-1"
    }
]

Parse the response and find the one, where the appClientId value matches with your app’s client_id.

Step 2. Update fees for the payment method with API call

After getting the payment option ID, use it in a second PUT call that adds an instruction to the payment method. The fee has two main settings: title and the instruction text in the following format:

{
    "instructionsForCustomer": {
        "instructionsTitle": "Payment instructions",
        "instructions": "Pay easily with the following steps: ",
        "instructionsTranslated": {
            "en": "Pay easily with the following steps: ",
            "nl": "Betaal eenvoudig met de volgende stappen:"
        }
    }
}

The instructionsTranslated object is optional, it’s only required if your store is multilingual and you want to add translations for the instruction. The first “language: value” pair here must match the main store language and text in the `instructions` field.

Request example:

PUT https://app.ecwid.com/api/v3/{storeId}/profile/paymentOptions/1272790545-1729232856479

{
    "instructionsForCustomer": {
        "instructionsTitle": "Need any help?",
        "instructions": "Pay easily with the following instructions: …"
    }
}

In response you’ll see `200 OK` HTTP status with the response body:

{
    "updateCount": 1
}

Now your payment method has customer instructions visible at the store checkout.

PreviousCollect tips/donations at the checkoutNextShow payment icons near your payment method at the checkout

Last updated 2 days ago

Was this helpful?