Refund

Initiates a refund against a mandate or a specific presentation/execution. Supports bulk submission via a refunds array.

statusCode: 900 at the batch level indicates a mixed/failed batch — always inspect results[] for per-item outcomes.

Auth note (from source): documented as no-auth in the source collection.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

Merchant/client identifier.

refunds
array of objects
required
refunds*
string

HMAC-SHA256 signature, computed client-side before sending and validated server-side (auto-generated by the caller, not a value you choose). Algorithm: remove any existing secureHash, sort the remaining top-level keys alphabetically, join String(value).trim() per key with |, then HMAC-SHA256 the resulting string with your client_secret, hex-encoded. A second variant used by some endpoints strips comments from the raw body first and JSON-stringifies object values instead of String()-converting them — confirm which variant applies with the JPSL integration team before implementing.

Headers
string
enum

1 for seamless/API-driven flow, 0 for redirect flow.

Allowed:
Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json