Cancel Wire Transaction
/cancelWireTransaction
Use the Cancel Wire Transaction endpoint to cancel a wire transaction that was initiated by the Create Wire Transaction endpoint. Wire transactions may be canceled up to 10 minutes after the time that they were created. After 10 minutes, the wire transaction cannot be canceled.
Input parameters
Name | Req | Data type | Description | Pattern | Example |
---|---|---|---|---|---|
apiLogin | X | string | Web service username, as provided by Galileo. | Max 50 characters | "AbC123-9999" |
apiTransKey | X | string | Web service password, as provided by Galileo. | Max 15 characters | "4sb62fh6w4h7w34g" |
providerId | X | int32 | Galileo-issued provider identifier. | Max 10 digits | 9999 |
transactionId | X | string | A unique provider-generated ID to identify this API call. A UUID is preferred. This value is used for idempotency | Max 60 characters | "123e4567-e89b-12d3-a456-426614174000" |
accountNo | string | X | The PRN of the sending account. | PRN | "999101789123" |
wireTransactionId | UUID | X | UUID as returned by Create Wire Transaction or Get Wire History. | UUID | "123456abc-1234-abcd-1234-123456abcdef" |
Example request
curl --location --request POST 'https://[URL]/cancelWireTransaction' \
--header 'response-content-type: json' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'apiLogin=[redacted]' \
--data-urlencode 'apiTransKey=[redacted]' \
--data-urlencode 'providerId=19' \
--data-urlencode 'transactionId=3146d86d-ebc7-40ca-9b2e-98cc577b2c92' \
--data-urlencode 'accountNo=652101062469' \
--data-urlencode 'wireTransactionId=123456abc-1234-abcd-1234-123456abcdef'
Response fields
Name | Data type | Req | Description |
---|---|---|---|
balance | float | X | Balance of the account after canceling the transaction |
wire_transaction_id | UUID | X | UUID of the canceled transaction |
Example response
{
"status_code": 0,
"status": "Success",
"processing_time": 0.298,
"transaction_id": "UUID",
"response_data": {
"wire_transaction_id": "123456-1234-1234-123456",
"balance": "123.34"
},
"echo": {
"provider_transaction_id": "",
"provider_timestamp": null,
"transaction_id": "629d890a-d773-4615-9bc4-bbe12effcf94"
},
"rtoken": "8cc16de0-5eda-4e2a-968e-3b08fce6f778",
"system_timestamp": "2022-08-13 10:36:54"
}
Status codes
See Global Response Statuses for status codes that are common across endpoints.