Skip to content

Create a payment request

POST
/payments/request
curl --request POST \
--url https://api.ltesocks.io/v2/payments/request \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "amount": 10000, "currency": "btc" }'

Reserved endpoint for payment requests. The v2 contract currently marks this operation as under development.

Payment request parameters

Media typeapplication/json
object
amount

Payment amount in cents (always USD)

integer
Example
10000
currency

Currency in which payment will be paid, given amount will be converted automatically from USD

string
Example
btc

The bearer token is missing, invalid, or no longer active.

Media typeapplication/json
object
error

Error text representation

string
Example
{
"error": "example error"
}

The configured request limit has been exceeded.

Media typeapplication/json
object
error

Error text representation

string
Example
{
"error": "example error"
}

Under development

Media typeapplication/json
object
error

Error text representation

string
Example
{
"error": "Under Development"
}