curl --request POST \
--url https://api.sprucecollective.co.uk/nomupay/payments/{id}/refund \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"amount_cents": 123,
"currency": "<string>"
}
'{}Process a refund for a NOMU Pay payment. Admin only. Supports full or partial refunds. Payment ID is in the URL path.
curl --request POST \
--url https://api.sprucecollective.co.uk/nomupay/payments/{id}/refund \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"amount_cents": 123,
"currency": "<string>"
}
'{}Type "Bearer" followed by a space and JWT token.
Payment Transaction ID (UUID)
Refund request data (optional - for partial refunds)
OK
The response is of type object.