cURL
curl --request POST \ --url https://api.halth.com/v1/payment-methods \ --header 'Content-Type: application/json' \ --data ' { "customerId": "<string>", "confirmationTokenId": "<string>", "paymentMethodId": "<string>" } '
{ "id": "<string>", "brand": "<string>", "last4": "<string>", "customerId": "<string>" }
Create a new payment method