İçeriğe geç

create_2

POST
/v1/payment-links
curl --request POST \
--url https://api.lydiagate.com/v1/payment-links \
--header 'Content-Type: application/json' \
--data '{ "amount": 1, "terminalId": "example", "customerCommissionShareBps": 1, "description": "example", "redirectUrl": "example", "allowedInstallmentCounts": [ 1 ] }'
Media typeapplication/json
object
amount
integer format: int64
>= 1
terminalId
required
string
>= 1 characters
customerCommissionShareBps
integer | null format: int32
<= 10000
description
string | null
redirectUrl
string | null
0 <= 512 characters
allowedInstallmentCounts
Array<integer> | null
Examplegenerated
{
"amount": 1,
"terminalId": "example",
"customerCommissionShareBps": 1,
"description": "example",
"redirectUrl": "example",
"allowedInstallmentCounts": [
1
]
}

Created

Media type*/*
object
id
string
token
string
url
string
partnerReference
integer format: int64
status
string
Allowed values: pending launched initiated completed expired failed cancelled
amount
integer format: int64
customerCommissionShareBps
integer format: int32
description
string | null
redirectUrl
string | null
firstOpenedAt
string | null format: date-time
lastOpenedAt
string | null format: date-time
expiresAt
string format: date-time
createdAt
string format: date-time
updatedAt
string format: date-time
allowedInstallmentCounts
Array<integer> | null