Skip to main content
GET
/
v2.01
/
{ClientId}
/
users
/
{UserId}
/
deposit-preauthorizations
[
    {
        "Id": "748bfd3c-96f0-4475-949b-3aedfa3bdcfc",
        "CreationDate": 1696255231,
        "ExpirationDate": 1698847231,
        "AuthorizationDate": 1696255242,
        "AuthorId": "204068024",
        "DebitedFunds": {
            "Currency": "EUR",
            "Amount": 22220
        },
        "Status": "SUCCEEDED",
        "PaymentStatus": "CANCELED",
        "PayinsLinked": {
            "PayinCaptureId": null,
            "PayinComplementId": null
        },
        "ResultCode": "000000",
        "ResultMessage": "Success",
        "CardId": "204068248",
        "PreferredCardNetwork": null,
        "SecureModeReturnURL": null,
        "SecureModeRedirectURL": null,
        "SecureModeNeeded": null,
        "PaymentType": "CARD",
        "ExecutionType": "DIRECT",
        "StatementDescriptor": null,
        "Culture": null,
        "BrowserInfo": null,
        "IpAddress": null,
        "Billing": null,
        "Shipping": null,
        "Requested3DSVersion": null,
        "Applied3DSVersion": null,
        "Tag": "Created using Mangopay API Postman Collection",
        "CardInfo": {
            "BIN": "497010",
            "IssuingBank": "LA BANQUE POSTALE",
            "IssuerCountryCode": "MA",
            "Type": "CREDIT",
            "Brand": "VISA",
            "SubType": null
        }
    }
]  

Documentation Index

Fetch the complete documentation index at: https://docs.mangopay.com/llms.txt

Use this file to discover all available pages before exploring further.

Query parameters

ResultCode
string
The code indicating the result of the operation. You can filter on multiple values by separating them with a comma.
Status
string
Allowed values: CREATED, SUCCEEDED, FAILEDThe status of the transaction. You can filter on multiple values by separating them with a comma.
PaymentStatus
string
required
Allowed values: WAITING, CANCELED, CANCEL_REQUESTED, EXPIRED, VALIDATED, FAILEDThe payment status of the deposit preauthorization object:
  • WAITING – The deposit preauthorization can be used: the preauthorized funds can be captured (if Status is SUCCEEDED) or the preauthorization can be canceled manually.
  • CANCELED – Value to pass to manually cancel the deposit preauthorization before use; indicates that the deposit preauthorization was canceled manually.
  • CANCEL_REQUESTED – The cancellation of the deposit preauthorization has been requested but not yet processed.
  • EXPIRED – The hold period on the preauthorized funds has ended without it being used.
  • VALIDATED – Indicates that the preauthorized funds were captured.
  • FAILED – The pay-in against the preauthorization has failed, but a retry may be possible.

Responses

Array (deposit preauthorizations)
string
List of deposit preauthorizations created by the platform.
[
    {
        "Id": "748bfd3c-96f0-4475-949b-3aedfa3bdcfc",
        "CreationDate": 1696255231,
        "ExpirationDate": 1698847231,
        "AuthorizationDate": 1696255242,
        "AuthorId": "204068024",
        "DebitedFunds": {
            "Currency": "EUR",
            "Amount": 22220
        },
        "Status": "SUCCEEDED",
        "PaymentStatus": "CANCELED",
        "PayinsLinked": {
            "PayinCaptureId": null,
            "PayinComplementId": null
        },
        "ResultCode": "000000",
        "ResultMessage": "Success",
        "CardId": "204068248",
        "PreferredCardNetwork": null,
        "SecureModeReturnURL": null,
        "SecureModeRedirectURL": null,
        "SecureModeNeeded": null,
        "PaymentType": "CARD",
        "ExecutionType": "DIRECT",
        "StatementDescriptor": null,
        "Culture": null,
        "BrowserInfo": null,
        "IpAddress": null,
        "Billing": null,
        "Shipping": null,
        "Requested3DSVersion": null,
        "Applied3DSVersion": null,
        "Tag": "Created using Mangopay API Postman Collection",
        "CardInfo": {
            "BIN": "497010",
            "IssuingBank": "LA BANQUE POSTALE",
            "IssuerCountryCode": "MA",
            "Type": "CREDIT",
            "Brand": "VISA",
            "SubType": null
        }
    }
]