List payment types
List all available payment types.
GET /me/payments/types
Required scope:
- payments:r
Request
$ curl https://api.toshl.com/me/payments/types \ -H "Authorization: Bearer T9cE5asGnuyYCCqIZFoWjFHvNbvVqHjl"
Response
HTTP/1.1 200 OK
Content-Type: application/json
[
{
"type": "adyen",
"name": "Adyen",
"brands": [
{
"brand": "amex",
"name": "American Express",
},
{
"brand": "ideal",
"name": "iDEAL",
"issuers": [
{
"issuer": "12345",
"name": "Issuer 12345"
}
]
}
]
}
]