Payment Methods
GEThttps://api.sandbox.noah.com/v1/payment-methods
Retrieves a list of payment methods for a specific customer.
Request
Query Parameters
CustomerID CustomerIDrequired
Possible values: non-empty
and <= 36 characters
PageSize integer
Possible values: >= 1
and <= 100
Default value:
20
Example: 10
PageToken string
Header Parameters
Api-Signature string
Digitally signed JWT.
Responses
- 200
- 400
- 401
- 500
List of fiat payment methods
- application/json
- Schema
- Example (auto)
Schema
Items object[]required
PageTokenstring
{
"Items": [
{
"ID": "string",
"CustomerID": "550e8400-e29b-41d4-a716-446655440000",
"Country": "US",
"PaymentMethodCategory": "Bank",
"DisplayDetails": {
"Type": "FiatPaymentMethodBankDisplay",
"AccountNumber": "string",
"BankCode": "string"
}
}
],
"PageToken": "string"
}
Bad request
- application/json
- Schema
- Example (auto)
Schema
- InvalidMessage
- Unexpected
- ResourceNotFound
- Unauthorized
- Forbidden
- InsufficientBalance
TypeErrorType (string)
Type of error:
Example:
InvalidMessage
Instancestring
A unique reference that identifies the specific occurrence of the problem
Actionstring
Action taking place which resulted in error.
Detailstring
Details about the error.
Extensions object
{
"Type": "InvalidMessage",
"Instance": "string",
"Action": "string",
"Detail": "string",
"Extensions": {
"Request": {},
"Features": {}
}
}
Client is not authorized to perform this action
- application/json
- Schema
- Example (auto)
Schema
- InvalidMessage
- Unexpected
- ResourceNotFound
- Unauthorized
- Forbidden
- InsufficientBalance
TypeErrorType (string)
Type of error:
Example:
InvalidMessage
Instancestring
A unique reference that identifies the specific occurrence of the problem
Actionstring
Action taking place which resulted in error.
Detailstring
Details about the error.
Extensions object
{
"Type": "InvalidMessage",
"Instance": "string",
"Action": "string",
"Detail": "string",
"Extensions": {
"Request": {},
"Features": {}
}
}
Internal server error
- application/json
- Schema
- Example (auto)
Schema
- InvalidMessage
- Unexpected
- ResourceNotFound
- Unauthorized
- Forbidden
- InsufficientBalance
TypeErrorType (string)
Type of error:
Example:
InvalidMessage
Instancestring
A unique reference that identifies the specific occurrence of the problem
Actionstring
Action taking place which resulted in error.
Detailstring
Details about the error.
Extensions object
{
"Type": "InvalidMessage",
"Instance": "string",
"Action": "string",
"Detail": "string",
"Extensions": {
"Request": {},
"Features": {}
}
}
Authorization: X-Api-Key
name: X-Api-Keytype: apiKeydescription: This security scheme requires an API Key to successfully authenticate.in: header
- curl
- go
- nodejs
- python
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L 'https://api.sandbox.noah.com/v1/payment-methods' \
-H 'Accept: application/json' \
-H 'X-Api-Key: <X-Api-Key>'
ResponseClear