Skip to content
ajar.Get started

Payment method add complete

starbucks.payment_method.add.complete

View connector

Finish a Starbucks saved-card device-data step after the processor callback

POST /v1/operations/starbucks.payment_method.add.complete

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

Inputs

ParameterExample typeExample value
collection_referencestring"example-collection-reference-not-a-real-token"
payment_source_refstring"00000000-0000-0000-0000-000000000000"
confirm_completebooleantrue

Example input

{
  "collection_reference": "example-collection-reference-not-a-real-token",
  "payment_source_ref": "00000000-0000-0000-0000-000000000000",
  "confirm_complete": true
}

Input schema

{
  "$id": "https://priv-platform.local/connectors/starbucks/payment-method-add-complete.input.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "collection_reference": {
      "maxLength": 200,
      "minLength": 30,
      "type": "string",
      "x-sensitive": true
    },
    "confirm_complete": {
      "const": true
    },
    "payment_source_ref": {
      "pattern": "^[0-9a-fA-F-]{36}$",
      "type": "string"
    }
  },
  "required": [
    "payment_source_ref",
    "collection_reference",
    "confirm_complete"
  ],
  "title": "Complete Starbucks card device data",
  "type": "object"
}