Skip to content
ajar.Get started

Payment method remove

starbucks.payment_method.remove

View connector

Remove one saved Starbucks UK payment method

POST /v1/operations/starbucks.payment_method.remove

Restricted access · live-write. Examples use fictional values and do not execute requests.

Inputs

ParameterExample typeExample value
payment_source_refstring"00000000-0000-0000-0000-000000000000"
confirm_last4string"4242"
confirm_removebooleantrue

Example input

{
  "payment_source_ref": "00000000-0000-0000-0000-000000000000",
  "confirm_last4": "4242",
  "confirm_remove": true
}

Input schema

{
  "$id": "https://priv-platform.local/connectors/starbucks/payment-method-remove.input.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "confirm_last4": {
      "pattern": "^[0-9]{4}$",
      "type": "string"
    },
    "confirm_remove": {
      "const": true
    },
    "payment_source_ref": {
      "pattern": "^[0-9a-fA-F-]{36}$",
      "type": "string"
    }
  },
  "required": [
    "payment_source_ref",
    "confirm_last4",
    "confirm_remove"
  ],
  "title": "Starbucks saved payment method removal",
  "type": "object"
}