Google Pay™ on Business' Webpage
To add Google Pay™ button on your webpage, following steps are required.
First your webpage should be compliant with Google's requirements. Since Google Pay button is added to your own webpage, instead of Bank of Georgia's, you need to configure the environment independently. For more information visit Google's configuration page.
After these steps you can make Bank payments through Google Pay button on your page. For creating order use see Standard Process - Order Request
Body
should contain following parameters:
"payment_method": ["google_pay"],
"config": {
"google_pay": {
"external": true,
"google_pay_token": "{token}"
}
}
Response
idstring
statusstring
order_detailsobject
Order details. Contains same data as payment details. The object is returned if payment process is completed without 3DS authentication.
_linksobject
The web resource addresses are used in the further stages of the payment process. At the moment following resources are returned:
_links.details.hrefstring
_links.redirect.hrefstring
- RESPONSE
{
"id": "{order_id}",
"status": "completed",
"order_details": {...},
"_links": {
"details": {
"href": "https://api.bog.ge/payments/v1/receipt/{order_id}"
},
"redirect": {
"href": "https://payment.bog.ge/api/3ds/post-form?fieldName={field_name}&fieldValue={field_value}&baseUrl={base_url}"
}
}
}