Comment on page
💸
Make a payment
From your local wallet back to the faucet
Once you're finished with the funds, please return them to the faucet for other developers to learn with. You can do this by creating an invoice on the faucet side remotely:
curl --request POST \
--url https://faucet.bitcoinsv.io/payd/api/v1/invoices \
--header 'Content-Type: application/json' \
--data '{
"satoshis": 883
}'
and actioning the payment locally with the id in the response from the above request:
curl --request POST \
--url http://localhost:8443/api/v1/pay \
--header 'Content-Type: application/json' \
--data '{
"payToURL": "https://faucet.bitcoinsv.io/payd/api/v1/payments/{id}"
}'
Last modified 1yr ago