Payment Methods
List saved payment methods
Returns the saved payment methods for the authenticated user. Requires a Nevermined API key.
get/payment-methods
Request
- Base URL: https://api.sandbox.nevermined.app/api/v1
- URL: https://api.sandbox.nevermined.app/api/v1/payment-methods
- Auth: HTTP bearer
Query parameters
accessible'true' | 'false'
When "true", return only payment methods accessible to the requesting API key (filters by allowedApiKeyIds and Active status).
provider'stripe' | 'braintree' | 'erc4337' | 'visa' | 'vgs'
When set, return only payment methods backed by this provider. Omit to return methods from every provider (default).
Response
List of saved payment methods
Example response
[
{
"id": "pm_1Abc2Def3Ghi4Jkl",
"type": "card",
"last4": "4242",
"brand": "visa",
"expMonth": 12,
"expYear": 2027,
"alias": "My Card",
"provider": "stripe",
"status": "Active",
"allowedApiKeyIds": [
"sk-abc123",
"sk-def456"
]
}
]Changes
No recorded changes to this operation across all 1 revision of this API.