Skip to main content
POST
/
v2
/
transactions
/
swift
Create Swift payment
curl --request POST \
  --url https://api.pgw-sandbox.finventi.com/v2/transactions/swift \
  --header 'Content-Type: application/json' \
  --header 'Idempotency-Key: <idempotency-key>' \
  --data '
{
  "amount": 1050299,
  "charges": {
    "agentBic": "CHRGBICXXXX",
    "amount": 2550,
    "bearer": "DEBT",
    "currency": "EUR"
  },
  "clearingChannel": "RTGS",
  "creditor": {
    "agentBic": "INVELT2XXXX",
    "iban": "DE89370400440532013000",
    "name": "Creditor Company Incorporated"
  },
  "currency": "EUR",
  "debtor": {
    "agentBic": "MLLKMTM2XXX",
    "iban": "LT121000011101001000",
    "name": "Debtor Company Limited"
  },
  "endToEndId": "TXN123456789012345",
  "instructionId": "INSTR001234567",
  "messageRouting": {
    "receiverBic": "DEUTDEFFXXX"
  },
  "priority": "HIGH",
  "remittance": "Payment for invoice #INV-2025-001234",
  "serviceLevel": "URGP",
  "settlement": {
    "date": "2025-07-04",
    "iban": "GB29NWBK60161331926819",
    "method": "INDA"
  }
}
'
{
  "amount": 123,
  "createdAt": "2023-11-07T05:31:56Z",
  "creditor": {
    "agentBic": "<string>",
    "iban": "<string>",
    "name": "<string>"
  },
  "currency": "<string>",
  "debtor": {
    "agentBic": "<string>",
    "iban": "<string>",
    "name": "<string>"
  },
  "endToEndId": "<string>",
  "method": "SEPA",
  "settlementDate": "2023-12-25",
  "status": "<string>",
  "transactionId": 123,
  "remittance": "<string>"
}

Overview

This endpoint creates SWIFT payments for international wire transfers. The payment is validated and submitted to the correspondent banking network.

Idempotent Endpoint

This endpoint supports idempotency to prevent duplicate transactions.

How to Use

  • Include an Idempotency-Key header with a unique value (UUID recommended)
  • The API returns the existing transaction when you reuse the same key
  • Retry requests safely without creating duplicates

Key Features

  • Supports multiple currencies
  • Handles correspondent bank routing
  • Validates BIC codes and account formats
  • Provides transaction tracking

Headers

Idempotency-Key
string
required

Unique identifier in scope of payment creation endpoints required to prevent unintended duplicate payments

Body

application/json

SWIFT payment request for creating cross-border payments

amount
integer
required

Transaction amount in cents

Example:

10102

creditor
object
required

Creditor information

currency
string
required

Currency code - must be from supported currencies per tenant

debtor
object
required

Debtor information

settlement
object
required

Settlement information

charges
object

Charge information

clearingChannel
enum<string>

Clearing channel: BOOK (book transfer), MPNS (mass payment net system), RTGS (real-time gross settlement), RTNS (real-time net settlement) (optional)

Available options:
BOOK,
MPNS,
RTGS,
RTNS
endToEndId
string

End-to-end identification assigned by the initiating party (optional, defaults to NOTPROVIDED if not provided)

Required string length: 1 - 35
instructionId
string

Instruction ID assigned by the instructing party (optional, uses transaction.id if not provided)

Required string length: 1 - 16
messageRouting
object

Message routing information - identifies the sender and receiver institutions

priority
enum<string>

Instruction priority: NORM (normal), HIGH (high) (optional)

Available options:
NORM,
HIGH
remittance
string

Unstructured remittance information (payment details)

Maximum string length: 140
serviceLevel
enum<string>

Service level code: BKTR (book transfer), NUGP (non-urgent priority), NURG (non-urgent), SDVA (same day value), URGP (urgent payment), URNS (urgent net settlement) (optional)

Available options:
BKTR,
NUGP,
NURG,
SDVA,
URGP,
URNS

Response

A new SWIFT payment has been created

SWIFT payment creation response

amount
integer
required

Transaction amount in cents

createdAt
string<date-time>
required

Transaction creation timestamp

creditor
object
required

Creditor response

currency
string
required

Currency code

debtor
object
required

Debtor response

endToEndId
string
required

End-to-end identification

method
enum<string>
required

Transaction method (always SWIFT)

Available options:
SEPA,
INST,
SDD,
SWIFT
settlementDate
string<date>
required

Settlement date

status
string
required

Transaction status

transactionId
integer<int64>
required

Unique transaction identifier

remittance
string

Remittance information