Cancel Wire Transaction

Back to index page

/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

NameReqData typeDescriptionPatternExample
apiLoginXstringWeb service username, as provided by Galileo.Max 50 characters"AbC123-9999"
apiTransKeyXstringWeb service password, as provided by Galileo.Max 15 characters"4sb62fh6w4h7w34g"
providerIdXint32Galileo-issued provider identifier.Max 10 digits9999
transactionIdXstringA unique provider-generated ID to identify this API call. A UUID is preferred. This value is used for idempotencyMax 60 characters"123e4567-e89b-12d3-a456-426614174000"
accountNostringXThe PRN of the sending account.PRN"999101789123"
wireTransactionIdUUIDXUUID 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

NameData typeReqDescription
balancefloatXBalance of the account after canceling the transaction
wire_transaction_idUUIDXUUID 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.