Skip to main content
POST
/
nomupay
/
payments
/
{id}
/
refund
Refund a NOMU Pay payment
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>"
}
'
{}

Authorizations

Authorization
string
header
required

Type "Bearer" followed by a space and JWT token.

Path Parameters

id
string
required

Payment Transaction ID (UUID)

Body

application/json

Refund request data (optional - for partial refunds)

amount_cents
integer

Optional: partial refund amount in cents. If not provided, full refund

currency
string

Optional: currency code. If not provided, uses payment currency

Response

OK

The response is of type object.