Skip to content
On this page

/payment/{paymentMethodId}

Delete a payment method on file.

HTTP Request

DELETE https://api.q2open.io/v1/payment/{paymentMethodId}

Arguments

ParameterDescription
paymentMethodIdID of payment method to delete.

Returns

Returns an object with a success property if the payment method was deleted. Returns an error otherwise.

Example Request

shell
curl "https://api.q2open.io/v1/payment/566595c8ce88ccec69328566" \
  -H "Authorization: Bearer dc220490-e6ee-11e5-8a94-e7385a8d929e" \
  -X DELETE

Example Response

json
{
  "success": true
}