POST
/
v1
/
invoices
/
{id}
/
resend
Renvoyer une facture avec une nouvelle échéance
curl --request POST \
  --url https://api.pay.izichange.com/v1/invoices/{id}/resend \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "dueDate": "2026-06-01T23:59:59Z"
}
'
{
  "success": true,
  "resent": true,
  "expiresAt": {}
}

Autorisations

Authorization
string
header
requis

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Paramètres de chemin

id
string
requis

Identifiant de la facture.

Corps

application/json
dueDate
string

New ISO-8601 due date for the invoice

Exemple:

"2026-06-01T23:59:59Z"

Réponse

Facture renvoyée avec une nouvelle échéance.

success
boolean
requis

Succès de l'opération.

Exemple:

true

resent
boolean
requis

Confirme que la facture a bien été renvoyée.

Exemple:

true

expiresAt
object
requis

Nouvelle date d'expiration de la facture — ISO 8601.