Tarlanpayments
Eng
Eng
  • Acquiring
    • General information
      • Structure of payment processing
      • Kinds of operations
      • 3D-Secure
      • PCI DSS
    • Types of transactions
    • Structure of system responses
    • Error code
    • Transaction statuses
    • Signature Creation
    • Additional parameters
    • Interaction with the payment method
      • Initiating funds receipts
      • Initiating pay out
      • Card link
      • Initiating funds using Apple Pay
      • Initiating funds using Google Pay
      • Iframe
    • Payments without form of payment
      • One click
    • Smart Pay
      • Google pay
    • Supplementary methods
      • Removal of a linked user card
      • Verification of transaction status
      • Receiving a list of cards
      • Refund
      • Upper fee calculation
    • Webhook of the payment system
      • Payment Status
      • Payment ready to be made
    • Tilda Publishing
    • Edit summary
  • AGWS
    • Account Status Codes Guide
    • Error Codes
    • Reason for operation rejection
    • Transaction Lifetime
    • Transaction Status Guide
    • Creating a Signature
    • Check account status
    • Make a payment
    • Checking the refill status
    • Checking the remaining balance on the account
    • Confirmation of funds debit
    • Creating a payment link
    • Showcase Flow
    • Service Provider Flow
    • Payment System Callback
    • Payment Processing Scheme
  • Receiving a fiscal receipt
  • Calculation of the upper commission
Powered by GitBook
On this page
  1. Acquiring
  2. Interaction with the payment method

Initiating funds using Google Pay


This payment method is only available using the Google Chrome browser


POST https://prapi.tarlanpayments.kz/transaction/api/v1/transaction/primal/google-pay

Headers

Name
Type
Description

Authorization*

String

Bearer Auto-rotation hash (see Signature Creating)

Request Body

Name
Type
Description

amount*

Float

Transaction amount

project_client_id

String

Client ID on the project side

callback_url

String

Project URL for sending callback with transaction status (see Sending callback)

failure_redirect_url*

String

Project page to which the user will be redirected after unsuccessful payment. If the value parameter was not uploaded, the redirect will be performed to success_redirect_url

merchant_id*

Integer

Merchant ID assigned by the payment system

project_id*

Integer

Project ID assigned by the payment system

project_reference_id*

String

Order number on the project side

success_redirect_url*

String

Project page to which the user will be redirected after successful payment

shipment

String

Shipping address

confirm_url

String

Project URL for payment confirmation (see Payment Confirmation)

description*

String

Description of payment

additional_data

Object

More Options

{
    "status": true,
    "message": "Success",
    "result": "https://process.tarlanpayments.kz?hash=$2a$10$nhrUYWm9sDVYqCL4LKxn9ugrdC4Pszz5wGaUsDYYIqCGc8ZA4Vu0y&transaction_id=100474"
}
{
    "status": false,
    "status_code": 5000,
    "message": "transaction already exists",
    "result": {}
}
curl --location 'https://prapi.tarlanpayments.kz/transaction/api/v1/transaction/primal/google-pay' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer sign' \
--data-raw '{
    "amount": 10,
    "callback_url": "https://test.site/callback_url",
    "confirm_url": "https://test.site/confirm_url",
    "description": "999",
    "failure_redirect_url": "https://www.test.com",
    "merchant_id": 9999,
    "project_client_id": "999",
    "project_id": 9999,
    "project_reference_id": "999",
    "shipment": "Tarlan ave, Payments str.",
    "success_redirect_url": "https://www.test.com",
    "additional_data": {
        "test1": "value1",
        "test2": 2
    }
}'