Send a batch of FIN messages to Alliance Cloud.
POST
{{baseUrl}}/alliancecloud/v1/fin/messages/batch
This operation enables sending multiple FIN messages to Alliance Cloud, in a single API call. For a given batch request, every single message must have its senderreference field present and not empty.
All senderreference values from the message items must be unique inside a given batch request. A maximum of 500 FIN messages can be sent in one call.
Body
PARAM
Key |
Datatype |
Required |
Description |
HEADERS
Key |
Datatype |
Required |
Description |
X-SWIFT-Signature
|
string |
|
(Required) The application level signature produced based on asymmetric cryptography (see [JWS](https://tools.ietf.org/html/rfc7515)).
The input data elements used to compute the signature are:
* HTTP request body
See [RFC 7519](https://tools.ietf.org/html/rfc7519)
See [jwt.io](https://jwt.io)
|
Content-Type
|
string |
|
|
Accept
|
string |
|
|
RESPONSES
status
curl -X POST 'https://sandbox.swift.com/alliancecloud/v1/fin/messages/batch' -H 'X-SWIFT-Signature: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIiLCJuYW1lIjoiIiwiaWF0IjowfQ.u_kftAUkjiUZO-OhIyj24H7lOUk1wi9GUF-e14JmCtQ' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"0":{"sender_reference":"LOW-000082027617","message_type":"fin.101","sender":"SWLLUS33XXXX","receiver":"SWHQBEBBXXXX","network_info":{"network_priority":"Normal","uetr":"5fb4fe6b-eaa3-4e16-a4db-1d50bd512220","delivery_monitoring":"NonDeliveryAndDelivery","possible_duplicate":false,"validation_identifier":"STP","service_type_identifier":"001"},"payload":"DQo6MjA6TE9XLTAwMDA4MjAyNzYxNw0KOjI4RDoxMjM0NS8xMjM0NQ0KOjUwTDp4DQo6NTBIOi94DQp4DQo6MzA6OTYxMTIzDQo6MjE6TE9XLTAwMDA4MjAyNzYxNw0KOjMyQjpVU0QxLDM0DQo6NTJBOkNIQVNVUzMzDQo6NTk6eA0KOjcxQTpTSEENCjoyMTpMT1ctMDAwMDgyMDI3NjE3DQo6MzJCOlVTRDEsMzQNCjo1MkE6Q0hBU1VTMzMNCjo1OTp4DQo6NzFBOlNIQQ=="},"1":{"sender_reference":"LOW-000082027618","message_type":"fin.101","sender":"SWLLUS33XXXX","receiver":"SWHQBEBBXXXX","network_info":{"network_priority":"Normal","uetr":"28bbfe98-e654-4037-8d1f-505650326e1b","delivery_monitoring":"NonDeliveryAndDelivery","possible_duplicate":false,"validation_identifier":"STP","service_type_identifier":"001"},"payload":"CjoyMDpMT1ctMDAwMDgyMDI3NjE4CjoyOEQ6MTIzNDUvMTIzNDUKOjUwTDp4Cjo1MEg6L3gKeAo6MzA6OTYxMTIzCjoyMTpMT1ctMDAwMDgyMDI3NjE4CjozMkI6VVNEMSwzNAo6NTJBOkNIQVNVUzMzCjo1OTp4Cjo3MUE6U0hBCjoyMTpMT1ctMDAwMDgyMDI3NjE4CjozMkI6VVNEMSwzNAo6NTJBOkNIQVNVUzMzCjo1OTp4Cjo3MUE6U0hB"}}'