Testing directly over the Swift Network is complex and can be slow. Wise Platform Sandbox environment allows testing your integration by mocking an incoming Swift message without actual money movement.
Use the following endpoint to mock an incoming Swift message and verify your integration end-to-end.
- Production Environmenthttps://api.wise.com/v1/simulation/profiles/{profileId}/swift-in
- Sandbox Environmenthttps://api.wise-sandbox.com/v1/simulation/profiles/{profileId}/swift-in
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api.wise.com/v1/simulation/profiles/{profileId}/swift-in' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-H 'X-External-Correlation-Id: f47ac10b-58cc-4372-a567-0e02b2c3d479' \
-d '{
"currencyCode": "EUR",
"amount": 100,
"instructedAmount": 101,
"instructedCurrencyCode": "EUR",
"beneficiaryName": "John Doe",
"beneficiaryAccount": "8599680548",
"beneficiaryAddress": {
"addressLine": "1234 Elm St, IL",
"city": "Springfield",
"postalCode": "62704",
"country": "US"
},
"senderName": "Jane Doe",
"senderBic": "DEUTDEDBFRA",
"senderAccount": "DE89370400440532013000",
"senderAddress": {
"addressLine": "5678 Oak St",
"city": "Springfield",
"postalCode": "62704",
"country": "US"
},
"charges": [
{
"currency": "EUR",
"amount": 1,
"agent": "DEUTDEDBFRA"
}
],
"previousInstructingAgents": [
"COBADEFFXXX"
],
"paymentReference": "Test123"
}'For request/response details, see the API reference.
Once configuration and production testing is completed, you'll need to update SSI to point your production BIC to our BIC.
It's also recommended you notify other members of the Swift network that the SSI has been updated. Otherwise it might take a while before they start routing payments correctly. This can be done through an MT670 message sent directly to Swift. Wise will need to send this message on your behalf.