---
title: "Create a Charge - Google Pay"
method: POST
path: "/v1/charges/google/sale"
---

# Create a Charge - Google Pay

`POST /v1/charges/google/sale`

## Request

- Base URL: `https://testapi.payarc.net`
- URL: `https://testapi.payarc.net/v1/charges/google/sale`
- Auth: API key in header `Authorization`

## Headers

- `Accept` string, required
- `Content-Type` string, required

## Request body

- object
  - `encrypted_data` string, required: Bases 64 encoded string coming from Google object as described above.
  - `amount` integer, required: The amount to charge in cents.
  - `currency` string, required: Three-letter ISO currency code, in lowercase.
  - `statement_description` string: An arbitrary string to be displayed on your customer’s credit card statement.
  - `capture` integer: Option to capture charge immediately or pre-authorize and capture at a later date.
  - `email` string
  - `phone_number` integer
  - `avs_parameters` integer
  - `bin_location_parameters` integer
  - `bin_card_type_parameters` integer
  - `address_line1` string
  - `address_line2` string
  - `zip` integer
  - `metadata` string
  - `do_not_send_email_to_customer` string: To prevent sending mail to customer for transaction. By default the system will sent mail
  - `do_not_send_sms_to_customer` string: Do not send sms to customer. in order to prevent sending sms the value must be yes. If not present -sms will be send

## Response `200`

200

- object

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/payarc/apis/payarc-sandbox.md) - [All operations](https://skmtc.dev/payarc/apis/payarc-sandbox/llms.txt) - [OpenAPI document](https://skmtc.dev/payarc/apis/payarc-sandbox/revisions/d3ee769894e4?raw)
