All pages
Powered by GitBook
1 of 1

Loading...

Find AML information of a payment

Use case

We will use the AML API to find the AML-related information of a payment.

Use case data
API parameters with values

The query parameter is the payment ID. The ID is taken from the response to the payment request.

Sample API call

To find the AML details, use the following endpoint:

Sample response

Below you will find the response to the sample request:

Response
{
  "errors": null,
  "validationErrors": null,
  "data": {
    "processId": "ID-7878",
    "paymentId": "PAYM-8834",
    "statusCode": "PROCESSED",
    "resultCode": "APPROVED",
    "source": null,
    "providerInfo": null
  }
}

Result

With this request, we can see the AML status of the payment.

https://aml-api.sandbox.tuumplatform.com/api/v1/aml/process/by-payment?paymentId=PAYM-8834

Learn more about the endpoint in the Tuum developer portal.

".../by-payment?paymentId=PAYM-8834"
find AML information