Payment Methods
Delete a payment method by Id
This is used to delete a payment method by instead. Note that you can only delete payment-methods that aren't single-use. For example you can delete a customer's saved payment method, but you cannot delete a token generated for one-time purchases
delete/payment-methods/{paymentMethodId}
Request
- Base URLhttps://sandbox-api.ryftpay.com/v1
- URLhttps://sandbox-api.ryftpay.com/v1/payment-methods/{paymentMethodId}
- AuthAPI key in header Authorization
Path parameters
paymentMethodIdstring required
Example:pmt_01FCTS1XMKH9FF43CAFA4CXT3P
Payment Method to delete
Response
Successfully delete the given Payment Method
Example response
{
"id": "pmt_01G0EYVFR02KBBVE2YWQ8AKMGJ"
}Changes
No recorded changes to this operation across all 10 revisions of this API.