Refund a payment
Requires the PAYMENT.REFUND permission.
Authentication
X-API-KEYstring
API Key authentication via header
OR
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
version
version
resourceId
The ID of the resource for which the action is posted.
Headers
x-platform-id
Platform ID.
Request
This endpoint expects an object.
amount
Response
OK
external_reference
result
object_type
id
created_at
timestamp
customer_id
customer
invoice_id
Resource ID of type INVOICE
payment_acceptor_id
Resource ID of type PAYMENT_ACCEPTOR
payment_acceptor_reference
payment_method_id
Resource ID of type PAYMENT_METHOD
payment_method_details
integration_payment_method_reference
amount
result_details
dunning_action_details
updated_at
context
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error