Skip to main content
POST
/
v1
/
payment-methods
Create payment method
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>"
}

Body

application/json
customerId
string
confirmationTokenId
string
paymentMethodId
string

Response

201 - application/json
id
string
required
brand
string
last4
string
customerId
string