> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gr4vy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Complete a Paze session

> Complete a Paze checkout session and retrieve the secure payload required to settle the payment.

This endpoint requires the `digital-wallets.write` or `embed` scope.

Related guides


## OpenAPI

````yaml openapi.speakeasy.json POST /digital-wallets/paze/session/complete
openapi: 3.1.0
info:
  title: Gr4vy
  description: The Gr4vy API.
  version: 1.0.0
servers:
  - url: https://api.sandbox.{id}.gr4vy.app
    x-speakeasy-server-id: sandbox
    variables:
      id:
        default: example
        description: The subdomain for your Gr4vy instance.
  - url: https://api.{id}.gr4vy.app
    x-speakeasy-server-id: production
    variables:
      id:
        default: example
        description: The subdomain for your Gr4vy instance.
security:
  - bearerAuth: []
tags:
  - name: 3DS scenarios
    description: Manage and create 3DS scenarios in sandbox.
  - name: Account updater
    description: Schedule stored cards for an account update.
  - name: API key pairs
    description: Manage API key pairs.
  - name: Audit logs
    description: Query user activity.
  - name: Buyers
    description: Manage buyers.
  - name: Buyers - Gift cards
    description: Query gift cards for buyers.
  - name: Buyers - Payment methods
    description: Query payment methods for buyers.
  - name: Buyers - Shipping details
    description: Manage shipping details for buyers.
  - name: Card details
    description: Returns information about a card.
  - name: Card scheme definitions
    description: List definitions for card schemes.
  - name: Checkout sessions
    description: Manage checkout sessions.
  - name: Digital wallets - Sessions
    description: Create sessions for digital wallets like Apple Pay and Google Pay.
  - name: Digital wallets - Setup
    description: Manage digital wallets like Apple Pay and Google Pay.
  - name: Gift cards
    description: Manage stored gift cards.
  - name: Insights
    description: Retrieve Insights data.
  - name: Insights - Presets
    description: Manage presets for Insights.
  - name: Merchant accounts
    description: Manage merchant accounts in an instance.
  - name: Merchant accounts - 3DS configuration
    description: Manage 3DS profiles for merchant accounts.
  - name: Monitoring
    description: Manage monitoring and alerting.
  - name: Payment links
    description: Manage payment links.
  - name: Payment methods
    description: Manage stored payment methods.
  - name: Payment methods - Definitions
    description: Manage payment method definitions.
  - name: Payment methods - Network tokens
    description: Manage network tokens for stored payment methods.
  - name: Payment methods - Payment service tokens
    description: Manage payment service tokens for stored payment methods.
  - name: Payment options
    description: Fetch a list of payment options to display at checkout.
  - name: Payment service definitions
    description: Fetch info about the definition of each payment service.
  - name: Payment services
    description: Manage configured payment services.
  - name: Payouts
    description: Payout API.
  - name: Refunds
    description: Manage transaction refunds.
  - name: Reports
    description: Manage one-off and scheduled reports.
  - name: Reports - Executions
    description: Manage executions of reports.
  - name: Roles
    description: List the roles that can be assigned to users and API key pairs.
  - name: Transactions
    description: Manage transaction.
  - name: Transactions - Actions
    description: Read Flow actions triggered for a transaction.
  - name: Transactions - Captures
    description: Read transaction capture data.
  - name: Transactions - Chargebacks
    description: Read transaction chargeback data.
  - name: Transactions - Chargeback reversals
    description: Read transaction chargeback reversal data.
  - name: Transactions - Settlements
    description: Read transaction settlement data.
  - name: Transactions - Refund settlements
    description: Read transaction refund settlement data.
  - name: Transactions - Sessions
    description: Manage transaction session data.
  - name: Webhook subscriptions
    description: Manage webhook subscriptions.
