post
http://{url}{}/api/method/emotive_app.lms.payment_processors.api.post_to_reversal_queue
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
payment_identifier | string | Yes | Unique identifier for the reversal transaction |
payment_amount | float | Yes | Original payment amount |
reverse_amount | float | Yes | Amount being reversed |
reverse_code | string | Yes | Reversal code from the payment processor (e.g., R01, R02) |
reverse_reason | string | Yes | Reason for the reversal (e.g., "Check Return") |
reverse_type | string | Yes | Type of reversal (chargeback, refund, void, return) |
reverse_timestamp | string | Yes | ISO timestamp of when the reversal was performed |
site_order_identifier | string | Yes | Lending account number |
processor_type | string | Yes | Payment processor name (e.g., "BlytzPay") |
payment_timestamp | string | Yes | ISO timestamp of the original payment |
order_identifier | string | No | Order identifier from the payment processor |
site_customer_identifier | string | No | Customer identifier in the system |
payment_card_type | string | No | Card type if applicable |
payment_card_last_four | string | No | Last four digits of card if applicable |
payment_bank_name | string | No | Bank name if applicable |
payment_bank_last_four | string | No | Last four digits of bank account if applicable |
custom_fields | object | No | Custom fields as key-value pairs |
Reversal Types
-
chargeback- Customer dispute or chargeback -
refund- Merchant-initiated refund -
void- Transaction void -
return- Payment return
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Request Body
- The request body must contain reversal and payment-related details required to process the reversal.
Reversal Types
- chargeback – Customer dispute or chargeback
- refund – Merchant-initiated refund
- void – Transaction void
- return – Payment return
Response Structure
- The response returns the result of the reversal processing attempt, indicating whether the reversal was successfully queued or if an error occurred during validation or processing.
Example Response
{
"message": {
"success": false,
"message": "Error processing reversal: Lending account or electronic payment request LS-485698 does not exist, please check the site order identifier and try again."
}
}