---
title: "Add a payment method to customer."
method: POST
path: "/customers/paymentmethod/"
tags: ["Customer"]
---

# Add a payment method to customer.

`POST /customers/paymentmethod/`

Requires a secret key. You must first acquire a temporary payment method token using `/temporarypaymentmethod/` and use that in your post body.

## Request body

- CustomerAddPaymentMethod
  - `customer_reference` string, required
  - `token` string, required

## Response `201`

Successful operation

## Other responses

- `400` — Invalid status value
- `404` — Customer not found

---

[API](https://skmtc.dev/askell/apis/a-skell-api.md) · [All operations](https://skmtc.dev/askell/apis/a-skell-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/askell/a-skell-api/revisions/9234f937fa26/schema)
