Get Google Pay Configuration

Retrieves Google Pay configuration details required to initialize Google Pay in your application.

Headers
  • x-applicationSource
    Type: string
    required

    A custom HTTP header that accepts a free-form string value. It is used to identify the application making the API request. For example, if Punchh invokes the API, the value could be "punchh".

  • X-LocationId
    Type: string
    required

    The unique location identifier for the store or business location processing the transaction.

  • Content-Type
    Type: string
    required

    The media type of the request body. Must be set to application/json.

  • Authorization
    Type: string
    required

    Bearer token for API authorization. Send in the format: Bearer ACCESS_TOKEN_GOES_HERE.

Responses
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for get/creditcard/v1/googlepayconfiguration
curl https://SERVER_NAME_GOES_HERE.partech.com/creditcard/v1/googlepayconfiguration \
  --header 'x-applicationSource: ' \
  --header 'X-LocationId: ' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer ACCESS_TOKEN_GOES_HERE'
{
  "paymentProvider": "aurus",
  "gatewayMerchantId": "67890852",
  "status": "Success",
  "statusMessage": "Google Pay configuration success"
}