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

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

Path Parameters

id
integer
required
Example:

8

Response

200
application/json
Successful response

This is send instructions schema

bank_account_id
integer
required

ID that have been given in Add Bank Account

Example:

1

amount
string
required

Amount in floating point with maximum of 2 decimal places.

Example:

12.44

email
string
required
Example:

"email@chip-in.asia"

description
string
required
Example:

"Example Description"

reference
string
required

Can be any value.

Example:

"abc"

id
integer

This ID must be stored for future reference.

Example:

1

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.
  • accepted: This indicates that the instruction has been accepted by service provider but not yet completed, commonly related to beneficiary bank's system outage during the request. Successful instructions will be set as completed within 24 hours, while unsuccessful instructions will require further checking before being set as rejected.
  • 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,
accepted,
completed,
rejected,
deleted
receipt_url
string

Generated receipt url link

Example:

"https://www.chip-in.asia/receipts/send/95712b0c"

slug
string

Generated receipt url slug

Example:

"95712b0c"

created_at
string

Object creation time in UTC

updated_at
string

Object updated time