Skip to main content
POST
Refunds are submitted through the POS HMAC integration and reverse funds from the processor back to the subscriber.

Request

string
required
API key ID assigned to the POS integration
string
required
RFC3339 timestamp used in the HMAC signature
string
required
Hex-encoded HMAC-SHA256 of the request

Body Parameters

string
required
ID of transaction to refund
string
required
Amount to refund (can be partial)
string
required
Reason for refund
string
required
Admin/User ID authorizing refund

Response

boolean
Whether refund succeeded
string
Refund transaction ID
string
Formatted refunded amount

Examples


Errors

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Refund details

amount
string
required

Accepts decimal format like "150.00" or "150"

Example:

"150.00"

initiated_by
string
required
Example:

"admin-user-id"

original_transaction_id
string
required
Example:

"txn-uuid"

reason
string
required
Example:

"Customer returned goods"

Response

Refund processed

The response is of type object.