cURL
curl --request DELETE \ --url https://staging.afx-server.com/api/v1/payment-method/{paymentMethodId} \ --header 'x-api-key: <api-key>'
{}
Removes a payment method from the system.
Static business API key from the dashboard
The unique identifier of the payment method
Payment method retrieved successfully.
The response is of type object.
object