paymentTokens
Retrieve details of a stored payment token
Get data back for a given payment_token.
This endpoint returns details about the payment_token specified in the URL path. This endpoint can be used to populate information on a user facing dashboard, such as the last 4 of the card(s) on file and the expiration dates.
Partners should store expiration dates of cards on file and preemptively encourage users to update their payment methods (using a call to update_payment_token) to avoid the failure scenarios outlined in our subscriptions guide.
Request Notes
Path Params:
- payment_token (Required): The payment_token string provided by the payment_token_updated webhook.
get/api/v1/payment_tokens/{payment_token}
Request
- Base URL: https://dev-api.truemed.com
- URL: https://dev-api.truemed.com/api/v1/payment_tokens/{payment_token}
- Auth: API key in header x-truemed-api-key
Path parameters
payment_tokenstring required
The payment token to get details for
Response
Successful response
Changes
No recorded changes to this operation across all 1 revision of this API.