POST
/
send
/
send_limits
curl --request POST \
  --url https://staging-api.chip-in.asia/api/send/send_limits \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'checksum: <checksum>' \
  --header 'epoch: <epoch>' \
  --data '{
  "amount": 0
}'
{
  "id": 2,
  "currency": "MYR",
  "fee_type": "flat",
  "transaction_type": "in",
  "amount": 200,
  "fee": 0,
  "net_amount": 200,
  "from_settlement": "2023-07-21",
  "status": "pending",
  "approvals_required": 0,
  "approvals_received": 0,
  "created_at": "2023-07-20T10:34:50.503Z",
  "updated_at": "2023-07-20T10:34:50.503Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

epoch
integer
required

Unix epoch timestamp

Example:

1619740800

checksum
string
required

Refer to checksum calculation

Body

application/json

This is send limit schema

amount
number
required

1 for RM 1

Example:

0

Response

200
application/json
Successful response

This is send limit schema

amount
number
required

1 for RM 1

Example:

0

id
integer
Example:

1

currency
enum<string>
  • MYR: Ringgit Malaysia (RM)
Available options:
MYR
Example:

"MYR"

fee_type
enum<string>
Available options:
flat,
percentage
Example:

"flat"

transaction_type
enum<string>
Available options:
in,
out
Example:

"out"

fee
number

1 for RM 1

Example:

1

net_amount
number

-1 for -RM 1

Example:

-1

from_settlement
string
Example:

"2023-07-21"

status
enum<string>

Status will be pending until all approver approve the send limit increase request.

Available options:
pending,
approved,
expired
Example:

"success"

approvals_required
integer

Approval that are required before processing

Example:

0

approvals_received
integer

Approval that have been received

Example:

0

created_at
string

Object creation time in UTC

updated_at
string

Object updated time in UTC