Skip to main content
DELETE
/
organizations
/
{organization_id}
/
external_payment_instruments
/
{external_payment_instrument_id}
Archive External Payment Instrument
curl --request DELETE \
  --url https://api-sandbox.stablesea.com/v1/organizations/{organization_id}/external_payment_instruments/{external_payment_instrument_id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "External payment instrument archived successfully"
}
This endpoint is used to archive an external account for a organization. The external account will remain accessible in the API for historical purposes, but will no longer be available for use when submitting Orders.

Common Headers

HeaderValueRequiredDescription
AuthorizationBearer <api-key>trueYour API key for authentication
Content-Typeapplication/jsontrueContent type of the request

Path

organization_id
string
required
ID of organization
external_payment_instrument_id
string
required
ID of external payment instrument

Response

{
  "message": "External payment instrument archived successfully"
}

Authorizations

Authorization
string
header
default:DEFAULT-TOKEN-HERE
required

Use your API key as the bearer token

Path Parameters

organization_id
string
required

ID of organization

Example:

"org_01k2cm4r59e5z8k5ggrbbxjcwy"

external_payment_instrument_id
string
required

ID of external payment instrument

Example:

"mnyacctcm_01k4r01nm4f41tcsws4sr9k8nn"

Response

200 - application/json

External payment instrument archived successfully

message
string
Example:

"External payment instrument archived successfully"