post
http://{url}{}/api/method/emotive_app.lms.payment_processors.api.post_to_transaction_queue
Posts payment transaction data to the transaction queue for processing. This endpoint is used by payment processors to submit transaction information.
Endpoint: POST /post_to_transaction_queue
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
payment_identifier | string | Yes | Unique identifier for the payment transaction |
payment_amount | float | Yes | Total payment amount |
net_payment_amount | float | Yes | Net payment amount after fees |
payment_type | string | Yes | Type of payment (ach, apple_pay, cash, cash_app, credit, debit, google_pay, paypal, pin4, venmo) |
status | string | Yes | Payment status ("payment" for successful, "decline" for failed) |
payment_timestamp | string | Yes | ISO timestamp of the payment |
site_order_identifier | string | Yes | Lending account number |
processor_type | string | Yes | Payment processor name (e.g., "BlytzPay") |
order_identifier | string | No | Order identifier from the payment processor |
processing_fee | float | No | Processing fee charged by the payment processor |
withheld_amount | float | No | Amount withheld by the payment processor |
site_customer_identifier | string | No | Customer identifier in the system |
status_reason | string | No | Reason for decline if status is "decline" |
custom_fields | object | No | Custom fields as key-value pairs |
Payment Types
-
ach- Automated Clearing House -
apple_pay- Apple Pay -
cash- Cash payment -
cash_app- Cash App -
credit- Credit card -
debit- Debit card -
google_pay- Google Pay -
paypal- PayPal -
pin4- PIN-based debit -
venmo- Venmo
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Request Body
- The request body contains payment transaction details that are posted to the transaction processing queue.
Payment Types
- ach — Automated Clearing House
- apple_pay — Apple Pay
- cash — Cash payment
- cash_app — Cash App
- credit — Credit card
- debit — Debit card
- google_pay — Google Pay
- paypal — PayPal
- pin4 — PIN-based debit
- venmo — Venmo
Response Structure
- Indicates whether the transaction was successfully added to the queue or already exists.
- Returns the unique transaction identifier when applicable.
Example Response
{
"message": {
"success": true,
"message": "Transaction already exists in queue",
"transaction_id": "BLY-123456789"
}
}