paths:
  /digital-wallets/paze/session/complete:
    post:
      tags:
        - Digital wallets - Sessions
      summary: Complete a Paze session
      description: >-
        Complete a Paze checkout session and retrieve the secure payload
        required to settle the payment.
      operationId: complete_paze_mobile_session
      parameters:
        - name: x-gr4vy-merchant-account-id
          in: header
          required: false
          description: The ID of the merchant account to use for this request.
          x-speakeasy-name-override: merchant_account_id
          schema:
            type: string
            description: The ID of the merchant account to use for this request.
            examples:
              - default
            title: X-Gr4Vy-Merchant-Account-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PazeSessionCompleteRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PazeSessionComplete'
        '400':
          description: The request was invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error400'
        '401':
          description: The request was unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error401'
        '403':
          description: >-
            The credentials were invalid or the caller did not have permission
            to act on the resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error403'
        '404':
          description: The resource was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error404'
        '405':
          description: The request method was not allowed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error405'
        '409':
          description: A duplicate record was found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error409'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '425':
          description: The request was too early.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error425'
        '429':
          description: Too many requests were made.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error429'
        '500':
          description: The server encountered an error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error500'
        '502':
          description: The server encountered an error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error502'
        '504':
          description: The server encountered an error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error504'
      x-codeSamples:
        - lang: go
          label: Go
          source: "package main\n\nimport(\n\t\"context\"\n\t\"os\"\n\tgr4vygo \"github.com/gr4vy/gr4vy-go\"\n\t\"github.com/gr4vy/gr4vy-go/models/components\"\n\t\"log\"\n)\n\nfunc main() {\n    ctx := context.Background()\n\n    s := gr4vy.New(\n\t\tgr4vy.WithID(\"example\"),\n\t\tgr4vy.WithServer(gr4vy.ServerSandbox),\n\t\tgr4vy.WithSecuritySource(withToken),\n\t\tgr4vy.WithMerchantAccountID(\"default\"),\n\t)\n\n    res, err := s.DigitalWallets.Sessions.PazeMobileSessionComplete(ctx, components.PazeSessionCompleteRequest{\n        SessionID: \"7c1cba03-d20e-4a3f-9d77-e5dc23a39ac2\",\n        Code: \"eyJhdWQiOm51bGwsImtpZCI6IjE3...\",\n        AccessToken: \"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...\",\n        TransactionType: components.PazeSessionCompleteRequestTransactiontypePurchase,\n    }, nil)\n    if err != nil {\n        log.Fatal(err)\n    }\n    if res != nil {\n        // handle response\n    }\n}"
        - lang: javascript
          label: TypeScript
          source: |-
            import { Gr4vy, withToken } from "@gr4vy/sdk";
            import fs from "fs";

            const gr4vy = new Gr4vy({
                id: "example",
                server: "sandbox",
                merchantAccountId: "default",
                bearerAuth: withToken({
                  privateKey: fs.readFileSync("private_key.pem", "utf8"),
                }),
            });

            async function run() {
              const result = await gr4vy.digitalWallets.sessions.pazeMobileSessionComplete({
                sessionId: "7c1cba03-d20e-4a3f-9d77-e5dc23a39ac2",
                code: "eyJhdWQiOm51bGwsImtpZCI6IjE3...",
                accessToken: "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...",
                transactionType: "PURCHASE",
              });

              console.log(result);
            }

            run();
        - lang: java
          label: Java
          source: >-
            package hello.world;


            import com.gr4vy.sdk.Gr4vy;

            import com.gr4vy.sdk.models.components.PazeSessionCompleteRequest;

            import
            com.gr4vy.sdk.models.components.PazeSessionCompleteRequestTransactiontype;

            import com.gr4vy.sdk.models.errors.*;

            import
            com.gr4vy.sdk.models.operations.CompletePazeMobileSessionResponse;

            import java.lang.Exception;


            public class Application {

                public static void main(String[] args) throws Exception {

                    Gr4vy sdk = Gr4vy.builder()
                            .id("example")
                            .server(AvailableServers.SANDBOX)
                            .merchantAccountId("default")
                            .securitySource(new BearerSecuritySource.Builder(privateKey).build())
                        .build();

                    CompletePazeMobileSessionResponse res = sdk.digitalWallets().sessions().pazeMobileSessionComplete()
                            .pazeSessionCompleteRequest(PazeSessionCompleteRequest.builder()
                                .sessionId("7c1cba03-d20e-4a3f-9d77-e5dc23a39ac2")
                                .code("eyJhdWQiOm51bGwsImtpZCI6IjE3...")
                                .accessToken("eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...")
                                .transactionType(PazeSessionCompleteRequestTransactiontype.PURCHASE)
                                .build())
                            .call();

                    if (res.pazeSessionComplete().isPresent()) {
                        System.out.println(res.pazeSessionComplete().get());
                    }
                }
            }
        - lang: python
          label: Python
          source: |-
            from gr4vy import Gr4vy
            import os


            with Gr4vy(
                merchant_account_id="default",
                bearer_auth=os.getenv("GR4VY_BEARER_AUTH"),
            ) as g_client:

                res = g_client.digital_wallets.sessions.paze_mobile_session_complete(session_id="7c1cba03-d20e-4a3f-9d77-e5dc23a39ac2", code="eyJhdWQiOm51bGwsImtpZCI6IjE3...", access_token="eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...", transaction_type="PURCHASE")

                # Handle response
                print(res)
        - lang: csharp
          label: C#
          source: >-
            using Gr4vy;

            using Gr4vy.Models.Components;


            var sdk = new Gr4vySDK(
                id: "example",
                server: SDKConfig.Server.Sandbox,
                bearerAuthSource: Auth.WithToken(privateKey),
                merchantAccountId: "default"
            );


            var res = await
            sdk.DigitalWallets.Sessions.PazeMobileSessionCompleteAsync(pazeSessionCompleteRequest:
            new PazeSessionCompleteRequest() {
                SessionId = "7c1cba03-d20e-4a3f-9d77-e5dc23a39ac2",
                Code = "eyJhdWQiOm51bGwsImtpZCI6IjE3...",
                AccessToken = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...",
                TransactionType = PazeSessionCompleteRequestTransactiontype.Purchase,
            });


            // handle response
        - lang: php
          label: PHP
          source: >-
            declare(strict_types=1);


            require 'vendor/autoload.php';


            use Gr4vy;


            $sdk = Gr4vy\SDK::builder()
                ->setId('example')
                ->setServer('sandbox')
                ->setSecuritySource(Auth::withToken($privateKey))
                ->setMerchantAccountId('default')
                ->build();

            $pazeSessionCompleteRequest = new Gr4vy\PazeSessionCompleteRequest(
                sessionId: '7c1cba03-d20e-4a3f-9d77-e5dc23a39ac2',
                code: 'eyJhdWQiOm51bGwsImtpZCI6IjE3...',
                accessToken: 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...',
                transactionType: 'PURCHASE',
            );


            $response =
            $sdk->digitalWallets->sessions->pazeMobileSessionComplete(
                pazeSessionCompleteRequest: $pazeSessionCompleteRequest
            );


            if ($response->pazeSessionComplete !== null) {
                // handle response
            }
