---
title: "Add a credit/debit card for a guest"
method: POST
path: "/v1/guests/{guest_id}/accounts"
---

# Add a credit/debit card for a guest

`POST /v1/guests/{guest_id}/accounts`

## Path parameters

- `guest_id` string, required

## Request body

- object
  - `center_id` string, required — Unique 32-character ID of the center
  - `redirect_uri` string, required — URI to redirect the guest after payment completion
  - `source` string — Source of the request. 1 : WebStore , 5 : Mobile
  - `host` string — Custom domain URL
  - `avs_source` string — AVS source: 0 = Client, 1 = Provider
  - `billing_info` object — Address details of the guest
    - `first_name` string — First name of the guest.
    - `last_name` string — Last name of the guest.
    - `email` string — Email id of the guest.
    - `country` string — Country where the guest resides.
    - `name` string — Full name of the guest.
    - `address` string — Address information of the guest.
    - `state` string — State where the guest resides.
    - `zipcode` string — Zip code of the guest's address.
    - `city` string — City where the guest resides.
    - `phone` string — Phone number of the guest.
    - `house_number` string — Number of the guest's house.
    - `address2` string — Address line 2 of the guest's address.

## Response `200`

200

- object
  - `success` boolean
  - `error` unknown
  - `hosted_payment_uri` string
  - `token_id` string

---

[API](https://skmtc.net/zenoti/apis/zenoti-authentication.md) · [All operations](https://skmtc.net/zenoti/apis/zenoti-authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zenoti/zenoti-authentication/revisions/e628f892391a/schema)
