01.software Docs

Find local PortOne payment state by canonical identity

Use the SDK for application integration. This read-only reference covers Commerce, Customer Auth, Membership and Events.

All HTTP operations
POST
/api/payment-sessions/server/portone/find

Server-only, local, read-only lookup by provider, provider account key, environment, and provider payment ID. It never calls PortOne and derives tenant scope only from the server credential.

Authorization

publishableKeyserverSecretKey
headerX-Publishable-Key<token>

Tenant publishable key for authentication (sent via X-Publishable-Key header)

headerAuthorizationBearer <token>

Public integration credential: opaque sk01_ secret API key only; PAT and Customer JWT are not supported by this scheme. Requires tenant binding and the read or write scope named by the operation.

Request Body

application/json
  1. body
provider*"portone"
Value in"portone"
providerAccountKey*string
Match\S
Length1 <= length <= 512
environment*string
Value in"test""live"
providerPaymentId*string
Match\S
Length1 <= length <= 512

Response Body

Find local PortOne payment state by canonical identity result

application/json
  1. response
found*false
Value infalse

Examples may be generated from schemas; they are illustrative, not recorded successful API calls. Example snippets may omit required authentication headers.

Example Request
curl -X POST 'https://api.01.software/api/payment-sessions/server/portone/find' \  -H 'Content-Type: application/json' \  -d '{  "provider": "portone",  "providerAccountKey": "string",  "environment": "test",  "providerPaymentId": "string"}'
Example Response
{  "found": false}