Links

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
DELETE /v3.1/users/5fd7acfd8677040053ad486d/nodes/5fd901bb20b3aa0bc7caee85/subnets/5fe393cac55b7036478223be/ship/5fe393ccbc382e002d9c40f8 HTTP/1.1
Host: uat-api.synapsefi.com
X-SP-USER-IP: 255.127.79.76
X-SP-USER: oauth_5FhywpZgtn0GPqkMidJCazIKmSc0UjQ1bW8VEYOL|e83cf6ddcf778e37bfe3d48fc78a6502062fc
Content-Type: application/json
{}
curl --location --request DELETE 'https://uat-api.synapsefi.com/v3.1/users/5fd7acfd8677040053ad486d/nodes/5fd901bb20b3aa0bc7caee85/subnets/5fe393cac55b7036478223be/ship/5fe393ccbc382e002d9c40f8' \
--header 'X-SP-USER-IP: 255.127.79.76' \
--header 'X-SP-USER: oauth_5FhywpZgtn0GPqkMidJCazIKmSc0UjQ1bW8VEYOL|e83cf6ddcf778e37bfe3d48fc78a6502062fc' \
--header 'Content-Type: application/json' \
--data-raw '{}'
node_id = '594e606212e17a002f2e3251'
subn_id = '59c9f77cd412960028b99d2b'
ship_id = '6101f4062846db14581f19e6'
user.cancel_card_shipment(node_id,subn_id,ship_id)
node_id = '594e606212e17a002f2e3251'
subnet_id = '59c9f77cd412960028b99d2b'
ship_id = '6101f4062846db14581f19e6'
user.deleteCardShipment(node_id, subnet_id, ship_id)
//
//