Execute SRN Transaction
patch
https://api.synapsefi.com
/v3.1/users/:user_id/nodes/:node_id/trans/:tran_id
Transaction

Example Request

Only transactions in PROCESSING-DEBIT status can be executed. When an SRN transaction is in PROCESSING-DEBIT, the associated fees for the trade are also added in the transaction.
Once an SRN transaction is created, it will automatically move to PROCESSING-DEBIT and to.meta.fees object will be added in the transaction, once that happens, please allow the user to fee the associated fees and if the user agrees, this API call can be used to execute the transaction.
HTTP
cURL
Python
JS
PHP
GO
1
PATCH /v3.1/users/5fe50a777562960078d3a5c6/nodes/5fea67e9ab6ce70c2040c5ca/trans/5ff25ec87e308398d468da1d HTTP/1.1
2
Host: uat-api.synapsefi.com
3
X-SP-USER-IP: 255.127.79.76
4
X-SP-USER: oauth_aYTZQp5EH8OVgrkLmio0yJM7jISC3AWubBqdK6vx|e83cf6ddcf778e37bfe3d48fc78a6502062fc
5
Content-Type: application/json
6
7
{
8
"execute": true
9
}
Copied!
1
curl --location --request PATCH 'https://uat-api.synapsefi.com/v3.1/users/5fe50a777562960078d3a5c6/nodes/5fea67e9ab6ce70c2040c5ca/trans/5ff25ec87e308398d468da1d' \
2
--header 'X-SP-USER-IP: 255.127.79.76' \
3
--header 'X-SP-USER: oauth_aYTZQp5EH8OVgrkLmio0yJM7jISC3AWubBqdK6vx|e83cf6ddcf778e37bfe3d48fc78a6502062fc' \
4
--header 'Content-Type: application/json' \
5
--data-raw '{
6
"execute": true
7
}'
Copied!
1
//
Copied!
1
//
Copied!
1
//
Copied!
1
//
Copied!
Last modified 9mo ago
Export as PDF
Copy link