Deposit to the synthetic USD balance
POST
/v2/user/deposit/susd
Create a new deposit, which will automatically be credited to the synthetic USD balance. The amount can be specified in either satoshis (btc
, in which case the amount must be an integer) or USD (usd
, in which case the amount can be a decimal numeral).
Request Body
Body
object
amount
required
number
currency
required
string
{ "amount": 2, "currency": "usd"}
Responses
200
200
object
depositId
required
string
paymentRequest
required
string
expiry
required
number
syntheticUsdAmount
required
number
{ "depositId": "66d68e66-b450-4ce2-a402-fd8c8dab828e", "paymentRequest": "lnbc13370n1pjufyndpp5p96cfwq662q0mkn7a0vy4h8rq5z6kw5q0lv60udwrhg8na909wwsdzcf38zqntpwf4k2arnypzx2ur0wd5hggp4x9jk2vp4vc6z6dtxx4nz6dryxqez6wpsxumz6cejvcmnzc3nxs6nwdehcqzzsxqzz6rzjqvk2judrj9wvqukxqpqdy3vrfdx4dueytnx4hpf70uf0r7ewlhmjuqqzpcqqqqgqqqqqqqlgqqqqqqgq2qsp5aynr4rr94ytesyx7pep2024ssdqjx7dj6m6ncckt0vt6nkcydp6q9qyyssqxx0r3nxy84ym9t5d4nrj2h90elhmmt5q7av3vq0tdcdxzpvu6fwpp96ejfkdg2fm8kuzkfp72qwxw24g4k73dalcn2gqzvmp3q369mqpydqr3r", "expiry": 90, "syntheticUsdAmount": 2.1}
400
400