ℹ️Invoice information
Receive information about specific invoice
This method requires authorization
GET https://api.silus.io/v1/invoices/{invoiceId}
Request example
curl https://api.silus.io/v1/invoices/9c3288f5-3aef-464d-a3fd-57c170163eab
\-H 'Authorization: Bearer superSecretPrivateKey'Response
{
"id": "9c3288f5-3aef-464d-a3fd-57c170163eab",
"amount": 9,
"crypto_amount": 0.0001855328,
"remaining_crypto_amount": 0.0001855328,
"paid_fiat_amount": 0,
"paid_crypto_amount": 0,
"fiat_currency": "USD",
"is_payment_multiple": true,
"status": "pending",
"currency": "BTC",
"network": "BTC",
"wallet": "bc1qkyuvunrr4h393vvjkn5w9pyljdnu6084v5tr6j",
"created_at": 1717408600,
"expires_at": 1717412200,
"pay_url": "https://pay.silus.io/9c3288f5-3aef-464d-a3fd-57c170163eab",
"additional_data": {
"user_id": 255,
"client_category": "Big"
},
"transactions": [
{
"transaction_id": "0226ac9c2f59684869c1733866b3c526644f1b7082412a359100c6470b8c06a3",
"source_wallet": "TVxxDaAB3Jc4HQnN6XtXqdzzGp835ihqyd",
"amount": 0.08027
}
]
}id*
Invoice id. Can be used to check it's status
amount*
Invoice amount in fiat currency
crypto_amount
Invoice amount in crypto. Can be null in case no strict currency/network provided
remaining_crypto_amount
Invoice remaining amount in crypto. Can be null in case no strict currency/network provided
paid_fiat_amount
Paid amount of the invoice in fiat currency
paid_crypto_amount
Paid amount of the invoice in crypto currency
fiat_currency*
Fiat currency from which order was created
is_payment_multiple
Whentether multiple payments are allowed for this invoice
status*
wallet
Wallet where we're expecting the payment to be. Can be omit in case no payment method selected
created_at
Unix time for invoice creation date
expires_at
Unix time for invoice expiration date
pay_url
Link which can be used to redirect user to our payment form
additional_data*
Any data provided during Invoice creation request. It will be null if you didn't specify it during invoice creation request.
transactions*
Array which contains list of transactions associated with this payment.
It can have multiple values in case is_payment_multiple = true and user paid separate payments
transactions.*.transaction_id
Transaction ID on blockhain
transactions.*.source_wallet
Wallet from which funds came from
transactions.*.amount
Amount of funds received on this transaction
* - mandatory parameter
Last updated