cURL
curl --request POST \ --url https://api.bitski.com/v1/users/{user_id}/payment-methods \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "paymentMethod": { "token": "tok_1NoBfo2eZvKYlo2CIXAeVWy3", "testMode": true } } '
{ "paymentMethod": { "cardBrand": "visa", "cardLast4": "1111", "id": "pm_1NoBH4E7964oeAEGtfSbXJ5v" } }
Add a new payment method
Documentation IndexFetch the complete documentation index at: https://docs.bitski.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.bitski.com/llms.txt
Use this file to discover all available pages before exploring further.
Client credentials
The id of the current user
Show child attributes
New payment method details