Home
  • Explore APIs
  • Support
    • Contact Us
    • FAQ
Account Locked Choose Org for Admin Choose Org for Non-Admin User Edit Success Password Expired Password Expired Conf User Invite Success Existing User Invite Success Reset Password Success
  •  Log In
Account Locked

  1. Home
  2. Explore APIs
  3. Stored Payment Tokens
  4. Documentation

Stored Payment Tokens

Stored Payment Tokens

Documentation

Overview

The Stored Payment Tokens (Cards-on-File) API helps you to store and manage payment tokens on your e/m-commerce sites easily. Integration with our platform is simple with easy to use interfaces.

Authentication-Making the first API request is only few steps away

  1. All projects start in Sandbox mode. Once you’re invited to gain access to this API you can login here to get Client Application ID (API Key), Client Application Secret, Consumer Application Secret and API Plan name.
  2. All API requests must be authenticated with an OAuth token. To get the OAuth token, follow these simple steps.
    1. Make a HTTP POST request to the endpoint /auth/oauth/v2/token with HTTP Authorization Header as Basic base64encoded(client_application_id:client_application_secret), Content-Type as application/x-www-form-urlencoded and Cache-Control as no-cache.
    2. The response would contain an OAuth token along with token type and token expiry in seconds.
  3. Once an OAuth token is obtained, you can use the token along with Consumer Application Secret and API Plan name provided during Sandbox access in the HTTP Header of an API to make your first call. The same OAuth can be used for multiple API calls as long as it is not expired.
Access Error

The service authenticates and authorizes the client, and provides the following status codes when errors occur:

  • 401 Unauthorized. The authorization credentials are either missing or incorrect. The caller has to provide the right credentials to be authenticated in order to access the service.
  • 403 Forbidden. The request sent by the client was correct, but access to the resource identified by the URL is forbidden for some reason. The server understood the request, but is refusing to fulfill it.
  • Getting Started
    • Overview and Access Error
  • References
  • Error
    • API Error

Account Locked

User has been successfully invited to .
A notification email has been sent to user.
This block is broken or missing. You may be missing content or you might need to enable the original module.

Footer 2

  • Legal
  • Terms of Use
  • Privacy Statement
  • Support
  • Contact Us
  • FAQ
© 2022 Discover Financial Services

Choose organization

Welcome to Discover Developer Portal. To get started, select the organization you want to see on your dashboard.

Please select at least one org

Choose organization

Welcome to Discover Developer Portal. To get started, select the organization you want to see on your dashboard.

Please select at least one org

Password reset link was successfully sent to your email address.

Changes successfully saved. A notification email has been sent to user.

Edit existing user

All fields required
Account information changes will be sent via email.

Add new user

All fields required
Invite was successfully sent to . The invitation link will remain active for 24 hours.

Invite will be sent to . The invitation link will remain active for 24hrs.

Cancel
Send Invite
Delete user

Are you sure you want to delete the user from this organization? You can't undo this action.

Cancel
Delete
Invite was successfully sent to . The invitation link will remain active for 24 hours.

Log In