Skip to main content
POST

Authorizations

Authorization
string
header
required

Use your OAuth client credentials to obtain a short-lived Bearer token from POST /oauth/token.

Body

application/json
transaction_id
string
required

The transaction ID of the collection to refund. The collection must belong to one of your business customers, be created through the API, and be a successful EUR or GBP ClearJunction collection.

reason
string

Optional reason for the refund. Stored against the transaction. Defaults to Refund of collection to source when omitted.

Maximum string length: 250
reference
string

Optional idempotency key of your choice. Reuse the same reference on the same transaction_id to safely retry without a second refund. The same reference on a different transaction returns a 400 conflict.

Maximum string length: 100

Response

Refund initiated successfully.

message
string
required
data
object
required