Credit Notes
Request to void a credit note
Request to void an existing credit note.
post/credit-notes/{credit_note_id}/void
Request
- Base URLhttps://app-sandbox.resolvepay.com/api
- Auth
- HTTP bearer
- or HTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
The credit note object.
Example response
{
"id": "CNMlaE5wbg0",
"source": "MERCHANT_USER",
"customer_id": "X50sgfRd",
"merchant_id": "MER456789",
"invoice_id": "PMMlaE5wbg0",
"created_by_user_id": "USR123456",
"number": "CN-001",
"amount": 1000,
"amount_balance": 500,
"amount_paid": 500,
"amount_payout": 1000,
"amount_payout_balance": 500,
"amount_payout_paid": 500,
"credit_note_url": "https://www.example.com/credit-note.pdf",
"resolve_credit_note_url": "https://www.example.com/resolve-credit-note.pdf",
"reason_code": "requested_by_customer",
"reason_message": "Customer returned damaged goods"
}Changes
No recorded changes to this operation across all 1 revision of this API.