curl --request POST \
--url https://us.api.flexprice.io/v1/invoices/{id}/payment/attempt \
--header 'x-api-key: <api-key>'{
"message": "<string>"
}Use when paying an invoice with the customer’s wallet balance (e.g. prepaid credits or balance applied at checkout).
curl --request POST \
--url https://us.api.flexprice.io/v1/invoices/{id}/payment/attempt \
--header 'x-api-key: <api-key>'{
"message": "<string>"
}