Skip to content
Status

Update a deep link

PUThttps://app.shuttleglobal.com/c/api/instances/{instance_key}/deep_links/{deep_link_id}

PUT
/deep_links/{deep_link_id}

Update an existing deep link

deep_link_id
required
string

The deep link’s id, as returned when you created it.

Media typeapplication/json
object
deep_link
object
object
type
required
string · enum

Type of deep link to create:

  • gateway-setup: Merchant Setup (onboarding)
  • dashboard: Merchant View
Allowed values: gateway-setup dashboard
context
object

Type-specific parameters that vary based on the deep link type:

For type: gateway-setup (Onboarding)

  • processor: Limit onboarding to a single processor (e.g., “STRIPE”)
  • processor_filter: Array of allowed processors (e.g., [“STRIPE”, “SQUARE”])
  • theme: UI customization options including:
    • Font settings (baseFontSize, baseFontFamily)
    • Colors (backgroundColor, headerBackground)
    • Layout (baseBorderRadius, rowHeight)
    • Full theme options documented in UI Components guide

For type: dashboard (Merchant View)

  • mode: Section to display — “enquiry” or “setup”
  • action: View to display:
    • “view_account”: Show account details
    • “view_contract”: Show contract details
    • “view_transaction”: Show transaction details
    • “view_payment_method”: Show payment method details
    • “localisation”: Show localisation settings (requires mode “setup”)
  • id: ID of object to view (use this OR alt_key)
  • alt_key: Alternative key of object (use this OR id)
  • menu: Menu display type:
    • “normal”: Standard menu
    • “banner”: Banner style menu with logo
    • “hidden”: No menu
  • favicon: URL to PNG favicon when opened in window
  • menu_logo: URL to PNG logo for banner menu (max 120x20px)
  • return_url: URL to return to when logo clicked (banner menu)
  • features: Turn individual Merchant View actions (refunds, captures, account editing, contract amendments) on or off for this session, overriding the defaults set on the application. See Merchant View Options
object
processor
string

For gateway-setup, use onboarding for a single processor only (e.g., “STRIPE”)

processor_filter
Array<string>

For gateway-setup, filter available processors (e.g., [“STRIPE”, “SQUARE”])

theme
object

UI theme customization options including font settings, colors, and layout. See UI Components guide for full list of theme properties.

object
mode
string · enum

Section of the merchant view to display

Allowed values: enquiry setup
action
string · enum

Specific view to display in merchant view

Allowed values: view_account view_contract view_transaction view_payment_method localisation
id
string

ID of object to view in merchant view (use this OR alt_key)

alt_key
string

Alternative key of object to view (use this OR id)

menu
string · enum

Type of menu to display in merchant view

Allowed values: normal banner hidden
favicon
string

URL to PNG favicon when merchant view opened in window

menu_logo
string

URL to PNG logo for banner menu (max 120x20px recommended)

return_url
string

URL to return to when logo clicked in banner menu

features
object
Example
{
"refund": "FALSE",
"manual_capture": "FALSE",
"account_edit": "FALSE"
}

For merchant view, overrides the Merchant View options set on the application (Developer Portal, Developer tab, Merchant View), for this deep link only.

Each key is an option – account_edit, comments, manual_capture, moto_payment, moto_tokenise, payment_method_edit, recurring, recurring_edit, recurring_edit_in_place, refund, refund_offline – and each value is "TRUE" or "FALSE". An option you omit keeps the application default; an option never set anywhere is enabled. Disabling an option removes the control from the UI entirely.

For what each option does, see Merchant View Options

object
key
additional properties
string · enum
Allowed values: TRUE FALSE
user
object
object
alt_key
required
string

Your primary key for the logged in user

name
string

Name of the logged in user

session
object
object
teams
Array<string>

Teams the user belongs to

ip_address
string

IP address of the merchant

expiry_seconds
integer
default 900

Time in seconds this deep link is active

id
required
string

Deep link ID

Updated deep link

Media typeapplication/json
object
deep_link
object
object
type
required
string · enum

Type of deep link to create:

  • gateway-setup: Merchant Setup (onboarding)
  • dashboard: Merchant View
Allowed values: gateway-setup dashboard
context
object

Type-specific parameters that vary based on the deep link type:

