POST
/
v2
/
pay_invoice
curl --request POST \
  --url http://127.0.0.1:9550/v2/pay_invoice \
  --header 'Content-Type: application/json' \
  --data '{
  "data_for_tool": "<any>",
  "invoice_id": "<string>"
}'
"<any>"

Process a payment for a given invoice using the user’s wallet.

Body

application/json
data_for_tool
any
required
invoice_id
string
required

Response

200
application/json
Successfully paid invoice

The response is of type any.