- 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 length:
1Required string length:
1 - 255Required string length:
1 - 255Minimum length:
1Minimum length:
1Minimum length:
1Maximum length:
60Maximum length:
60Maximum length:
255Maximum length:
255Maximum length:
255Maximum length:
255Maximum 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
Maximum length:
255Maximum length:
255Maximum length:
60Maximum length:
60Maximum length:
255Maximum length:
255Maximum length:
255Maximum length:
255Maximum length:
255