Skip to main content
POST
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

/payment-setting/ This endpoint is responsible for creating a new payment setting. Authorization:
  • Required role: user or higher
Method:
POST
Request Payload:

Request Body Examples

Bank Wire Transfer:
PayPal:

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Body

application/json
name
string
required

The name of the payment setting

type
enum<string>
required

The type of the payment setting

Available options:
BankWireTransfer,
PayPal,
Card,
Crypto
settings
object
required

The settings/configuration of the payment setting

isDefault
boolean
default:false

Indicates whether the payment setting is the default one

user
string

UserId of the user who created the payment setting, used when setting up payments settings for other used

memo
string

Any additional notes or comments about the payment setting

Response

Payment setting created successfully

status
string
message
string
paymentSetting
object