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

# Post Google Pay Transaction

> Post a Google Pay transaction to the PSP.



## OpenAPI

````yaml /mintlify-docs/openapi/spec-psp-wallet.yaml post /google-pay/v1/{account_id}/payments/{payment_id}/transactions
openapi: 3.0.0
info:
  title: PSP Wallet API
  contact:
    name: API Integration Support
    email: integration@dintero.com
  version: LATEST
  license:
    name: UNLICENSED
    url: https://dintero.com
  x-logo:
    url: https://docs.dintero.com/img/dintero-dark-padded.svg
    altText: Dintero Logo
  description: >
    # Changelog


    All notable changes to the API.


    ## 2025-11-25


    > Add API spec for PSP API


    > - [POST
    /apple-pay/v1/{account_id}/payments/{payment_id}/transactions](#operation/applePayPost_Apple_Pay_Transaction)


    ## 2025-09-10


    > Add API spec for PSP API


    > - [POST
    /google-pay/v1/{account_id}/payments/{payment_id}/transactions](/psp-api/google-pay/googlePayPost_Google_Pay_Transaction)
servers:
  - url: https://payments.psp-test.dintero.com
    description: test server
  - url: https://payments.psp.dintero.com
    description: production server
security: []
paths:
  /google-pay/v1/{account_id}/payments/{payment_id}/transactions:
    post:
      tags:
        - Google Pay
      summary: googlePayPost_Google_Pay_Transaction
      description: Post a Google Pay transaction to the PSP.
      operationId: googlePayPost_Google_Pay_Transaction
      parameters:
        - $ref: '#/components/parameters/AccountIdParam'
        - $ref: '#/components/parameters/PaymentIdParam'
        - $ref: '#/components/parameters/AccessTokenAuth'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
                - reference
                - payment_data
              additionalProperties: false
              properties:
                reference:
                  type: string
                  example: 01249a0e-18d9-4b8e-8834-2319b3f32bb5
                  description: Unique reference for this transaction
                  minLength: 8
                  maxLength: 40
                payment_data:
                  type: string
                  description: >-
                    Should be a JSON stringified version of the PaymentData
                    response from Google Pay API, see
                    https://developers.google.com/pay/api/web/reference/response-objects#PaymentData
      responses:
        '200':
          description: Created transaction and auth instructions.
          content:
            application/json:
              schema:
                type: object
                required:
                  - auth_method
                  - operations
                  - payment_id
                  - transaction_id
                additionalProperties: false
                properties:
                  payment_id:
                    type: string
                  transaction_id:
                    type: string
                  auth_method:
                    type: object
                    description: >-
                      Authentication instructions. If the Google Pay transaction
                      was not verified, 3D-Secure authentication might be
                      required.
                    required:
                      - type
                      - payment_id
                      - transaction_id
                    additionalProperties: false
                    properties:
                      type:
                        type: string
                        enum:
                          - SECURE_3D_AUTHENTICATION
                          - MASTERCARD_TAF
                          - NONE
                      payment_id:
                        type: string
                      transaction_id:
                        type: string
                  operations:
                    type: array
                    items:
                      type: object
                      properties:
                        href:
                          type: string
                        method:
                          type: string
                          enum:
                            - POST
                        content_type:
                          type: string
                          enum:
                            - application/json
                        rel:
                          type: string
                          enum:
                            - 3d-secure-init-hosted
                            - 3d-secure-init
                            - 3d-secure-method-complete
                            - 3d-secure-challenge-complete
                            - 3d-secure-notification
                            - mastercard-taf-init-params
                            - mastercard-taf-challenge-complete
                            - authorization
        '400':
          $ref: '#/components/responses/BadRequest'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/ServerError'
components:
  parameters:
    AccountIdParam:
      name: account_id
      in: path
      required: true
      schema:
        type: string
        description: The Dintero merchant account id
        example: P12345678
        pattern: ^[PT]\d{8}
    PaymentIdParam:
      name: payment_id
      in: path
      required: true
      schema:
        type: string
    AccessTokenAuth:
      name: authorization
      in: header
      required: true
      schema:
        type: string
        description: Access token you received when creating the payment
  responses:
    BadRequest:
      description: Bad Request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: Forbidden
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: Not Found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ServerError:
      description: Internal Server Error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      description: An error occurred
      required:
        - error
      additionalProperties: false
      properties:
        error:
          type: string

````