Cancel Transaction
delete
https://api.synapsefi.com
/v3.1/users/:user_id/nodes/:node_id/trans/:tran_id
Transaction

Example Request

To cancel a transaction en route to the recipient, the transaction must not have been batched already. For example, to cancel transactions between native Synapse accounts (ex: Deposit Accounts), they need to have status CREATED or QUEUED-BY-SYNAPSE.While a transaction leaving a Deposit Account, to an ACH-US account can be canceled with status CREATED, QUEUED-BY-SYNAPSE orPROCESSING-DEBIT (because outgoing ACH is batched during PROCESSING-CREDIT). You cannot cancel an already settled transaction, with the exception of Reversals for Interchange Pull transactions. If a cancelation fails, you will receive a 400 Bad Request response with error.code:cannot_cancel_transaction. Go to Possible Transaction Statues to learn more.
HTTP
cURL
Python
JS
PHP
GO
1
DELETE /v3.1/users/5fe50a777562960078d3a5c6/nodes/5fe96562c54d7b7bcda9b9da/trans/5fea5b8438707c7ccff0781a HTTP/1.1
2
Host: uat-api.synapsefi.com
3
X-SP-USER-IP: 255.127.79.76
4
X-SP-USER: oauth_ohpVj1iwMQgqHR0ATzbGEU4fBuXOJ0FWZk28y7cD|e83cf6ddcf778e37bfe3d48fc78a6502062fc
5
Content-Type: application/json
Copied!
1
curl --location --request DELETE 'https://uat-api.synapsefi.com/v3.1/users/5fe50a777562960078d3a5c6/nodes/5fe96562c54d7b7bcda9b9da/trans/5fea5b8438707c7ccff0781a' \
2
--header 'X-SP-USER-IP: 255.127.79.76' \
3
--header 'X-SP-USER: oauth_ohpVj1iwMQgqHR0ATzbGEU4fBuXOJ0FWZk28y7cD|e83cf6ddcf778e37bfe3d48fc78a6502062fc' \
4
--header 'Content-Type: application/json'
Copied!
1
//
Copied!
1
//
Copied!
1
//
Copied!
1
//
Copied!
Last modified 26d ago
Export as PDF
Copy link