- API Introduction
- Error Code
- Payment Intents
- Charges
- Payment Methods
- Refunds
- Webhooks
- Events
- Files
- Disputes
- Payouts
- Balance
- Products
- Prices
- Payment Links
- Checkout
- Customers
- Setup Intents
- Invoices
- Invoice Items
- Invoice Line Item
- Subscriptions
- Subscription Items
- Issuing
- Authorizations
- Cardholders
- Cards
- Transactions
- Coupons
- Promotion Code
- Accounts
Retrieve account's paymentmethods
Developing
GET
/v1/account/payment_methods
Request
Authorization
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string {{Username}}:{{Password}}Example:
Authorization: Basic YWRtaW46MTIzNDU2
Query Params
currency
string
required
product_type
enum<string>
required
Allowed values:
paymentsubscription
Header Params
Accept
string
required
Default:
application/json
Content-Type
string
required
Default:
application/json
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://apitest.wooshpay.com/v1/account/payment_methods?members&reference&Type&_postman_listIndexKey=key&_postman_listAllowsMultipleValues'
Responses
🟢200Success
application/json
Body
support_payment_method
array[string]
optional
Example
{
"support_payment_method": [
"string"
]
}
Modified at 2024-12-12 08:16:26