POST
/
v2.01
/
{ClientId}
/
repudiations
/
{RepudiationId}
/
settlementtransfer
{
    "AuthorId":"146476890",
    "DebitedFunds":{
        "Currency":"EUR",
        "Amount":12
    },
    "Fees":{
        "Currency":"EUR",
        "Amount":12
    }
}  
{
    "Id": "159220385",
    "Tag": null,
    "CreationDate": 1672677972,
    "ResultCode": "000000",
    "ResultMessage": "Success",
    "DebitedFunds": {
        "Currency": "EUR",
        "Amount": 999
    },
    "Fees": {
        "Currency": "EUR",
        "Amount": 0
    },
    "AuthorId": "146476890",
    "CreditedUserId": null,
    "CreditedFunds": {
        "Currency": "EUR",
        "Amount": 999
    },
    "Status": "SUCCEEDED",
    "ExecutionDate": 1672677972,
    "Type": "TRANSFER",
    "Nature": "SETTLEMENT",
    "CreditedWalletId": "CREDIT_EUR",
    "DebitedWalletId": "148968396",
    "RepudiationId": "159196330"
}  

Path parameters

RepudiationId
string
required
The unique identifier of the repudiation.

Body parameters

AuthorId
string
required
The unique identifier of the user at the source of the transaction.
DebitedFunds
object
required
Information about the debited funds. Please note that:
  • The Currency must be identical to that of the initial transaction.
  • The Amount cannot exceed the initial’s transaction minus the fees.
Fees
object
required
Information about the fees. Please note that:
  • The Currency must be identical to that of the initial transaction.
  • The Amount cannot exceed the initial’s transaction.

Responses

Id
string
Max length: 128 characters (see data formats for details)The unique identifier of the object.
Tag
string
Max. length: 255 charactersCustom data that you can add to this object.
For transactions (pay-in, transfer, payout), you can use this parameter to identify corresponding information regarding the user, transaction, or payment methods on your platform.
CreationDate
Unix timestamp
The date and time at which the object was created.
ResultCode
string
The code indicating the result of the operation. This information is mostly used to handle errors or for filtering purposes.
ResultMessage
string
The explanation of the result code.
DebitedFunds
object
Information about the debited funds. Please note that:
  • The Currency must be identical to that of the initial transaction.
  • The Amount cannot exceed the initial’s transaction minus the fees.
Fees
object
Information about the fees. Please note that:
  • The Currency must be identical to that of the initial transaction.
  • The Amount cannot exceed the initial’s transaction.
AuthorId
string
The unique identifier of the user at the source of the transaction.
CreditedUserId
string
Default value: The unique identifier of the owner of the credited wallet.The unique identifier of the user whose wallet is credited.
CreditedFunds
object
Information about the credited funds (CreditedFunds = DebitedFunds - Fees).
Status
string
Returned values: CREATED, SUCCEEDED, FAILEDThe status of the transaction.
ExecutionDate
Unix timestamp
The date and time at which the status changed to SUCCEEDED, indicating that the transaction occurred. The statuses CREATED and FAILED return an ExecutionDate of null.
Type
string
Returned values: PAYIN, TRANSFER, CONVERSION, PAYOUTThe type of the transaction.
Nature
string
Returned values: REGULAR, REPUDIATION, REFUND, SETTLEMENTThe nature of the transaction, providing more information about the context in which the transaction occurred:
  • REGULAR – Relative to most of the transactions (pay-ins, payouts, and transfers) in a usual workflow.
  • REPUDIATION – Automatic withdrawal of funds from the platform’s repudiation wallet as part of the dispute process (when the user has requested a chargeback).
  • REFUND – Reimbursement of a transaction to the user (pay-in refund), to a wallet (transfer refund), or of a payout (payout refund, only initiated by Mangopay).
  • SETTLEMENT – Transfer made to the repudiation wallet by the platform to settle a lost dispute.
