POST
/
send
/
send_instructions
curl --request POST \
  --url https://staging-api.chip-in.asia/api/send/send_instructions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'checksum: <checksum>' \
  --header 'epoch: <epoch>' \
  --data '{
  "amount": "100",
  "bank_account_id": 1,
  "description": "test",
  "email": "email@gmail.com",
  "reference": "f"
}'
{
  "amount": "100.00",
  "bank_account_id": 1,
  "created_at": "2023-07-20T10:41:25.190Z",
  "description": "test",
  "email": "email@gmail.com",
  "id": 50,
  "reference": "f",
  "state": "completed",
  "updated_at": "2023-07-20T10:41:25.302Z"
}

Authorizations

Authorization
string
headerrequired

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

Headers

epoch
integer
required

Unix epoch timestamp

checksum
string
required

Refer to checksum calculation

Body

application/json
amount
string
required

Amount in floating point with maximum of 2 decimal places.

bank_account_id
integer
required

ID that have been given in Add Bank Account

description
string
required
email
string
required
reference
string
required

Can be any value.

Response

200 - application/json
amount
string
required

Amount in floating point with maximum of 2 decimal places.

bank_account_id
integer
required

ID that have been given in Add Bank Account

created_at
string

Object creation time in UTC

description
string
required
email
string
required
id
integer

This ID must be stored for future reference.

receipt_url
string

Generated receipt url link

reference
string
required

Can be any value.

slug
string

Generated receipt url slug

state
enum<string>
  • received: This indicates that the instruction has been received. But, the processing has not been started.
  • enquiring: This indicates that the instruction is pending verification.
  • executing: This indicates that the instruction is pending execution.
  • reviewing: This indicates that the instruction is requires further attention. Contact account manager for further troubleshooting.
  • completed: This indicates that the instruction has completed execution and the recipient should have received the payment.
  • rejected: This indicates that the instruction has been rejected.
  • deleted: This indicates that the instruction has been deleted.
Available options:
received,
enquiring,
executing,
reviewing,
completed,
rejected,
deleted
updated_at
string

Object updated time