v2.3
Postman collection
Back to main docs
Search...
/
Introduction
Getting Started
Authentication
API Responses
Idempotency Key
Loyalty Transactions
Changelogs
API Reference
Client Session API
Payments API
Payment Methods API
POST
Save a payment method token
GET
List saved payment methods
DEL
Delete a saved payment method
POST
Update the default saved payment method
Loyalty API
Webhooks
Payment Webhooks
Dispute Chargebacks Webhooks
Postman collection
Back to main docs
API Reference
Payment Methods API
Delete a saved payment method
DEL
https://
api.sandbox.primer.io
/
payment-instruments
/
:paymentMethodToken
Delete a saved payment method.
Path parameters
paymentMethodToken
string
Required
Saved payment method token to delete.
Response
This endpoint returns an object.
analyticsId
string
Optional
Unique analytics identifier corresponding to a payment method
createdAt
datetime
Optional
Creation date & time of the object (UTC)
customerId
string
Optional
The ID representing the customer
default
boolean
Optional
Whether or not this payment method is the default
deleted
boolean
Optional
Whether or not this object has been revoked.
deletedAt
datetime
Optional
Date & time when this object was revoked. (UTC)
description
string
Optional
A friendly description given by the user
isVerified
boolean
Optional
Whether or not this payment method was verified
paymentMethodData
object
Optional
Payment method data
Show 5 variants
paymentMethodType
enum
Optional
Payment method type associated with a token.
Show 98 enum values
token
string
Optional
The vaulted payment method token.
tokenType
string
Optional
MULTI_USE
a vaulted token that can be re-used with subsequent payments
Errors
400
Bad Request
Built with