Skip to main content
PUT
Upsert one payment method's gateway fee / enabled state (admin)

Authorizations

pid_access
string
cookie
required

JWT access token set by /auth/google/callback or /auth/refresh

Path Parameters

methodKey
string
required

Body

application/json
methodKey
string
required

DOKU method code, category, or "*" (default)

percentBps
integer
required
flatIdr
string
required
minIdr
string
required

Floor, whole IDR (0 = unbounded)

maxIdr
string
required

Cap, whole IDR (0 = unbounded)

enabled
boolean
required

false = method hidden in the wallet and no fee charged

label
string

Display label (category name for catalog rows)

category
string | null
isCategory
boolean

True for the fixed category catalog rows

updatedAt
string<date-time>

Response

Stored rate

methodKey
string
required

DOKU method code, category, or "*" (default)

percentBps
integer
required
flatIdr
string
required
minIdr
string
required

Floor, whole IDR (0 = unbounded)

maxIdr
string
required

Cap, whole IDR (0 = unbounded)

enabled
boolean
required

false = method hidden in the wallet and no fee charged

label
string

Display label (category name for catalog rows)

category
string | null
isCategory
boolean

True for the fixed category catalog rows

updatedAt
string<date-time>