Unapply credit from invoice
Changed onNot available as a standalone operation; returns 501.
A credit application belongs to the payment that applied it. To release the credit, delete that payment (DELETE /payments/{id}), which removes its applications and restores the credit memo's remaining balance.
Request
- Base URLhttps://api.mvmnt.io/v1
- URLhttps://api.mvmnt.io/v1/credit-memos/{creditMemoId}/applications/{applicationId}
- AuthHTTP bearer
Path parameters
Credit memo ID
Application ID
Response
Credit unapplied successfully
Example response
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"reference": "CM-00001",
"customer": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"key": "ERP-CUSTOMER-ACME",
"name": "Acme Manufacturing Corp",
"friendlyId": "A123456",
"status": "ACTIVE",
"phoneNumber": "+1-555-123-4567",
"website": "https://acme-manufacturing.com",
"createdAt": "2025-01-15T10:00:00Z",
"updatedAt": "2025-01-15T14:30:00Z"
},
"currency": "USD",
"createdBy": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"key": "ERP-USER-12345",
"email": "john.doe@example.com",
"name": "John Doe",
"phone": "+1-555-123-4567",
"phoneExt": "123",
"status": "ACTIVE",
"avatarId": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"createdAt": "2025-01-15T10:00:00Z",
"updatedAt": "2025-01-15T14:30:00Z"
}
}Changes
- breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - info
media type
application/jsonwas changed to a more specific media typeapplication/problem+jsonfor the response status - info
media type
application/jsonwas changed to a more specific media typeapplication/problem+jsonfor the response status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking
- warning
added the new
BLOCKEDenum value to the/response property for the response status - warning
added the new
CLOSEDenum value to the/response property for the response status - warning
added the new
CONTACTEDenum value to the/response property for the response status - warning
added the new
NEWenum value to the/response property for the response status - warning
added the new
NURTURINGenum value to the/response property for the response status - warning
added the new
PENDINGenum value to the/response property for the response status - warning
added the new
QUALIFIEDenum value to the/response property for the response status - warning
added the new
QUOTEDenum value to the/response property for the response status - info
removed the
CHURNEDenum value from the/response property for the response status - info
removed the
PROSPECTenum value from the/response property for the response status
- warning