Result notify
POST
{{result_url}}
pg_can_reject
is equal to 1 and the merchant cannot accept the payment (for example, the ticket reservation has expired), it must respond with a rejected
status, and {{project}} will reject the payment. In this case, the pg_description
field from the merchant response is shown to the user as the reason for the refusalResult URL
on the merchant side must be public, without authorization.Result URL
is called, or if the response from the server was not 200, {{project}} will make repeated attempts to call it every half an hour for 2 hours, even if the pg_lifetime
account expiresResult URL
does not allow the merchant to refuse the paymentpg_lifetime
transaction has expiredMerchant response to result_url:
ok
- payment acceptedrejected
- payment refusal if pg_can_reject is equal to 1error
- error in data interpretationrejected
status can be returned by the merchant only if the pg_can_reject
parameter equal to 1
was specified in the incoming request from the gate, otherwise, regardless of the merchant's response, the payment will be considered completedFailure URL
, otherwise - to Success URL
Request
Body Params multipart/form-data
pg_order_id
string
required
<= 50 characters
Example:
123456789
pg_payment_id
integer
required
Example:
12345
pg_amount
number
required
>= 0.01<= 99999999
Example:
500
pg_currency
string
required
<= 3 characters
Example:
KZT
pg_net_amount
number
required
>= 0.01<= 99999999
Example:
482.5
pg_ps_amount
number
required
>= 0.01<= 99999999
Example:
500
pg_ps_full_amount
number
required
>= 0.01<= 99999999
Example:
500
pg_ps_currency
string
required
<= 3 characters
Example:
KZT
pg_description
string
required
Example:
Purchase in the online store Site.kz
pg_result
integer
required
>= 0<= 2
Example:
1
pg_payment_date
string <date-time>
required
YYYY-MM-DD HH:MM:SS
format.Example:
2019-01-01 12:00:00
pg_can_reject
integer
required
>= 0<= 1
Example:
1
pg_user_phone
string
optional
Example:
7077777777777
pg_user_contact_email
string <email>
optional
Example:
mail@customer.kz
pg_testing_mode
integer | null
required
>= 0<= 1
Example:
1
pg_captured
integer
optional
>= 0<= 1
Example:
0
pg_card_id
string
optional
Example:
1234
pg_card_token
string
optional
Example:
ef741cfc-f85e-41a0-84e6-2ba964912182
pg_card_pan
string
optional
Example:
5483-18XX-XXXX-0293
Merchant parameters
string
optional
pg_discount_percent
number
optional
Example:
1.0
pg_discount_amount
number
optional
Example:
5
pg_payment_method
string
optional
Example:
bankcard
pg_card_exp
string
optional
Example:
03/23
pg_card_owner
string
optional
Example:
Ivan Ivanov
pg_card_brand
string
optional
Example:
VI
pg_salt
string
required
Example:
some random string
pg_sig
string
required
Request samples
Responses
Modified at 2025-03-03 07:27:31