curl --request POST \
--url http://localhost/api/api/transactions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"transaction_currency_id": "<string>",
"client_transaction_id": "<string>",
"transaction_type": "<string>",
"transaction_timestamp": "2023-11-07T05:31:56Z",
"amount": 123,
"populate_buckets": [],
"cp_a_id": "<string>",
"cp_b_id": "<string>",
"alt_currency_id": "<string>",
"cp_a_country": "<string>",
"cp_b_country": "<string>",
"cp_a_bank": "<string>",
"cp_b_bank": "<string>",
"amount_in_alt_currency": 123,
"payment_mode": "<string>",
"purpose_of_transfer": "<string>",
"notes": "<string>"
}
'{
"id": 123,
"bucket_loading_status": "Transaction loaded into [ORDINARY] and requested buckets",
"cp_a": {
"client_subject_id": "<string>",
"subject_name": "<string>",
"unique_identification_number": "<string>",
"account_holder": true,
"address": "<string>",
"customer_segment": "<string>",
"date_and_place_of_birth": "<string>",
"country_of_birth_or_incorporation": "<string>",
"nationality": "<string>",
"account_type": "<string>",
"account_type_ii": "<string>",
"account_opening_date": "<string>",
"account_opening_date_ii": "<string>",
"customer_aml_risk_rating": "<string>",
"customer_account": "<string>",
"customer_account_ii": "<string>",
"customer_opening_date": "<string>",
"source_of_funds": "<string>",
"average_monthly_income": "<string>",
"cif_status": "<string>",
"occupation": "<string>",
"industry": "<string>",
"purpose_of_account": "<string>",
"contact_number": "<string>",
"email_address": "<string>",
"risk_assessment_score": "<string>",
"created_by": 123,
"modified_by": 123
},
"cp_b": {
"client_subject_id": "<string>",
"subject_name": "<string>",
"unique_identification_number": "<string>",
"account_holder": true,
"address": "<string>",
"customer_segment": "<string>",
"date_and_place_of_birth": "<string>",
"country_of_birth_or_incorporation": "<string>",
"nationality": "<string>",
"account_type": "<string>",
"account_type_ii": "<string>",
"account_opening_date": "<string>",
"account_opening_date_ii": "<string>",
"customer_aml_risk_rating": "<string>",
"customer_account": "<string>",
"customer_account_ii": "<string>",
"customer_opening_date": "<string>",
"source_of_funds": "<string>",
"average_monthly_income": "<string>",
"cif_status": "<string>",
"occupation": "<string>",
"industry": "<string>",
"purpose_of_account": "<string>",
"contact_number": "<string>",
"email_address": "<string>",
"risk_assessment_score": "<string>",
"created_by": 123,
"modified_by": 123
},
"transaction_currency": {
"currency": "<string>",
"alphabetic_code": "<string>",
"active_indicator": true,
"numeric_code": "<string>"
},
"alt_currency": {
"currency": "<string>",
"alphabetic_code": "<string>",
"active_indicator": true,
"numeric_code": "<string>"
},
"modified_by": {
"id": 123
},
"created_by": {
"id": 123
},
"client_transaction_id": "<string>",
"transaction_type": "<string>",
"transaction_timestamp": "2023-11-07T05:31:56Z",
"amount": 123,
"cp_a_country": "<string>",
"cp_b_country": "<string>",
"cp_a_bank": "<string>",
"cp_b_bank": "<string>",
"amount_in_alt_currency": 123,
"payment_mode": "<string>",
"purpose_of_transfer": "<string>",
"notes": "<string>"
}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.
curl --request POST \
--url http://localhost/api/api/transactions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"transaction_currency_id": "<string>",
"client_transaction_id": "<string>",
"transaction_type": "<string>",
"transaction_timestamp": "2023-11-07T05:31:56Z",
"amount": 123,
"populate_buckets": [],
"cp_a_id": "<string>",
"cp_b_id": "<string>",
"alt_currency_id": "<string>",
"cp_a_country": "<string>",
"cp_b_country": "<string>",
"cp_a_bank": "<string>",
"cp_b_bank": "<string>",
"amount_in_alt_currency": 123,
"payment_mode": "<string>",
"purpose_of_transfer": "<string>",
"notes": "<string>"
}
'{
"id": 123,
"bucket_loading_status": "Transaction loaded into [ORDINARY] and requested buckets",
"cp_a": {
"client_subject_id": "<string>",
"subject_name": "<string>",
"unique_identification_number": "<string>",
"account_holder": true,
"address": "<string>",
"customer_segment": "<string>",
"date_and_place_of_birth": "<string>",
"country_of_birth_or_incorporation": "<string>",
"nationality": "<string>",
"account_type": "<string>",
"account_type_ii": "<string>",
"account_opening_date": "<string>",
"account_opening_date_ii": "<string>",
"customer_aml_risk_rating": "<string>",
"customer_account": "<string>",
"customer_account_ii": "<string>",
"customer_opening_date": "<string>",
"source_of_funds": "<string>",
"average_monthly_income": "<string>",
"cif_status": "<string>",
"occupation": "<string>",
"industry": "<string>",
"purpose_of_account": "<string>",
"contact_number": "<string>",
"email_address": "<string>",
"risk_assessment_score": "<string>",
"created_by": 123,
"modified_by": 123
},
"cp_b": {
"client_subject_id": "<string>",
"subject_name": "<string>",
"unique_identification_number": "<string>",
"account_holder": true,
"address": "<string>",
"customer_segment": "<string>",
"date_and_place_of_birth": "<string>",
"country_of_birth_or_incorporation": "<string>",
"nationality": "<string>",
"account_type": "<string>",
"account_type_ii": "<string>",
"account_opening_date": "<string>",
"account_opening_date_ii": "<string>",
"customer_aml_risk_rating": "<string>",
"customer_account": "<string>",
"customer_account_ii": "<string>",
"customer_opening_date": "<string>",
"source_of_funds": "<string>",
"average_monthly_income": "<string>",
"cif_status": "<string>",
"occupation": "<string>",
"industry": "<string>",
"purpose_of_account": "<string>",
"contact_number": "<string>",
"email_address": "<string>",
"risk_assessment_score": "<string>",
"created_by": 123,
"modified_by": 123
},
"transaction_currency": {
"currency": "<string>",
"alphabetic_code": "<string>",
"active_indicator": true,
"numeric_code": "<string>"
},
"alt_currency": {
"currency": "<string>",
"alphabetic_code": "<string>",
"active_indicator": true,
"numeric_code": "<string>"
},
"modified_by": {
"id": 123
},
"created_by": {
"id": 123
},
"client_transaction_id": "<string>",
"transaction_type": "<string>",
"transaction_timestamp": "2023-11-07T05:31:56Z",
"amount": 123,
"cp_a_country": "<string>",
"cp_b_country": "<string>",
"cp_a_bank": "<string>",
"cp_b_bank": "<string>",
"amount_in_alt_currency": 123,
"payment_mode": "<string>",
"purpose_of_transfer": "<string>",
"notes": "<string>"
}{
"transaction_currency_id":"SGD"
"client_transaction_id":"SAMPLE-TXN-001",
"transaction_type":"PAY",
"cp_a_id":"AS0001Y"
"cp_b_id":"AS0002Y"
"transaction_timestamp":"2020-12-12T12:12:12"
"amount":"5000.00"
}
{
"client_transaction_id":"ID10001",
"transaction_type":"PAY",
"cp_a_id":"AS001Y",
"cp_a_country": "SGP",
"cp_a_bank": "DBS Bank Pte. Ltd",
"cp_b_id":"AS002Y",
"cp_b_country": "SGP",
"cp_b_bank": "DBS Bank Pte. Ltd",
"transaction_timestamp":"2020-08-20T13:31",
"transaction_currency_id":"SGD",
"amount":123456.78,
"alt_currency_id":"IDR",
"amount_in_alt_currency":"500000",
"payment_mode":"PayLah",
“purpose_of_transfer”: “Purchase of goods”,
"populate_buckets":["BucketName1","sampleBucket","anotherBucketName"]
}
JWT token obtained from AWS Cognito or custom authentication service
A ModelSerializer that takes an additional fields argument that
controls which fields should be displayed.
11 - 2551 - 25511116060255255255255255A ModelSerializer that takes an additional fields argument that
controls which fields should be displayed.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
2552556060255255255255255