Verify a Transaction
POST Transactions
/transactions endpoint allows you to operate on the Transaction entity.
In order to pass the payload of a transaction to Flagright and verify the transaction, you will need to call this endpoint with the transaction payload. Not all fields are mandatory, you will only need to pass in the fields that you have and are relevant for your compliance setup.
Payload
Here are some of the most used payload fields explained (you can find the full payload schema below with 1 line descriptions):
- type: Type of transaction (Ex: WITHDRAWAL, DEPOSIT, TRANSFER etc).
- transactionId - Unique Identifier for the transaction.
- timestamp - UNIX timestamp in milliseconds of when the transaction took place
- transactionState - The state of the transaction, set to CREATED by default. More details here
- originUserId - Unique identifier (if any) of the user who is sending the money. This user must be created within the Flagright system before using the create a consumer user or create a business user endpoint
- destinationUserId - Unique identifier (if any) of the user who is receiving the money. This user must be created within the Flagright system before using the create a consumer user or create a business user endpoint
- originAmountDetails - Details of the amount being sent from the origin
- destinationAmountDetails - Details of the amount being received at the destination
- originPaymentDetails - Payment details (if any) used at the origin (ex: CARD, IBAN, WALLET etc). You can click on the dropdown next to the field in the schema below to view all supported payment types.
- destinationPaymentDetails - Payment details (if any) used at the destination (ex: CARD, IBAN, WALLET etc). You can click on the dropdown next to the field in the schema below to view all supported payment types.
Request
- Base URL: https://sandbox.api.flagright.com
- URL: https://sandbox.api.flagright.com/transactions
- Auth: API key in header x-api-key
Query parameters
Boolean string whether Flagright should validate if provided originUserId exist. True by default
Boolean string whether Flagright should validate if provided destinationUserId exist. True by default
Request body
Response
Created
Changes
No recorded changes to this operation across all 1 revision of this API.