POST
/
v2.01
/
{ClientId}
/
payins
/
deposit-preauthorized
/
direct
/
capture-with-complement
{
    "AuthorId": "203063430",
    "CreditedWalletId": "203063456",
    "DebitedFunds": {
        "Currency": "EUR",
        "Amount": 20000
    },
    "Fees": {
        "Currency": "EUR",
        "Amount": 1000
    },
    "DepositId": "09d21294-f9ac-4797-b2b9-8cc7b4f05f1d",
    "Tag": "Created using Mangopay API Postman Collection"
}  

{
    "AuthorId": "203063430",
    "CreditedUserId": "203063430",
    "CreditedWalletId": "203063456",
    "DepositId": "09d21294-f9ac-4797-b2b9-8cc7b4f05f1d",
    "Id": "265d22b6-a3dc-48a4-a685-8655e5bcac6f",
    "CreationDate": 1695114697,
    "ResultCode": "000000",
    "ResultMessage": "Success",
    "Status": "SUCCEEDED",
    "ExecutionDate": 1695114698,
    "Type": "PAYIN",
    "Nature": "REGULAR",
    "PaymentType": "PREAUTHORIZED",
    "ExecutionType": "DIRECT",
    "DebitedFunds": {
        "Currency": "EUR",
        "Amount": 20000
    },
    "CreditedFunds": {
        "Currency": "EUR",
        "Amount": 19000
    },
    "Fees": {
        "Currency": "EUR",
        "Amount": 1000
    },
    "Tag": "Created using Mangopay API Postman Collection"
}  
This endpoint allows you to capture the preauthorized funds without closing the preauthorization deposit object. It can be used prior to capturing additional funds with the Create a Deposit Preauthorized PayIn complement endpoint.
Note – Pay-in prior to complement must be full captureThe pay-in requested on this endpoint (prior to complement) must be a full capture of the preauthorized amount - it can’t be partial.

Body parameters

AuthorId
string
required
The unique identifier of the user at the source of the transaction.
CreditedWalletId
string
required
The unique identifier of the credited wallet.
DebitedFunds
object
required
Information about the debited funds.
Fees
object
required
Information about the fees.
DepositId
string
required
The unique identifier of the deposit preauthorization.
Tag
string
Max. length: 255 charactersCustom data that you can add to this object.
For preauthorizations, you can use this parameter to identify corresponding information regarding the user or transaction on your platform.

Responses


{
    "AuthorId": "203063430",
    "CreditedUserId": "203063430",
    "CreditedWalletId": "203063456",
    "DepositId": "09d21294-f9ac-4797-b2b9-8cc7b4f05f1d",
    "Id": "265d22b6-a3dc-48a4-a685-8655e5bcac6f",
    "CreationDate": 1695114697,
    "ResultCode": "000000",
    "ResultMessage": "Success",
    "Status": "SUCCEEDED",
    "ExecutionDate": 1695114698,
    "Type": "PAYIN",
    "Nature": "REGULAR",
    "PaymentType": "PREAUTHORIZED",
    "ExecutionType": "DIRECT",
    "DebitedFunds": {
        "Currency": "EUR",
        "Amount": 20000
    },
    "CreditedFunds": {
        "Currency": "EUR",
        "Amount": 19000
    },
    "Fees": {
        "Currency": "EUR",
        "Amount": 1000
    },
    "Tag": "Created using Mangopay API Postman Collection"
}  
{
    "AuthorId": "203063430",
    "CreditedWalletId": "203063456",
    "DebitedFunds": {
        "Currency": "EUR",
        "Amount": 20000
    },
    "Fees": {
        "Currency": "EUR",
        "Amount": 1000
    },
    "DepositId": "09d21294-f9ac-4797-b2b9-8cc7b4f05f1d",
    "Tag": "Created using Mangopay API Postman Collection"
}