Card

Exactly one of stripe_id or rainforest_id must be provided. Practices on Stripe submit a stripe_id; practices on Hint Payments (Rainforest) submit a rainforest_id.

post/provider/patients/{patient_id}/cards

Request

  • Base URL
    https://api.sandbox.hint.com/api
  • URL
    https://api.sandbox.hint.com/api/provider/patients/{patient_id}/cards
  • Auth
    API key in header AUTHORIZATION

Path parameters

patient_idstring required

Unique Patient ID

Request body

stripe_idstring

Tokenized card id from Stripe. Required if the practice uses Stripe.

rainforest_idstring

Tokenized card id from Rainforest. Required if the practice uses Hint Payments.

card_typestring
last_fourstring

Response

Successful response

idstring
card_typestring
defaultboolean
exp_monthinteger
exp_yearinteger
last_fourstring
namestring
typestring

Changes