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
GET
Retrieve a client session
POST
Create a client session
PATCH
Update client session
Payments API
GET
Search & list payments
POST
Create a payment
POST
Authorize a payment
POST
Capture a payment
POST
Cancel a payment
POST
Refund a payment
POST
Resume a payment
POST
Adjust authorized amount
GET
Get a payment
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
GET
Get a loyalty customer's points balance
GET
List the transactions for a customer
POST
Create a loyalty transaction
Webhooks
Payment Webhooks
POST
Payment Status Update
POST
Payment Refund
Dispute Chargebacks Webhooks
POST
Dispute Open
POST
Dispute Status
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
Expand all
Collapse all
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
union
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