CreditedWalletId
string
The unique identifier of the wallet. In the specific case of the Client Wallet object, this value is returned by the Mangopay API in the form of the funds type and the currency (e.g., “FEES_EUR”).
DebitedWalletId
string
The unique identifier of the debited wallet.
RepudiationId
string
The unique identifier of the repudiation.
Id
string
Max length: 128 characters (see data formats for details)The unique identifier of the object.
Tag
string
Max. length: 255 charactersCustom data that you can add to this object.
For transactions (pay-in, transfer, payout), you can use this parameter to identify corresponding information regarding the user, transaction, or payment methods on your platform.
CreationDate
Unix timestamp
The date and time at which the object was created.
ResultCode
string
The code indicating the result of the operation. This information is mostly used to handle errors or for filtering purposes.
ResultMessage
string
The explanation of the result code.
DebitedFunds
object
Information about the debited funds. Please note that:
  • The Currency must be identical to that of the initial transaction.
  • The Amount cannot exceed the initial’s transaction minus the fees.
Fees
object
Information about the fees. Please note that:
  • The Currency must be identical to that of the initial transaction.
  • The Amount cannot exceed the initial’s transaction.
AuthorId
string
The unique identifier of the user at the source of the transaction.
CreditedUserId
string
Default value: The unique identifier of the owner of the credited wallet.The unique identifier of the user whose wallet is credited.
CreditedFunds
object
Information about the credited funds (CreditedFunds = DebitedFunds - Fees).
Status
string
Returned values: CREATED, SUCCEEDED, FAILEDThe status of the transaction.
ExecutionDate
Unix timestamp
The date and time at which the status changed to SUCCEEDED, indicating that the transaction occurred. The statuses CREATED and FAILED return an ExecutionDate of null.
Type
string
Returned values: PAYIN, TRANSFER, CONVERSION, PAYOUTThe type of the transaction.
Nature
string
Returned values: REGULAR, REPUDIATION, REFUND, SETTLEMENTThe nature of the transaction, providing more information about the context in which the transaction occurred:
  • REGULAR – Relative to most of the transactions (pay-ins, payouts, and transfers) in a usual workflow.
  • REPUDIATION – Automatic withdrawal of funds from the platform’s repudiation wallet as part of the dispute process (when the user has requested a chargeback).
  • REFUND – Reimbursement of a transaction to the user (pay-in refund), to a wallet (transfer refund), or of a payout (payout refund, only initiated by Mangopay).
  • SETTLEMENT – Transfer made to the repudiation wallet by the platform to settle a lost dispute.
CreditedWalletId
string
The unique identifier of the credited wallet.
DebitedWalletId
string
The unique identifier of the debited wallet.
RepudiationId
string
The unique identifier of the repudiation.
{
    "Message": "One or several required parameters are missing or incorrect. An incorrect resource ID also raises this kind of error.",
    "Type": "param_error",
    "Id": "7da1f9f4-8c9f-4f9f-ba1c-babf394131ca#1673358577",
    "Date": 1673358578.0,
    "errors": {
        "DebitedFunds": "The settlement DebitedFunds cannot exceed the initial transaction DebitedFunds"
    }
}  
{
    "Message": "One or several required parameters are missing or incorrect. An incorrect resource ID also raises this kind of error.",
    "Type": "param_error",
    "Id": "084e42e2-7523-4e28-99eb-79300d0dc37b#1672678394",
    "Date": 1672678395.0,
    "errors": {
        "Fees": "The settlement Fees cannot exceed the initial transaction Fees"
    }
}  
{
    "Id": "159220385",
    "Tag": null,
    "CreationDate": 1672677972,
    "ResultCode": "000000",
    "ResultMessage": "Success",
    "DebitedFunds": {
        "Currency": "EUR",
        "Amount": 999
    },
    "Fees": {
        "Currency": "EUR",
        "Amount": 0
    },
    "AuthorId": "146476890",
    "CreditedUserId": null,
    "CreditedFunds": {
        "Currency": "EUR",
        "Amount": 999
    },
    "Status": "SUCCEEDED",
    "ExecutionDate": 1672677972,
    "Type": "TRANSFER",
    "Nature": "SETTLEMENT",
    "CreditedWalletId": "CREDIT_EUR",
    "DebitedWalletId": "148968396",
    "RepudiationId": "159196330"
}  
{
    "AuthorId":"146476890",
    "DebitedFunds":{
        "Currency":"EUR",
        "Amount":12
    },
    "Fees":{
        "Currency":"EUR",
        "Amount":12
    }
}