Delete card data
Remove the card information linked to the given card and customer id.
POST
/v1/customers/:id/sources/:id/delete
curl https://{provided url}/v1/customers/5M-jneMWQQqUnRwqVm256w/sources/scFyFrhhRJmx6sX6Hu6QFg/delete \
-u sk_test_yFStF-KUmgr-7CoumuY2JA:
The above command returns a 204 status code:
Arguments
Argument
Type
Description
customer
string
Customer id owner of the card id provided.
cardID
string
Card id that you want to retrieve.
Returns
Return a no content body response or 404 if non of customer or card are not present on database.
Last updated