v1

latestOpenAPI 3.1.02026-07-24170121.2 MB

Create a Charge - Google Pay

post/v1/charges/google/sale

Headers

Acceptstring required

Indicates which content types, expressed as MIME types, the client is able to understand.

Content-Typestring required

Indicates the media type of the resource sent in the HTTP message body. <br /><br /><b>Possible Values:</b><br /> application/json<br />application/x-www-form-urlencoded

Request body

encrypted_datastring required

Bases 64 encoded string coming from Google object as described above.

amountinteger required

The amount to charge in cents.

currencystring required

Three-letter ISO currency code, in lowercase.

statement_descriptionstring

An arbitrary string to be displayed on your customer’s credit card statement.

captureinteger

Option to capture charge immediately or pre-authorize and capture at a later date.

emailstring
phone_numberinteger
avs_parametersinteger
bin_location_parametersinteger
bin_card_type_parametersinteger
address_line1string
address_line2string
zipinteger
metadatastring
do_not_send_email_to_customerstring

To prevent sending mail to customer for transaction. By default the system will sent mail

do_not_send_sms_to_customerstring

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

object required