Cancel Shipment
delete
https://api.synapsefi.com
/v3.1/users/:user_id/nodes/:node_id/subnets/:subnet_id/ship/:ship_id
Shipment

Example Request

Please note that the Shipment has to be in CREATED status for cancellation to work. Go to Possible Status Values to learn more.
HTTP
cURL
Python
JS
PHP
GO
1
DELETE /v3.1/users/5fd7acfd8677040053ad486d/nodes/5fd901bb20b3aa0bc7caee85/subnets/5fe393cac55b7036478223be/ship/5fe393ccbc382e002d9c40f8 HTTP/1.1
2
Host: uat-api.synapsefi.com
3
X-SP-USER-IP: 255.127.79.76
4
X-SP-USER: oauth_5FhywpZgtn0GPqkMidJCazIKmSc0UjQ1bW8VEYOL|e83cf6ddcf778e37bfe3d48fc78a6502062fc
5
Content-Type: application/json
6
7
{}
Copied!
1
curl --location --request DELETE 'https://uat-api.synapsefi.com/v3.1/users/5fd7acfd8677040053ad486d/nodes/5fd901bb20b3aa0bc7caee85/subnets/5fe393cac55b7036478223be/ship/5fe393ccbc382e002d9c40f8' \
2
--header 'X-SP-USER-IP: 255.127.79.76' \
3
--header 'X-SP-USER: oauth_5FhywpZgtn0GPqkMidJCazIKmSc0UjQ1bW8VEYOL|e83cf6ddcf778e37bfe3d48fc78a6502062fc' \
4
--header 'Content-Type: application/json' \
5
--data-raw '{}'
Copied!
1
node_id = '594e606212e17a002f2e3251'
2
subn_id = '59c9f77cd412960028b99d2b'
3
ship_id = '6101f4062846db14581f19e6'
4
user.cancel_card_shipment(node_id,subn_id,ship_id)
Copied!
1
node_id = '594e606212e17a002f2e3251'
2
subnet_id = '59c9f77cd412960028b99d2b'
3
ship_id = '6101f4062846db14581f19e6'
4
user.deleteCardShipment(node_id, subnet_id, ship_id)
Copied!
1
//
Copied!
1
//
Copied!
Last modified 1mo ago
Export as PDF
Copy link