Purchases Refund

Refund a purchase

Authentication

AuthorizationBearer

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

Path parameters

purchaseIdstringRequiredformat: "uuid"

Request

This endpoint expects an object.
refundTypeenumRequired
Allowed values:
confirmedbooleanOptional

Response

Successful response
successboolean
messagestring
confirmation_requiredbooleanDefaults to false
warningstringDefaults to
awaiting_whitelistbooleanDefaults to false
can_retrybooleanDefaults to false
whitelist_csvstringDefaults to

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error