Skip to main content

ExportSecondaryMarketBalanceRefundSepaFile

Stable

Generate the credit transfer SEPA file (pain.001) paying the balance refund of the selected secondary market transfers to their buyer, debited from the settlement account of the market, and flag its money movements as exported. With dryRun, only count the exportable and not exportable transfers: nothing is generated nor flagged.

Signature​

mutation {
ExportSecondaryMarketBalanceRefundSepaFile(secondaryMarketId: ..., transferIds: ..., dryRun: ...)
}

Retourne : SepaExportResult!

Arguments​

NomTypeRequisDéfautDescription
secondaryMarketIdID!✓——
transferIds[ID!]!✓—Identifiers of the transfers to export. Transfers of another secondary market are ignored.
dryRunBoolean!✓falseIf true, only counts the exportable and not exportable transfers: no file is generated and nothing is flagged as exported

Exemple​

mutation {
ExportSecondaryMarketBalanceRefundSepaFile(
secondaryMarketId: $secondaryMarketId
transferIds: $transferIds
dryRun: $dryRun
) {
exportableCount
notExportableCount
exportId
exportedMoneyMovements {}
}
}