Refund
The method allows you to refund money to the customer that they no longer need to be delivered. To refund a customer for goods that already have been delivered please use the Return endpoint.
API endpoint
POST: {api_url}/api/partner/payments/{purchaseid}/refund
Authorization: Bearer {partner_access_token}
Name | Data Type | Default value | Description |
---|---|---|---|
amount | decimal | None | The item amount |
Example request
Return Value
If successful, the method returns a HTTP status code 204 (OK with no content).