Logo
Peach Payments Public API Documentation

Cancel link

DELETE {{baseUrl}}/api/payments/:paymentId

You can cancel a previously generated link. To cancel a payment you will need to have the unique paymentId available. This is returned to you in the payment request.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Accept
string




RESPONSES

status OK

{ "message": "Payment 12cc649f-70e9-4c50-8682-28eb94634123 has been successfully cancelled" }



Curl
curl -X DELETE 'baseUrl/api/payments/:paymentId' -H 'Accept: application/json'

ENDPOINTS