components:
  schemas:
    PazeSessionCompleteRequest:
      properties:
        sessionId:
          type: string
          maxLength: 255
          title: Sessionid
          description: >-
            Session reference identifier generated by the merchant. Must match
            the value sent in the Paze session create call.
          examples:
            - 7c1cba03-d20e-4a3f-9d77-e5dc23a39ac2
        code:
          type: string
          maxLength: 10240
          title: Code
          description: >-
            Opaque token issued by the Paze service in the response from the
            most recent Paze UX interaction.
          examples:
            - eyJhdWQiOm51bGwsImtpZCI6IjE3...
        accessToken:
          type: string
          title: Accesstoken
          description: >-
            The Paze OAuth access token returned by the Paze mobile session
            create call. Used to authenticate the request to Paze.
          examples:
            - eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...
        transactionType:
          type: string
          title: Transactiontype
          description: >-
            The type of transaction being completed. PURCHASE for a one-off
            checkout, CARD_ON_FILE to retain the card for future use, or BOTH.
          examples:
            - PURCHASE
        transactionOptions:
          anyOf:
            - $ref: '#/components/schemas/PazeTransactionOptions'
            - type: 'null'
          description: >-
            Client configuration data overriding values configured during
            merchant onboarding.
        transactionValue:
          anyOf:
            - $ref: '#/components/schemas/PazeTransactionValue'
            - type: 'null'
          description: >-
            Required when `transactionType` is PURCHASE or BOTH. Must be omitted
            when `transactionType` is CARD_ON_FILE.
        processingNetwork:
          anyOf:
            - type: string
            - type: 'null'
          title: Processingnetwork
          description: >-
            Card network to process the transaction on. If not provided, Paze
            defaults to the network on the front of the card.
          examples:
            - VISA
        enhancedTransactionData:
          anyOf:
            - $ref: '#/components/schemas/PazeEnhancedTransactionData'
            - type: 'null'
          description: Additional purchase context used by Paze for risk scoring.
      additionalProperties: false
      type: object
      required:
        - sessionId
        - code
        - accessToken
        - transactionType
      title: PazeSessionCompleteRequest
    PazeSessionComplete:
      properties:
        payloadId:
          type: string
          title: Payloadid
          description: >-
            Unique identifier generated by Paze to track and link the wallet
            transaction. Used as the wallet transaction identifier.
          examples:
            - 5C90F1500800f8dc1ce2-2b49-9d82-823e-111195cd4301
        completeResponse:
          anyOf:
            - type: string
            - type: 'null'
          title: Completeresponse
          description: Opaque token returned by Paze for the completion call.
          examples:
            - eyJhdWQiOm51bGwsImtpZCI6IjE3...
        securePayload:
          anyOf:
            - type: string
            - type: 'null'
          title: Securepayload
          description: >-
            Signed and encrypted payload containing the data necessary to
            process the payment. Returned when `payloadTypeIndicator` is
            PAYMENT.
          examples:
            - eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...
        clientContext:
          type: string
          title: Clientcontext
          description: >-
            Echo of the `clientContext` sent on the request. Returned by Paze
            for client-side tracing.
          examples:
            - 7c1cba03-d20e-4a3f-9d77-e5dc23a39ac2
        ewSID:
          type: string
          title: Ewsid
          description: Paze-issued session identifier returned for tracing.
          examples:
            - c4b5e9fa-9d35-4cf2-bfc2-2cb1b9f1f6ab
        timestampISO8601:
          type: string
          title: Timestampiso8601
          description: >-
            Server timestamp of the Paze response in ISO 8601 format. Returned
            for tracing.
          examples:
            - '2026-05-25T12:18:09Z'
      additionalProperties: false
      type: object
      required:
        - payloadId
        - completeResponse
        - securePayload
        - clientContext
        - ewSID
        - timestampISO8601
      title: PazeSessionComplete
    Error400:
      properties:
        type:
          type: string
          const: error
          title: Type
          description: Always `error`.
          default: error
          examples:
            - error
        code:
          type: string
          title: Code
          description: Always `bad_request`
          default: bad_request
          examples:
            - bad_request
        status:
          type: integer
          title: Status
          description: Always `400`.
          default: 400
          examples:
            - 400
        message:
          type: string
          title: Message
          description: A human readable message that provides more context to the error.
          default: Generic error
          examples:
            - Request failed validation
        details:
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type: array
          title: Details
          description: A list of details that further ellaborate on the error.
          default: []
      additionalProperties: false
      type: object
      title: Error400
    Error401:
      properties:
        type:
          type: string
          const: error
          title: Type
          description: Always `error`.
          default: error
          examples:
            - error
        code:
          type: string
          title: Code
          description: Always `unauthorized`
          default: unauthorized
          examples:
            - unauthorized
        status:
          type: integer
          title: Status
          description: Always `401`.
          default: 401
          examples:
            - 401
        message:
          type: string
          title: Message
          description: A human readable message that provides more context to the error.
          default: No valid API authentication found
          examples:
            - No valid API authentication found
        details:
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type: array
          title: Details
          description: A list of details that further ellaborate on the error.
          default: []
      additionalProperties: false
      type: object
      title: Error401
    Error403:
      properties:
        type:
          type: string
          const: error
          title: Type
          description: Always `error`.
          default: error
          examples:
            - error
        code:
          type: string
          title: Code
          description: Always `forbidden`
          default: forbidden
          examples:
            - forbidden
        status:
          type: integer
          title: Status
          description: Always `403`.
          default: 403
          examples:
            - 403
        message:
          type: string
          title: Message
          description: A human readable message that provides more context to the error.
          default: Generic error
          examples:
            - Request failed validation
        details:
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type: array
          title: Details
          description: A list of details that further ellaborate on the error.
          default: []
      additionalProperties: false
      type: object
      title: Error403
    Error404:
      properties:
        type:
          type: string
          const: error
          title: Type
          description: Always `error`.
          default: error
          examples:
            - error
        code:
          type: string
          title: Code
          description: Always `not_found`
          default: not_found
          examples:
            - not_found
        status:
          type: integer
          title: Status
          description: Always `404`.
          default: 404
          examples:
            - 404
        message:
          type: string
          title: Message
          description: A human readable message that provides more context to the error.
          default: The resource could not be found
          examples:
            - The resource could not be found
        details:
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type: array
          title: Details
          description: A list of details that further ellaborate on the error.
          default: []
      additionalProperties: false
      type: object
      title: Error404
    Error405:
      properties:
        type:
          type: string
          const: error
          title: Type
          description: Always `error`.
          default: error
          examples:
            - error
        code:
          type: string
          title: Code
          description: Always `method_not_allowed`
          default: method_not_allowed
          examples:
            - method_not_allowed
        status:
          type: integer
          title: Status
          description: Always `405`.
          default: 405
          examples:
            - 405
        message:
          type: string
          title: Message
          description: A human readable message that provides more context to the error.
          default: Method Not Allowed
          examples:
            - Method Not Allowed
        details:
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type: array
          title: Details
          description: A list of details that further ellaborate on the error.
          default: []
      additionalProperties: false
      type: object
      title: Error405
    Error409:
      properties:
        type:
          type: string
          const: error
          title: Type
          description: Always `error`.
          default: error
          examples:
            - error
        code:
          type: string
          title: Code
          description: Always `duplicate_record`
          default: duplicate_record
          examples:
            - duplicate_record
        status:
          type: integer
          title: Status
          description: Always `409`.
          default: 409
          examples:
            - 409
        message:
          type: string
          title: Message
          description: A human readable message that provides more context to the error.
          default: Generic error
          examples:
            - Request failed validation
        details:
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type: array
          title: Details
          description: A list of details that further ellaborate on the error.
          default: []
        resource_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Resource Id
          description: The ID of the conflicting resource.
          examples:
            - cdc70639-cb9c-4222-a73f-b8ce39f7821b
      additionalProperties: false
      type: object
      title: Error409
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    Error425:
      properties:
        type:
          type: string
          const: error
          title: Type
          description: Always `error`.
          default: error
          examples:
            - error
        code:
          type: string
          title: Code
          description: Always `too_early`
          default: too_early
          examples:
            - too_early
        status:
          type: integer
          title: Status
          description: Always `425`.
          default: 425
          examples:
            - 425
        message:
          type: string
          title: Message
          description: A human readable message that provides more context to the error.
          default: Generic error
          examples:
            - Request failed validation
        details:
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type: array
          title: Details
          description: A list of details that further ellaborate on the error.
          default: []
      additionalProperties: false
      type: object
      title: Error425
    Error429:
      properties:
        type:
          type: string
          const: error
          title: Type
          description: Always `error`.
          default: error
          examples:
            - error
        code:
          type: string
          title: Code
          description: Always `too_many_requests`
          default: too_many_requests
          examples:
            - too_many_requests
        status:
          type: integer
          title: Status
          description: Always `429`.
          default: 429
          examples:
            - 429
        message:
          type: string
          title: Message
          description: A human readable message that provides more context to the error.
          default: Generic error
          examples:
            - Request failed validation
        details:
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type: array
          title: Details
          description: A list of details that further ellaborate on the error.
          default: []
      additionalProperties: false
      type: object
      title: Error429
    Error500:
      properties:
        type:
          type: string
          const: error
          title: Type
          description: Always `error`.
          default: error
          examples:
            - error
        code:
          type: string
          title: Code
          description: Always `server_error`
          default: server_error
          examples:
            - server_error
        status:
          type: integer
          title: Status
          description: Always `500`.
          default: 500
          examples:
            - 500
        message:
          type: string
          title: Message
          description: A human readable message that provides more context to the error.
          default: Request could not be processed
          examples:
            - Request could not be processed
        details:
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type: array
          title: Details
          description: A list of details that further ellaborate on the error.
          default: []
      additionalProperties: false
      type: object
      title: Error500
    Error502:
      properties:
        type:
          type: string
          const: error
          title: Type
          description: Always `error`.
          default: error
          examples:
            - error
        code:
          type: string
          title: Code
          description: Always `bad_gateway`
          default: bad_gateway
          examples:
            - bad_gateway
        status:
          type: integer
          title: Status
          description: Always `502`.
          default: 502
          examples:
            - 502
        message:
          type: string
          title: Message
          description: A human readable message that provides more context to the error.
          default: Request could not be processed
          examples:
            - Request could not be processed
        details:
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type: array
          title: Details
          description: A list of details that further ellaborate on the error.
          default: []
      additionalProperties: false
      type: object
      title: Error502
    Error504:
      properties:
        type:
          type: string
          const: error
          title: Type
          description: Always `error`.
          default: error
          examples:
            - error
        code:
          type: string
          title: Code
          description: Always `gateway_timeout`
          default: gateway_timeout
          examples:
            - gateway_timeout
        status:
          type: integer
          title: Status
          default: 504
        message:
          type: string
          title: Message
          description: A human readable message that provides more context to the error.
          default: Request could not be processed
          examples:
            - Request could not be processed
        details:
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type: array
          title: Details
          description: A list of details that further ellaborate on the error.
          default: []
      additionalProperties: false
      type: object
      title: Error504
    PazeTransactionOptions:
      properties:
        merchantCategoryCode:
          anyOf:
            - type: string
            - type: 'null'
          title: Merchantcategorycode
          description: Merchant Category Code (MCC) of the merchant.
          examples:
            - '2121'
        billingPreference:
          anyOf:
            - type: string
            - type: 'null'
          title: Billingpreference
          description: Verbosity of the billing address required by the merchant.
          examples:
            - ALL
        payloadTypeIndicator:
          anyOf:
            - type: string
            - type: 'null'
          title: Payloadtypeindicator
          description: >-
            ID returns `payloadId` only (default). PAYMENT returns `payloadId`
            and `securePayload`.
          examples:
            - PAYMENT
      additionalProperties: false
      type: object
      title: PazeTransactionOptions
    PazeTransactionValue:
      properties:
        transactionCurrency:
          type: string
          title: Transactioncurrency
          description: ISO 4217 currency code of the transaction.
          examples:
            - USD
        transactionAmount:
          type: string
          title: Transactionamount
          description: Amount of the transaction including dollar and cents, e.g. '99.95'.
          examples:
            - '5.39'
      additionalProperties: false
      type: object
      required:
        - transactionCurrency
        - transactionAmount
      title: PazeTransactionValue
    PazeEnhancedTransactionData:
      properties:
        ecomData:
          anyOf:
            - $ref: '#/components/schemas/PazeEcomData'
            - type: 'null'
          description: Details pertaining to electronic commerce purchases.
        travelData:
          anyOf:
            - $ref: '#/components/schemas/PazeTravelData'
            - type: 'null'
          description: Details pertaining to travel bookings.
      additionalProperties: false
      type: object
      title: PazeEnhancedTransactionData
    ErrorDetail:
      properties:
        location:
          $ref: '#/components/schemas/ErrorLocation'
          description: >-
            The part of the request where the property can be found that caused
            the error.
          examples:
            - body
        pointer:
          anyOf:
            - type: string
              format: json-pointer
            - type: string
          title: Pointer
          description: A JSON pointer for the particular property that caused the error.
          examples:
            - /currency
        message:
          type: string
          title: Message
          description: A human-readdable explanation of the error.
          examples:
            - 'Unknown ISO 4217 currency code: USX'
        type:
          type: string
          title: Type
          description: The type of error that was raised for this property.
          examples:
            - value_error
      additionalProperties: false
      type: object
      required:
        - location
        - pointer
        - message
        - type
      title: ErrorDetail
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    PazeEcomData:
      properties:
        cartContainsGiftCard:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Cartcontainsgiftcard
          description: Whether the current transaction includes a gift card purchase.
          examples:
            - false
        orderForPickup:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Orderforpickup
          description: Whether the consumer order will be picked up rather than shipped.
          examples:
            - false
        orderHighestCost:
          anyOf:
            - type: string
              maxLength: 32
            - type: 'null'
          title: Orderhighestcost
          description: Dollar value of the most expensive item ordered.
          examples:
            - '99.99'
        orderQuantity:
          anyOf:
            - type: string
              maxLength: 32
            - type: 'null'
          title: Orderquantity
          description: Number of items ordered.
          examples:
            - '3'
        finalShippingAddress:
          anyOf:
            - $ref: '#/components/schemas/PazeShippingAddress'
            - type: 'null'
          description: >-
            The selected shipping address. Returned only when
            `shippingPreference` is not `NONE`.
      additionalProperties: false
      type: object
      title: PazeEcomData
    PazeTravelData:
      properties:
        passengerName:
          anyOf:
            - type: string
              maxLength: 100
              minLength: 1
            - type: 'null'
          title: Passengername
          description: Traveler name.
          examples:
            - Team Integrations
        roundTrip:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Roundtrip
          description: >-
            Whether departure and return trips are being purchased in the same
            transaction.
          examples:
            - true
        departureDate:
          anyOf:
            - type: string
              maxLength: 20
            - type: 'null'
          title: Departuredate
          description: Date and time of departure in ISO 8601 format.
          examples:
            - '2026-06-01T08:00:00Z'
        returnDate:
          anyOf:
            - type: string
              maxLength: 20
            - type: 'null'
          title: Returndate
          description: Date and time of return in ISO 8601 format.
          examples:
            - '2026-06-08T18:30:00Z'
        departureLocation:
          anyOf:
            - $ref: '#/components/schemas/PazeLocationAddress'
            - type: 'null'
          description: Location from which the traveler departs.
        returnLocation:
          anyOf:
            - $ref: '#/components/schemas/PazeLocationAddress'
            - type: 'null'
          description: Location to which the traveler returns.
      additionalProperties: false
      type: object
      title: PazeTravelData
    ErrorLocation:
      type: string
      title: ErrorLocation
    PazeShippingAddress:
      properties:
        line1:
          type: string
          title: Line1
          description: Line 1 of the address.
          examples:
            - 51551 Raynor Stream
        line2:
          anyOf:
            - type: string
            - type: 'null'
          title: Line2
          description: Line 2 of the address.
        line3:
          anyOf:
            - type: string
            - type: 'null'
          title: Line3
          description: Line 3 of the address.
        city:
          type: string
          title: City
          description: City.
          examples:
            - East Kory
        state:
          type: string
          title: State
          description: State or region.
          examples:
            - ND
        zip:
          type: string
          title: Zip
          description: Postal code.
          examples:
            - '67137'
        countryCode:
          type: string
          title: Countrycode
          description: ISO 3166-1 alpha-2 country code.
          examples:
            - US
        deliveryContactDetails:
          anyOf:
            - $ref: '#/components/schemas/PazeDeliveryContactDetails'
            - type: 'null'
      additionalProperties: false
      type: object
      required:
        - line1
        - city
        - state
        - zip
        - countryCode
        - deliveryContactDetails
      title: PazeShippingAddress
    PazeLocationAddress:
      properties:
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
          description: Name of the organization or entity at the address.
        line1:
          type: string
          title: Line1
          description: Line 1 of the address.
        line2:
          anyOf:
            - type: string
            - type: 'null'
          title: Line2
          description: Line 2 of the address.
        line3:
          anyOf:
            - type: string
            - type: 'null'
          title: Line3
          description: Line 3 of the address.
        city:
          type: string
          title: City
          description: City.
        state:
          type: string
          title: State
          description: State or region.
        zip:
          type: string
          title: Zip
          description: Postal code.
        countryCode:
          type: string
          title: Countrycode
          description: ISO 3166-1 alpha-2 country code.
      additionalProperties: false
      type: object
      required:
        - line1
        - city
        - state
        - zip
        - countryCode
      title: PazeLocationAddress
    PazeDeliveryContactDetails:
      properties:
        contactFullName:
          anyOf:
            - type: string
            - type: 'null'
          title: Contactfullname
          description: Consumer-provided name of the contact person.
          examples:
            - Team Integrations
        contactPhoneNumber:
          anyOf:
            - $ref: '#/components/schemas/PazeMobileNumber'
            - type: 'null'
      additionalProperties: false
      type: object
      required:
        - contactFullName
        - contactPhoneNumber
      title: PazeDeliveryContactDetails
    PazeMobileNumber:
      properties:
        countryCode:
          type: string
          title: Countrycode
          description: ITU country dialing code.
          examples:
            - '1'
        phoneNumber:
          type: string
          title: Phonenumber
          description: Phone number without country code.
          examples:
            - '3213213211'
      additionalProperties: false
      type: object
      required:
        - countryCode
        - phoneNumber
      title: PazeMobileNumber
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.