Jump to Content
Elements Vault
API Reference
Log InElements Vault
API Reference
Log In
API Reference
All
Reference
Start typing to search…

Introduction

  • Authentication
  • Errors
    • Handling Errors
  • Idempotent Requests

Javascript SDK

  • Elements JS Introduction
  • Including Elements.js
  • Initializing Elements.js
  • ComponentManager
    • Create an ComponentManager instance
    • Create PaymentUIComponent
    • Find a PaymentUIComponent
  • The PaymentUIComponent
    • Mount the PaymentUIComponent
    • Listen to PaymentUIComponent events
    • Other methods
  • Tokens and Payment Methods
    • Tokenize payment data

Mobile SDKs

  • Elements Mobile SDKs Introduction
  • Get started with Elements iOS SDK
  • Get started with Elements Android SDK
  • Introduce Elements iOS Flexible UI SDK
  • [BETA] Introduce Elements Android Flexible UI SDK

Core resources

  • Client Token
    • Create a client tokenpost
  • Payment Method
    • The payment method object
    • Retrieve a payment methodget
    • Create a payment methodpost
  • Charges
    • The charge object
    • Create a chargepost
    • Retrieve a chargeget
    • Capture a chargepost
    • List all chargesget
  • Refunds
    • The refund object
    • Create a refundpost
    • Retrieve a refundget
    • List all refundsget
  • Disputes
    • The dispute object
    • Retrieve a disputeget
    • List all disputesget
  • Event
    • The Event object
    • Types of events
  • Hosted Checkout
    • The Checkout Session Object
    • Create a checkout sessionpost
    • Retrieve a checkout sessionget
Powered by 

Payment Method

PaymentMethod objects represent your customer's payment instruments. They can be used to collect payments or saved to Customer objects to store instrument details for future payments.

Endpoints

MethodRouteDetail
GETv1/payment_methods/:idRetrieve a payment method
POSTv1/payment_methodsCreate a payment method

Updated over 3 years ago


Create a client token
The payment method object

Updated over 3 years ago


Create a client token
The payment method object
  • Table of Contents
    • Endpoints
  1. Introduction
  2. Authentication
  3. Errors
  4. Handling Errors
  5. Idempotent Requests
  1. Javascript SDK
  2. Elements JS Introduction
  3. Including Elements.js
  4. Initializing Elements.js
  5. ComponentManager
  6. Find a PaymentUIComponent
  7. Create PaymentUIComponent
  8. Create an ComponentManager instance
  9. The PaymentUIComponent
  10. Other methods
  11. Listen to PaymentUIComponent events
  12. Mount the PaymentUIComponent
  13. Tokens and Payment Methods
  14. Tokenize payment data
  1. Mobile SDKs
  2. Elements Mobile SDKs Introduction
  3. Get started with Elements iOS SDK
  4. Get started with Elements Android SDK
  5. Introduce Elements iOS Flexible UI SDK
  6. [BETA] Introduce Elements Android Flexible UI SDK
  1. Core resources
  2. Client Token
  3. Create a client tokenpost
  4. Payment Method
  5. Create a payment methodpost
  6. Retrieve a payment methodget
  7. The payment method object
  8. Charges
  9. List all chargesget
  10. Capture a chargepost
  11. Retrieve a chargeget
  12. Create a chargepost
  13. The charge object
  14. Refunds
  15. List all refundsget
  16. Retrieve a refundget
  17. Create a refundpost
  18. The refund object
  19. Disputes
  20. List all disputesget
  21. Retrieve a disputeget
  22. The dispute object
  23. Event
  24. Types of events
  25. The Event object
  26. Hosted Checkout
  27. Retrieve a checkout sessionget
  28. Create a checkout sessionpost
  29. The Checkout Session Object