Authentication
A personal credential is supplied in body: guest-payment-access.
Connection guideParameters
originHeader · RequiredActual origin of the current payment access transport audience.
stringFull definition
{ "type": "string", "maxLength": 2048, "example": "example" }
Request body
Required
Access credential, caller-saved random handoff and digest of the already saved receiver capability.
application/json
Full definition
{
"$ref": "#/components/schemas/IssueGuestPaymentHandoffDto"
}Responses
200Private no-store acknowledgement of the exact bound handoff. A repeat never extends its deadline or changes its receiver.
Full definition
{
"$ref": "#/components/schemas/GuestPaymentHandoffReceiptDto"
}{
"accessId": "b93bc84d-84db-4161-840b-c3c7a7875b1d",
"handoff": "gph1_AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"expiresAt": "2026-12-31T18:00:00.000Z",
"destinationOrigin": "https://example.test/resource"
}400A credential or recipient digest has an invalid representation.
Full definition
{
"$ref": "#/components/schemas/TranslatedErrorDto"
}{
"statusCode": 400,
"error": "errors:http.badRequest",
"code": "HTTP_BAD_REQUEST",
"message": "errors:http.badRequest",
"translationKey": "errors:http.badRequest"
}404Current private access, origin or native payment-purpose eligibility is unavailable.
Full definition
{
"$ref": "#/components/schemas/TranslatedErrorDto"
}{
"statusCode": 404,
"error": "errors:http.notFound",
"code": "HTTP_NOT_FOUND",
"message": "errors:http.notFound",
"translationKey": "errors:http.notFound"
}409The underlying native source changed during lock acquisition.
Full definition
{
"$ref": "#/components/schemas/TranslatedErrorDto"
}{
"statusCode": 409,
"error": "errors:http.conflict",
"code": "HTTP_CONFLICT",
"message": "errors:http.conflict",
"translationKey": "errors:http.conflict"
}Schemas
IssueGuestPaymentHandoffDto
Private access capability and receiver-bound one-use handoff proposal. Save the random handoff before submission so a lost response can repeat the same proposal.
accessIdRequiredNoncredential payment access UUID issued for the native source.
string · uuidFull definition
{ "type": "string", "format": "uuid", "description": "Noncredential payment access UUID issued for the native source.", "example": "b93bc84d-84db-4161-840b-c3c7a7875b1d" }capabilityRequiredCurrent private payment-access capability, presented only in this body.
stringFull definition
{ "type": "string", "minLength": 48, "maxLength": 48, "pattern": "^gpa1_[A-Za-z0-9_-]{43}$", "example": "gpa1_AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "writeOnly": true, "description": "Current private payment-access capability, presented only in this body." }handoffRequiredClient-generated 32-byte canonical base64url handoff with the gph1_ prefix. Generate with cryptographic randomness and save privately before this call.
stringFull definition
{ "type": "string", "minLength": 48, "maxLength": 48, "pattern": "^gph1_[A-Za-z0-9_-]{43}$", "example": "gph1_AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "writeOnly": true, "description": "Client-generated 32-byte canonical base64url handoff with the gph1_ prefix. Generate with cryptographic randomness and save privately before this call." }recipientCapabilityHashRequiredSHA-256 hex digest of the complete fresh gpa1_ capability already chosen and privately saved by the receiving checkout context. The raw receiver capability is not sent to the opener.
stringFull definition
{ "type": "string", "minLength": 64, "maxLength": 64, "pattern": "^[a-f0-9]{64}$", "writeOnly": true, "description": "SHA-256 hex digest of the complete fresh gpa1_ capability already chosen and privately saved by the receiving checkout context. The raw receiver capability is not sent to the opener.", "example": "deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef" }
Full definition
{
"type": "object",
"properties": {
"accessId": {
"type": "string",
"format": "uuid",
"description": "Noncredential payment access UUID issued for the native source.",
"example": "b93bc84d-84db-4161-840b-c3c7a7875b1d"
},
"capability": {
"type": "string",
"minLength": 48,
"maxLength": 48,
"pattern": "^gpa1_[A-Za-z0-9_-]{43}$",
"example": "gpa1_AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"writeOnly": true,
"description": "Current private payment-access capability, presented only in this body."
},
"handoff": {
"type": "string",
"minLength": 48,
"maxLength": 48,
"pattern": "^gph1_[A-Za-z0-9_-]{43}$",
"example": "gph1_AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"writeOnly": true,
"description": "Client-generated 32-byte canonical base64url handoff with the gph1_ prefix. Generate with cryptographic randomness and save privately before this call."
},
"recipientCapabilityHash": {
"type": "string",
"minLength": 64,
"maxLength": 64,
"pattern": "^[a-f0-9]{64}$",
"writeOnly": true,
"description": "SHA-256 hex digest of the complete fresh gpa1_ capability already chosen and privately saved by the receiving checkout context. The raw receiver capability is not sent to the opener.",
"example": "deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef"
}
},
"description": "Private access capability and receiver-bound one-use handoff proposal. Save the random handoff before submission so a lost response can repeat the same proposal.",
"required": [
"accessId",
"capability",
"handoff",
"recipientCapabilityHash"
],
"example": {
"accessId": "b93bc84d-84db-4161-840b-c3c7a7875b1d",
"capability": "gpa1_AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"handoff": "gph1_AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"recipientCapabilityHash": "deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef"
}
}GuestPaymentHandoffReceiptDto
Private one-use handoff acknowledgement bound to one receiving capability digest and the configured top-level checkout origin.
accessIdRequiredNoncredential access context UUID used to match the receiver and handshake.
string · uuidFull definition
{ "type": "string", "format": "uuid", "description": "Noncredential access context UUID used to match the receiver and handshake.", "example": "b93bc84d-84db-4161-840b-c3c7a7875b1d" }handoffRequiredThe exact caller-saved private handoff. Transfer only to the validated checkout receiver or a private POST-body bridge.
stringFull definition
{ "type": "string", "minLength": 48, "maxLength": 48, "pattern": "^gph1_[A-Za-z0-9_-]{43}$", "example": "gph1_AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "description": "The exact caller-saved private handoff. Transfer only to the validated checkout receiver or a private POST-body bridge." }expiresAtRequiredInitial redemption deadline, at most sixty seconds and within the access/native deadlines. Successful repeats recover the same redeemed audience without extending access.
string · date-timeFull definition
{ "type": "string", "format": "date-time", "description": "Initial redemption deadline, at most sixty seconds and within the access/native deadlines. Successful repeats recover the same redeemed audience without extending access.", "example": "2026-12-31T18:00:00.000Z" }destinationOriginRequiredConfigured trusted checkout origin. postMessage must use this exact targetOrigin with the expected window and access context; never use a wildcard or transfer to a parent frame.
string · uriFull definition
{ "type": "string", "format": "uri", "description": "Configured trusted checkout origin. postMessage must use this exact targetOrigin with the expected window and access context; never use a wildcard or transfer to a parent frame.", "example": "https://example.test/resource" }
Full definition
{
"type": "object",
"properties": {
"accessId": {
"type": "string",
"format": "uuid",
"description": "Noncredential access context UUID used to match the receiver and handshake.",
"example": "b93bc84d-84db-4161-840b-c3c7a7875b1d"
},
"handoff": {
"type": "string",
"minLength": 48,
"maxLength": 48,
"pattern": "^gph1_[A-Za-z0-9_-]{43}$",
"example": "gph1_AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"description": "The exact caller-saved private handoff. Transfer only to the validated checkout receiver or a private POST-body bridge."
},
"expiresAt": {
"type": "string",
"format": "date-time",
"description": "Initial redemption deadline, at most sixty seconds and within the access/native deadlines. Successful repeats recover the same redeemed audience without extending access.",
"example": "2026-12-31T18:00:00.000Z"
},
"destinationOrigin": {
"type": "string",
"format": "uri",
"description": "Configured trusted checkout origin. postMessage must use this exact targetOrigin with the expected window and access context; never use a wildcard or transfer to a parent frame.",
"example": "https://example.test/resource"
}
},
"description": "Private one-use handoff acknowledgement bound to one receiving capability digest and the configured top-level checkout origin.",
"required": [
"accessId",
"handoff",
"expiresAt",
"destinationOrigin"
],
"example": {
"accessId": "b93bc84d-84db-4161-840b-c3c7a7875b1d",
"handoff": "gph1_AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"expiresAt": "2026-12-31T18:00:00.000Z",
"destinationOrigin": "https://example.test/resource"
}
}TranslatedErrorDto
Stable error envelope emitted by the global HTTP exception boundary. Domain-specific machine data, when present, is nested under details.
statusCodeRequiredHTTP status code repeated from the response.
integerFull definition
{ "type": "integer", "description": "HTTP status code repeated from the response.", "example": 400 }errorRequiredTranslation key for the HTTP category, such as errors:http.conflict. The specific cause is identified by code and translationKey.
stringFull definition
{ "type": "string", "description": "Translation key for the HTTP category, such as errors:http.conflict. The specific cause is identified by code and translationKey.", "example": "errors.request.invalid" }codeRequiredStable machine-readable domain code, or an HTTP_* fallback when no domain code is provided. Branch on this field and the HTTP status; localized wording never controls retries or business decisions.
stringFull definition
{ "type": "string", "example": "HTTP_BAD_REQUEST", "description": "Stable machine-readable domain code, or an HTTP_* fallback when no domain code is provided. Branch on this field and the HTTP status; localized wording never controls retries or business decisions." }messageRequiredTranslation key, identical to translationKey. The API does not return localized display text. Resolve the key and translationValues in the consuming application.
stringFull definition
{ "type": "string", "example": "errors:http.badRequest", "description": "Translation key, identical to translationKey. The API does not return localized display text. Resolve the key and translationValues in the consuming application." }translationKeyRequiredCanonical translation key, identical to message. Status-specific errors:http.* keys cover unspecified failures. Public keys and EN/RU explanations are listed in Developers; unknown keys require a localized client fallback.
stringFull definition
{ "type": "string", "example": "errors:http.badRequest", "description": "Canonical translation key, identical to message. Status-specific errors:http.* keys cover unspecified failures. Public keys and EN/RU explanations are listed in Developers; unknown keys require a localized client fallback." }translationValuesOptionalOptional scalar values for placeholders in the translation. Treat values as data, escape them when rendering, and never use them as translation options.
objectFull definition
{ "type": "object", "additionalProperties": { "oneOf": [ { "type": "string", "example": "example" }, { "type": "number", "example": 0 }, { "type": "boolean", "example": true } ], "example": "example" }, "description": "Optional scalar values for placeholders in the translation. Treat values as data, escape them when rendering, and never use them as translation options.", "example": { "exampleKey": "example" } }validationErrorsOptionalField validation failures with translation keys and stable validator codes. Submitted values and raw validator text are not included.
arrayFull definition
{ "description": "Field validation failures with translation keys and stable validator codes. Submitted values and raw validator text are not included.", "type": "array", "items": { "$ref": "#/components/schemas/ValidationErrorDto" }, "example": [ { "field": "email", "translationKey": "validation:isEmail", "code": "isEmail", "message": "validation:isEmail" } ] }detailsOptionalOptional domain-specific blocker or validation details
oneOfFull definition
{ "description": "Optional domain-specific blocker or validation details", "oneOf": [ { "type": "array", "items": { "$ref": "#/components/schemas/JsonValue" }, "example": [ "example" ] }, { "type": "object", "additionalProperties": { "$ref": "#/components/schemas/JsonValue" }, "example": { "exampleKey": "example" } } ], "example": [ "example" ] }
Full definition
{
"type": "object",
"properties": {
"statusCode": {
"type": "integer",
"description": "HTTP status code repeated from the response.",
"example": 400
},
"error": {
"type": "string",
"description": "Translation key for the HTTP category, such as errors:http.conflict. The specific cause is identified by code and translationKey.",
"example": "errors.request.invalid"
},
"code": {
"type": "string",
"example": "HTTP_BAD_REQUEST",
"description": "Stable machine-readable domain code, or an HTTP_* fallback when no domain code is provided. Branch on this field and the HTTP status; localized wording never controls retries or business decisions."
},
"message": {
"type": "string",
"example": "errors:http.badRequest",
"description": "Translation key, identical to translationKey. The API does not return localized display text. Resolve the key and translationValues in the consuming application."
},
"translationKey": {
"type": "string",
"example": "errors:http.badRequest",
"description": "Canonical translation key, identical to message. Status-specific errors:http.* keys cover unspecified failures. Public keys and EN/RU explanations are listed in Developers; unknown keys require a localized client fallback."
},
"translationValues": {
"type": "object",
"additionalProperties": {
"oneOf": [
{
"type": "string",
"example": "example"
},
{
"type": "number",
"example": 0
},
{
"type": "boolean",
"example": true
}
],
"example": "example"
},
"description": "Optional scalar values for placeholders in the translation. Treat values as data, escape them when rendering, and never use them as translation options.",
"example": {
"exampleKey": "example"
}
},
"validationErrors": {
"description": "Field validation failures with translation keys and stable validator codes. Submitted values and raw validator text are not included.",
"type": "array",
"items": {
"$ref": "#/components/schemas/ValidationErrorDto"
},
"example": [
{
"field": "email",
"translationKey": "validation:isEmail",
"code": "isEmail",
"message": "validation:isEmail"
}
]
},
"details": {
"description": "Optional domain-specific blocker or validation details",
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/components/schemas/JsonValue"
},
"example": [
"example"
]
},
{
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/JsonValue"
},
"example": {
"exampleKey": "example"
}
}
],
"example": [
"example"
]
}
},
"required": [
"statusCode",
"error",
"code",
"message",
"translationKey"
],
"description": "Stable error envelope emitted by the global HTTP exception boundary. Domain-specific machine data, when present, is nested under details.",
"example": {
"statusCode": 400,
"error": "errors:http.badRequest",
"code": "HTTP_BAD_REQUEST",
"message": "errors:http.badRequest",
"translationKey": "errors:http.badRequest"
}
}ValidationErrorDto
Field validation failure with a field path, stable validator code and a translation key. Human-readable text belongs to the consuming application.
fieldRequiredPublic field path. Nested properties and array indices are separated by dots.
stringFull definition
{ "type": "string", "example": "email", "description": "Public field path. Nested properties and array indices are separated by dots." }translationKeyRequiredTranslation key for this validator, identical to message. Resolve it using a client dictionary; see the public Developers error catalog.
stringFull definition
{ "type": "string", "example": "validation:isEmail", "description": "Translation key for this validator, identical to message. Resolve it using a client dictionary; see the public Developers error catalog." }codeRequiredStable validator identifier for this field failure. Custom validators may define additional identifiers.
stringFull definition
{ "type": "string", "example": "isEmail", "description": "Stable validator identifier for this field failure. Custom validators may define additional identifiers." }messageRequiredTranslation key describing this field validation failure, identical to translationKey. Submitted values and validator prose are not included.
stringFull definition
{ "type": "string", "example": "validation:isEmail", "description": "Translation key describing this field validation failure, identical to translationKey. Submitted values and validator prose are not included." }translationValuesOptionalOptional scalar values for placeholders in the translation. Treat values as data, escape them when rendering, and never use them as translation options.
objectFull definition
{ "type": "object", "additionalProperties": { "oneOf": [ { "type": "string", "example": "example" }, { "type": "number", "example": 0 }, { "type": "boolean", "example": true } ], "example": "example" }, "description": "Optional scalar values for placeholders in the translation. Treat values as data, escape them when rendering, and never use them as translation options.", "example": { "exampleKey": "example" } }
Full definition
{
"type": "object",
"properties": {
"field": {
"type": "string",
"example": "email",
"description": "Public field path. Nested properties and array indices are separated by dots."
},
"translationKey": {
"type": "string",
"example": "validation:isEmail",
"description": "Translation key for this validator, identical to message. Resolve it using a client dictionary; see the public Developers error catalog."
},
"code": {
"type": "string",
"example": "isEmail",
"description": "Stable validator identifier for this field failure. Custom validators may define additional identifiers."
},
"message": {
"type": "string",
"example": "validation:isEmail",
"description": "Translation key describing this field validation failure, identical to translationKey. Submitted values and validator prose are not included."
},
"translationValues": {
"type": "object",
"additionalProperties": {
"oneOf": [
{
"type": "string",
"example": "example"
},
{
"type": "number",
"example": 0
},
{
"type": "boolean",
"example": true
}
],
"example": "example"
},
"description": "Optional scalar values for placeholders in the translation. Treat values as data, escape them when rendering, and never use them as translation options.",
"example": {
"exampleKey": "example"
}
}
},
"required": [
"field",
"translationKey",
"code",
"message"
],
"description": "Field validation failure with a field path, stable validator code and a translation key. Human-readable text belongs to the consuming application.",
"example": {
"field": "email",
"translationKey": "validation:isEmail",
"code": "isEmail",
"message": "validation:isEmail"
}
}JsonValue
Recursively JSON-safe value used only where the owning contract intentionally allows free-form structured data.
Full definition
{
"oneOf": [
{
"type": "string",
"nullable": true,
"example": "example"
},
{
"type": "number",
"example": 0
},
{
"type": "boolean",
"example": true
},
{
"type": "array",
"items": {
"$ref": "#/components/schemas/JsonValue"
},
"example": [
"example"
]
},
{
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/JsonValue"
},
"example": {
"exampleKey": "example"
}
}
],
"description": "Recursively JSON-safe value used only where the owning contract intentionally allows free-form structured data.",
"example": "example"
}