Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Body

application/json
name
string
required
Required string length: 1 - 100
id
string
options
object[]
category
enum<string>
Available options:
PAYOUT,
TRANSACTION
type
enum<string>
Available options:
PER_TRANSACTION,
PER_KG,
PER_UNIT_CURRENCY,
PER_FARMER
amount
number | null
included
boolean
dependant_on_card
boolean
applicable_activity
enum<string>
Available options:
BUY,
SELL
calculation_type
enum<string>
Available options:
NORMAL,
MANUAL,
OPTIONS
is_active
boolean
creator
string
updater
string
owner
string

Response

201 - application/json
name
string
required
Required string length: 1 - 100
id
string
options
object[]
updated_on
string<date-time>
read-only
created_on
string<date-time>
read-only
category
enum<string>
Available options:
PAYOUT,
TRANSACTION
type
enum<string>
Available options:
PER_TRANSACTION,
PER_KG,
PER_UNIT_CURRENCY,
PER_FARMER
amount
number | null
included
boolean
dependant_on_card
boolean
applicable_activity
enum<string>
Available options:
BUY,
SELL
calculation_type
enum<string>
Available options:
NORMAL,
MANUAL,
OPTIONS
is_active
boolean
creator
string
updater
string
owner
string