Create a transaction
Step 5 - Transaction
Transaction
Once the above steps have been completed, you may proceed to upload your transactions into Athena for screening. Please note that once transactions are uploaded into Athena, screening will be done immediately.
POST
Create a transaction
To upload your transactions into Athena, perform the following API call with the given sample request bodies. Transaction type must conform to one of the following typesDocumentation Index
Fetch the complete documentation index at: https://docs.cynopsis.co/llms.txt
Use this file to discover all available pages before exploring further.
- PAY
- WITHDRAW
- DEPOSIT
- cp_a_id and cp_b_id needs to be one of the Subjects enrolled via the Subjects API.
- If transaction_type is PAY, both cp_a_id and cp_b_id must be present.
- If transaction_type is DEPOSIT, at least cp_b_id must be present.
- If transaction_type is WITHDRAW, at least cp_a_id needs to be present.
- transaction_currency_id must be the currency set as the master currency..
- cp_a_country and cp_b_country, where provided, must be a valid three letter country code.
- transaction_timestamp cannot be dated in the future.
- If provided, the “populate_buckets” field must contain a list of bucket names, all of which are available at the time of transaction upload. Otherwise, the record will be rejected and not provided to Athena.
- 2020-08-20T13:31:02.777 (YYYY-MM-DDTHH:MM:SS.SSS)
- 2020-08-20T13:31:02 (YYYY-MM-DDTHH:MM:SS)
- 2020-08-20T13:31 (YYYY-MM-DDTHH:MM)
Authorizations
JWT token obtained from AWS Cognito or custom authentication service
Body
A ModelSerializer that takes an additional fields argument that
controls which fields should be displayed.
Minimum string length:
1Required string length:
1 - 255Required string length:
1 - 255Minimum string length:
1Minimum string length:
1Minimum string length:
1Minimum string length:
1Maximum string length:
60Maximum string length:
60Maximum string length:
255Maximum string length:
255Maximum string length:
255Maximum string length:
255Maximum string length:
255Response
201 - application/json
A ModelSerializer that takes an additional fields argument that
controls which fields should be displayed.
bucket_loading_status
string
default:Transaction loaded into [ORDINARY] and requested buckets
required
read-only
Maximum string length:
255Maximum string length:
255Maximum string length:
60Maximum string length:
60Maximum string length:
255Maximum string length:
255Maximum string length:
255Maximum string length:
255Maximum string length:
255