Skip to main content
GET
/
api
/
v2
/
batch
/
invoices
curl -X GET "https://loveandpay.io/api/v2/batch/invoices" \
  -H "x-api-key: pk_live_xxx" \
  -H "x-timestamp: 1706012345678" \
  -H "x-signature: a1b2c3d4e5f6..." \
  -o invoice_template.csv
email,name,phone,amount,description,expiresInHours
client@example.com,Иван Иванов,+79991234567,1500,Оплата услуги,24

Documentation Index

Fetch the complete documentation index at: https://docs.loveandpay.io/llms.txt

Use this file to discover all available pages before exploring further.

Заголовки

x-api-key
string
required
Ваш API ключ
x-timestamp
string
required
Unix timestamp в миллисекундах
x-signature
string
required
HMAC-SHA256 подпись
email,name,phone,amount,description,expiresInHours
client@example.com,Иван Иванов,+79991234567,1500,Оплата услуги,24
curl -X GET "https://loveandpay.io/api/v2/batch/invoices" \
  -H "x-api-key: pk_live_xxx" \
  -H "x-timestamp: 1706012345678" \
  -H "x-signature: a1b2c3d4e5f6..." \
  -o invoice_template.csv

Формат CSV

КолонкаОбязательнаяОписание
emailНетEmail клиента
nameНетИмя клиента
phoneНетТелефон в формате +7XXXXXXXXXX
amountДаСумма в рублях
descriptionНетОписание платежа
expiresInHoursНетСрок действия в часах (по умолчанию 24)

Пример заполненного файла

email,name,phone,amount,description,expiresInHours
client1@example.com,Иван Иванов,+79991234567,1500,Заказ #001,24
client2@example.com,Мария Петрова,+79991234568,2500,Заказ #002,48
client3@example.com,Алексей Сидоров,+79991234569,3500,Заказ #003,24
,Анна Козлова,,1000,Заказ #004,12
Пустые значения допустимы для необязательных полей. Обязательным является только amount.