---
title: "PayByLink"
method: POST
path: "/v1.02/paybylink/create"
---

# PayByLink

`POST /v1.02/paybylink/create`

Creates a request to allow the customer to pay using PayByLink.

## Request body

- object
  - `payment` object, required — Informations regarding the payment
    - `identifier` string
    - `amount` object
      - `value` number, float, required — Payment amount
      - `currency` string, required
    - `shipping` object
      - `value` number, float, required — Shipping amount
      - `currency` string
    - `lang` string — Defines the Language of the email notifications.
    - `expirationDate` string, date — Defines the date when the link will expire (Default value is 24 hours after the link creation)
    - `successUrl` string — The payer will be forwarded to this url if the payment process is successful.
    - `failUrl` string — The payer will be forwarded to this url if the payment process fails.
    - `backUrl` string — The payer will be forwarded to this url if the user presses back.
  - `products` object[] — All products in the order. This param may include different objects (products).
    - `sku` string — Product code (Required to pay with Cofidis Pay)
    - `name` string — Product name
    - `value` number, float, required — Product price
    - `quantity` integer — Number of times this product is ordered (Required to pay with Cofidis Pay)
    - `tax` number, float — Tax percentage (Required to pay with Cofidis Pay)
    - `discount` number, float — (Required to pay with Cofidis Pay)
    - `description` string — Text describing the product (Required to pay with Cofidis Pay)
  - `customer` object — Informations regarding customer's notifications
    - `notify` boolean
    - `email` string — Customer's email
    - `nome` string — Customer's name

## Response `200`

200

- object
  - `transactionStatus` string
  - `transactionID` string
  - `status` string
  - `redirectUrl` string

## Other responses

- `401` — 401

---

[API](https://skmtc.net/eupago/apis/intro-and-oauth.md) · [All operations](https://skmtc.net/eupago/apis/intro-and-oauth/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/eupago/intro-and-oauth/versions/778475fa98e9/schema)
