cURL
curl --request GET \ --url https://api.bitski.com/v1/users/{user_id}/payment-methods \ --header 'Authorization: Bearer <token>'
{ "paymentMethods": [ { "cardBrand": "visa", "cardLast4": "1111", "id": "pm_1NoBH4E7964oeAEGtfSbXJ5v" } ] }
List current user’s payment methods
Client credentials
The id of the current user
List of payment methods
Show child attributes
The brand of the card
"visa"
Last 4 digits of the card number
"1111"
Id of the payment method
"pm_1NoBH4E7964oeAEGtfSbXJ5v"