---
title: "POST /v1/payment-method"
method: POST
path: "/v1/payment-method"
tags: ["payment method"]
---

# POST /v1/payment-method

`POST /v1/payment-method`

## Request

- Base URL: `https://customer-portal-api.frisbii.com`
- URL: `https://customer-portal-api.frisbii.com/v1/payment-method`
- Auth: none declared

## Request body `*/*`

- AddPaymentMethod
  - `accept_url` string: If checkout is opened in separate window the customer will be directed to this page after success
  - `cancel_url` string: If checkout is opened in separate window the customer will be directed to this page if the customer cancels
  - `locale` string: Session locale

## Response `200`

Successful operation

- SessionIdDto
  - `sessionId` string: Session id for a recurring session to add payment method

## Other responses

- `400`: Invalid request, see error codes at https://api.frisbii.com/v1/error_codes
- `401`: None or invalid credentials provided in access to secured resource
- `403`: Not authorized to perform resource operation
- `404`: Resource or referenced resource not found, see error codes at https://api.frisbii.com/v1/error_codes
- `429`: Request limiting exceeded, request rate or concurrent requests, see error code 122 and 123
- `500`: Internal service error, error is reported automatically to Frisbii

---

[API](https://skmtc.dev/frisbii/apis/frisbii-customer-portal-api.md) - [All operations](https://skmtc.dev/frisbii/apis/frisbii-customer-portal-api/llms.txt) - [OpenAPI document](https://skmtc.dev/frisbii/apis/frisbii-customer-portal-api/revisions/f0261fb63b1b?raw)
