curl --request DELETE \
--url https://api.onepay.la/v1/invoices/{invoice_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"reason": "<string>"
}
'no content
Cancela el Payment asociado y elimina la factura.
curl --request DELETE \
--url https://api.onepay.la/v1/invoices/{invoice_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"reason": "<string>"
}
'no content
no content
Was this page helpful?