GET
/
payment-setting
Get Payment Settings
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/payment-setting \
  --header 'Authorization: Bearer <token>'
{
  "totalItems": 5,
  "paymentSettings": [
    {
      "id": "24d2c371-4a7a-4acd-b4aa-d3eb3bebd8fa",
      "name": "Primary Bank Account",
      "type": "BankWireTransfer",
      "settings": {
        "bankName": "Bank of Example",
        "accountNumber": "123456789",
        "currency": "USD"
      },
      "isDefault": true,
      "memo": "Main operational account",
      "createdAt": "2023-11-22T20:48:36.034Z",
      "updatedAt": "2023-11-22T20:48:36.034Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Query Parameters

q
string

Global search parameter

page
integer
default:1

Page number for pagination

size
integer
default:10

Number of items per page

order
enum<string>
default:desc

Sort order

Available options:
asc,
desc
sort
string
default:updatedAt

Field to sort by

attributes
string

Comma-separated list of fields to return

type
enum<string>

Filter by payment setting type

Available options:
BankWireTransfer,
PayPal,
Card,
Crypto
isDefault
boolean

Filter by default status

Response

200
application/json

Successfully retrieved payment settings

The response is of type object.