v1

latestOpenAPI 3.1.02026-07-245178279.0 KB
Payment Links

Get Payment Links Query

Este endpoint permite obtener todos los enlaces de pago asociados a un merchant.

get/merchants/payments-links/all

Headers

X-API-KEYstring required

<a href="https://docs.deuna.com/reference/checkout-deuna#autenticaci%C3%B3n" target="_blank">Llave privada</a> del comercio

Response

Payment link creada

payment_linkstring

URL of the payment link

payment_link_idstring

ID of the payment link

Example response

{
  "configuration": {
    "expires_at": "2025-11-07 03:40:11.054707389 +0000 UTC",
    "max_completed_purchases": 1,
    "max_payment_retries": 2,
    "payment_link_name": "creacion payment link + impuestos"
  },
  "order": {
    "currency": "MXN",
    "items": [
      {
        "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean euismod bibendum laoreet.",
        "id": "789012345",
        "image_url": "https://cdn.stg.deuna.io/explore-deuna/assets/ticketevent.png",
        "name": "Event Ticket",
        "quantity": 1,
        "tax_amount": {
          "currency": "PEN",
          "currency_symbol": "S/"
        },
        "total_amount": {
          "amount": 7220,
          "currency": "PEN",
          "currency_symbol": "S/"
        },
        "unit_price": {
          "amount": 7220,
          "currency": "PEN",
          "currency_symbol": "S/"
        }
      }
    ],
    "items_total_amount": 7000,
    "redirect_urls": {
      "success": "https://example.com/success"
    },
    "store_code": "all",
    "sub_total": 7000,
    "total_amount": 7220,
    "total_tax_amount": 220
  },
  "payment_link": "https://api.stg.deuna.io/payment-link/a1063733-fdec-446d-8d1f-a1799deab951",
  "payment_link_id": "a1063733-fdec-446d-8d1f-a1799deab951"
}