For type: gateway-setup (Onboarding)

  • processor: Limit onboarding to a single processor (e.g., “STRIPE”)
  • processor_filter: Array of allowed processors (e.g., [“STRIPE”, “SQUARE”])
  • theme: UI customization options including:
    • Font settings (baseFontSize, baseFontFamily)
    • Colors (backgroundColor, headerBackground)
    • Layout (baseBorderRadius, rowHeight)
    • Full theme options documented in UI Components guide

For type: dashboard (Merchant View)

  • mode: Section to display — “enquiry” or “setup”
  • action: View to display:
    • “view_account”: Show account details
    • “view_contract”: Show contract details
    • “view_transaction”: Show transaction details
    • “view_payment_method”: Show payment method details
    • “localisation”: Show localisation settings (requires mode “setup”)
  • id: ID of object to view (use this OR alt_key)
  • alt_key: Alternative key of object (use this OR id)
  • menu: Menu display type:
    • “normal”: Standard menu
    • “banner”: Banner style menu with logo
    • “hidden”: No menu
  • favicon: URL to PNG favicon when opened in window
  • menu_logo: URL to PNG logo for banner menu (max 120x20px)
  • return_url: URL to return to when logo clicked (banner menu)
  • features: Turn individual Merchant View actions (refunds, captures, account editing, contract amendments) on or off for this session, overriding the defaults set on the application. See Merchant View Options
object
processor
string

For gateway-setup, use onboarding for a single processor only (e.g., “STRIPE”)

processor_filter
Array<string>

For gateway-setup, filter available processors (e.g., [“STRIPE”, “SQUARE”])

theme
object

UI theme customization options including font settings, colors, and layout. See UI Components guide for full list of theme properties.

object
mode
string · enum

Section of the merchant view to display

Allowed values: enquiry setup
action
string · enum

Specific view to display in merchant view

Allowed values: view_account view_contract view_transaction view_payment_method localisation
id
string

ID of object to view in merchant view (use this OR alt_key)

alt_key
string

Alternative key of object to view (use this OR id)

menu
string · enum

Type of menu to display in merchant view

Allowed values: normal banner hidden
favicon
string

URL to PNG favicon when merchant view opened in window

menu_logo
string

URL to PNG logo for banner menu (max 120x20px recommended)

return_url
string

URL to return to when logo clicked in banner menu

features
object
Example
{
"refund": "FALSE",
"manual_capture": "FALSE",
"account_edit": "FALSE"
}

For merchant view, overrides the Merchant View options set on the application (Developer Portal, Developer tab, Merchant View), for this deep link only.

Each key is an option – account_edit, comments, manual_capture, moto_payment, moto_tokenise, payment_method_edit, recurring, recurring_edit, recurring_edit_in_place, refund, refund_offline – and each value is "TRUE" or "FALSE". An option you omit keeps the application default; an option never set anywhere is enabled. Disabling an option removes the control from the UI entirely.

For what each option does, see Merchant View Options

object
key
additional properties
string · enum
Allowed values: TRUE FALSE
user
object
object
alt_key
required
string

Your primary key for the logged in user

name
string

Name of the logged in user

session
object
object
teams
Array<string>

Teams the user belongs to

ip_address
string

IP address of the merchant

expiry_seconds
integer
default 900

Time in seconds this deep link is active

id
required
string

Deep link ID

Bad request

Media typeapplication/json

Every error has a code and a message. Some add more fields alongside them, with detail about the error.

object
code
string

The error code, for example VALIDATION_ERROR, INVALID, INVALID_REQUEST, UNAUTHORIZED, FORBIDDEN or NOT_FOUND. Program against this, not the message.

message
string

What went wrong, in words, for logs and support.

Unauthorised: the API key is missing or not valid

Media typeapplication/json

Every error has a code and a message. Some add more fields alongside them, with detail about the error.

object
code
string

The error code, for example VALIDATION_ERROR, INVALID, INVALID_REQUEST, UNAUTHORIZED, FORBIDDEN or NOT_FOUND. Program against this, not the message.

message
string

What went wrong, in words, for logs and support.

Example
{
"code": "UNAUTHORIZED",
"message": "Unauthorised"
}

Was this page helpful?