Skip to main content
PUT
/
api
/
v1
/
merchant
/
settlement-token
curl --request PUT \
  --url https://api-beta.pepay.io/api/v1/merchant/settlement-token \
  --header 'Content-Type: application/json' \
  --data '
{
  "settlement_token_id": 5
}
'
{
  "success": true,
  "message": "Settlement token updated successfully",
  "settlement_token": {
    "id": 5,
    "token_symbol": "USDC",
    "token_name": "USD Coin",
    "network": "ethereum"
  },
  "updated_at": "2023-11-07T05:31:56Z"
}

Body

application/json
settlement_token_id
integer | null
required

ID of the stable settlement token to select. Must be from the available_stable_tokens list. Set to null to use system default.

Example:

5

Response

Settlement token updated successfully

success
boolean
Example:

true

message
string
Example:

"Settlement token updated successfully"

settlement_token
object
updated_at
string<date-time>