GET
/
v2.01
/
{ClientId}
/
users
/
{UserId}
/
transactions
// GET has no body parameters
[
    {
        "Id": "payin_m_01HSJVEP9KCCQK6FKC7973B3TZ",
        "Tag": "Created using the Mangopay API Postman collection",
        "CreationDate": 1711103498,
        "AuthorId": "user_m_01HSDQD2RPPQ8NMM36EDGYBMEY",
        "CreditedUserId": "user_m_01HSDQD2RPPQ8NMM36EDGYBMEY",
        "DebitedFunds": {
            "Currency": "EUR",
            "Amount": 6732
        },
        "CreditedFunds": {
            "Currency": "EUR",
            "Amount": 6732
        },
        "Fees": {
            "Currency": "EUR",
            "Amount": 0
        },
        "Status": "SUCCEEDED",
        "ResultCode": "000000",
        "ResultMessage": "Success",
        "ExecutionDate": 1711103498,
        "Type": "PAYIN",
        "Nature": "REGULAR",
        "CreditedWalletId": "wlt_m_01HSDQGSRYK3CXPA5RBJ08R2XJ",
        "DebitedWalletId": null,
        "DepositId": null
    }
]  
This call returns transactions with the same AuthorId.
Note – SCA triggered by this endpointThis endpoint requires the user to complete SCA to authenticate the access to their wallet, unless SCA for wallet access was successfully completed in the last 180 days (read more about SCA on wallet access).When SCA is required, this endpoint returns a 401 - Unauthorized response.To let the user complete the SCA session on the Mangopay-hosted webpage, your platform needs to retrieve the RedirectUrl from the WWW-Authenticate response header, add an encoded returnUrl query parameter, and redirect the user. Read more about how to redirect them in the SCA session guide.

Path parameters

UserId
string
required
The unique identifier of the user.

Query parameters

ScaContext
string
Possible values: USER_PRESENT, USER_NOT_PRESENTDefault value: nullThe SCA context of the request, which should be considered required if the user’s UserCategory is OWNER:
  • USER_PRESENT – The user is initiating the wallet access request and is actively present. The platform must redirect the user for SCA using the PendingUserAction.RedirectUrl returned, unless a successful SCA session for wallet access occurred in the last 180 days.
  • USER_NOT_PRESENT – No user is present: the access is automated by the platform as part of their declared and authorized workflow. On these requests, SCA redirection is not initially required, but in future Mangopay may be required to override the request.
Both values may technically result in the need for SCA redirection, because an exemption may be applied by Mangopay or (in future) Mangopay may be required to override a given request.Note: ScaContext is a temporary mechanism to introduce SCA on existing endpoints and workflows. New integrations should consider the parameter required and send USER_PRESENT by default. Read more about SCA on wallet access
Status
string
Allowed values: CREATED, SUCCEEDED, FAILEDThe status of the transaction. You can filter on multiple values by separating them with a comma.
ResultCode
string
The code indicating the result of the operation. You can filter on multiple values by separating them with a comma.
BeforeDate
Unix timestamp
The date before which the transaction was created (based on the transaction’s CreationDate parameter). You can filter on a specific time range by using both the AfterDate and BeforeDate query parameters.
AfterDate
Unix timestamp
The date after which the transaction was created (based on the transaction’s CreationDate parameter). You can filter on a specific time range by using both the AfterDate and BeforeDate query parameters.
Type
string
Allowed values: PAYIN, TRANSFER, CONVERSION, PAYOUTThe type of the transaction. You can filter on multiple values by separating them with a comma.
Nature
string
Allowed values: REGULAR, REPUDIATION, REFUND, SETTLEMENTThe nature of the transaction, providing more information about the context in which the transaction occurred. You can filter on multiple values by separating them with a comma.

Responses

401 - SCA required

[
    {
        "Id": "payin_m_01HSJVEP9KCCQK6FKC7973B3TZ",
        "Tag": "Created using the Mangopay API Postman collection",
        "CreationDate": 1711103498,
        "AuthorId": "user_m_01HSDQD2RPPQ8NMM36EDGYBMEY",
        "CreditedUserId": "user_m_01HSDQD2RPPQ8NMM36EDGYBMEY",
        "DebitedFunds": {
            "Currency": "EUR",
            "Amount": 6732
        },
        "CreditedFunds": {
            "Currency": "EUR",
            "Amount": 6732
        },
        "Fees": {
            "Currency": "EUR",
            "Amount": 0
        },
        "Status": "SUCCEEDED",
        "ResultCode": "000000",
        "ResultMessage": "Success",
        "ExecutionDate": 1711103498,
        "Type": "PAYIN",
        "Nature": "REGULAR",
        "CreditedWalletId": "wlt_m_01HSDQGSRYK3CXPA5RBJ08R2XJ",
        "DebitedWalletId": null,
        "DepositId": null
    }
]  
// GET has no body parameters