Skip to content

Missing endpoints: OAuth authorization, merchant profile, and Apple Pay session #69

@fbognini

Description

@fbognini

Description

The SDK is missing support for endpoints:

Method Endpoint Description
POST /token OAuth 2.0 token exchange (obtain/refresh access tokens)
GET /v0.1/me Retrieve merchant profile (merchant code, account status)
PUT /v0.1/checkouts/{checkoutId}/apple-pay-session Create an Apple Pay session for a checkout

Use cases

  • /token: Required for the full OAuth 2.0 authorization code flow to obtain access tokens on behalf of merchants.
  • /v0.1/me: Needed to validate API credentials and retrieve the merchant_code required by other API calls (e.g. creating checkouts).
  • /v0.1/checkouts/{id}/apple-pay-session: Required to support Apple Pay payments through SumUp checkouts.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions