Generate Cryptocurrency Invoice for Direct Card Top-Up
POST/api/v1/crypto/lnx/invoice
Generates an invoice link for cryptocurrency payment, allowing for direct top-up to a specified card, bypassing the wallet. This facilitates direct cryptocurrency deposits into the card's balance.
Request
- application/json
Body
required
card_id Card Id
The unique identifier of the card to which the cryptocurrency is to be deposited.
amount Amountrequired
The amount of cryptocurrency to be deposited to the card.
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
code Code
Default value: 200
detail Detail
Default value: ok
{
"code": 200,
"detail": "ok"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- MOD1
- MOD2
- ]
- ]
detail object[]
loc object[]required
anyOf
string
integer
msg Messagerequired
type Error Typerequired
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...