Creating a payment link

POST https://agwsapi.tarlanpayments.kz/showcase-gateway/api/v1/action/link

Headers

NameValue

Content-Type

application/json

X-Signature

Body

NameTypeDescription

agent*

String

Showcase code in the Tarlanpayments system

username*

String

Username

amount*

Integer

Transaction amount

service*

String

Service name

return_url

String

Link to follow after payment

refer_host*

String

The domain from which the payment is made

Response

{
    "result": {
        "code": 0,
        "redirect_url": "https://kaspi.kz/pay/quickpayment?quick_pay_id=Betssonkzad1e50a5-6afd-481e-8e14-37487734ed292517:52:00",
        "message": "Успешно обработано",
        "qr_code_image": ""
    }
}
curl --location 'https://agwsapi.tarlanpayments.kz/showcase-gateway/api/v1/action/link' \
--header 'X-Signature: qfqer1231' \
--header 'Content-Type: application/json' \
--data '{
    "agent": "test1",
    "username": "e41e6e7b-a0b9-46cf-ac10-bb8333fd6391",
    "amount": 10000,
    "service": "service1",
    "return_url": "https://www.youresite.com/",
    "refer_host": "site.kz"
}'

Last updated