POST
/
v3.0
/
{ClientId}
/
payins
/
intents
/
settlements
curl -X POST ".../v3.0/{ClientId}/payins/intents/settlements" \
-H "Authorization: Bearer token" \
-H "Content-Type: multipart/form-data" \
-F "file=@/example/file-path.csv"
{
    "SettlementId": "int_stlmnt_019778c1-fe45-7864-8d2c-c2394e0f105c",
    "Status": "UPLOADED",
    "CreationDate": 1750077669,
    "DeclaredIntentAmount": 0,
    "ExternalProcessorFeesAmount": 0,
    "ActualSettlementAmount": 0,
    "FundsMissingAmount": 0
}
Use this endpoint to send Mangopay CSV settlement files in Mangopay’s defined template. You need to send one file per currency, as soon as it becomes available. Read more about providing settlement files to Mangopay.
Caution – Use settlement file example as templateYou must follow the specifications provided here.Use this example CSV file (right click and Save as…), which contains the correct column and row labels and example data for 3 transactions. Remove the example data lines before generating your own file.There are no requirements for the file name: you can name your file how you like.

Body parameters

file
csv
required
The settlement file, provided by the external PSP and formatted to comply with Mangopay’s settlement file structure.

Responses

200 - OK


curl -X POST ".../v3.0/{ClientId}/payins/intents/settlements" \
-H "Authorization: Bearer token" \
-H "Content-Type: multipart/form-data" \
-F "file=@/example/file-path.csv"
{
    "SettlementId": "int_stlmnt_019778c1-fe45-7864-8d2c-c2394e0f105c",
    "Status": "UPLOADED",
    "CreationDate": 1750077669,
    "DeclaredIntentAmount": 0,
    "ExternalProcessorFeesAmount": 0,
    "ActualSettlementAmount": 0,
    "FundsMissingAmount": 0
}