v1

latestOpenAPI 3.1.02026-07-24180245513.9 KB
Message forward

Forward message (deprecated)

Deprecated. Use POST /message_forward instead — that endpoint accepts the same arguments as a JSON body (with file content as base64) and additionally lets you override Swift Business Connect attributes (BIC, DN, service code, message type, sender reference) per message.

This endpoint will keep working for existing customers but will not receive new features. New swift_fin and swift_fileact bank services are only exposed via the new endpoint.

Forward a message that has been generated by your own system to your partner bank, CSM, or Swift network. The message is sent as is by Mambu Payments (formerly Numeral).

post/message_forward/connected_accounts/{connected_account_id}/services/{bank_service}/bank_files/{file_name}

Path parameters

connected_account_idstring required

The connected account to forward this message from.

bank_service'bacs_direct_credit' | 'bacs_direct_debit' | 'chaps' | 'end_of_day_statements' | 'fps' | 'intra_day_statements' | 'sct' | 'sct_inst' | 'sdd' | 'swift' required

The bank service to use.

file_namestring required

File name. It should be at least 3 characters and maximum 140 characters.

Response

Successfully forwarded a message.

idstring required

The UUID of the file.

object'file' required

Label used to identify this kind of object.

connected_account_idstring uuid

The ID of the connected account used to send or receive the file.

connected_account_idsstring[] required

The IDs of the connected accounts used to send the file. Contains only one entry.

direction'outgoing' required

The transfer direction for the file_id: - outgoing for files sent or to be sent to the bank.

category'forwarded_message' required

The category of the file.

formatstring required

The format of the file.

filenamestring required

The name of the file.

sizeinteger required

The size of the file, expressed in bytes.

summaryobject required

A summary of the file, depending on its content.

status'created' | 'approved' | 'canceled' | 'sent' required
status_detailsstring required

The details of the status of this file, such as the rejection reason for instance.

created_atstring date-time required

The UTC timestamp of the creation of the file.

Example response

{
  "id": "3ad331b9-12b2-48fd-ad35-203fe8b5e78e",
  "object": "file",
  "connected_account_ids": [
    "6669205e-e306-4b44-bf40-0475899eeb60"
  ],
  "direction": "outgoing",
  "format": "custom.format",
  "filename": "SFPP30X40.3ad331b9-12b2-48fd-ad35-203fe8b5e78e.1659349967",
  "size": 2234,
  "bank_data": {
    "message_ids": [
      "211012231391882"
    ]
  },
  "status_details": "generated on 2022-08-01",
  "created_at": "2022-08-01T06:00:05Z"
}