Initiating funds receipts
Payment with an unsaved card
Creation of pay in transaction
POST
https://prapi.tarlanpayments.kz/transaction/api/v1/transaction/primal/pay-in
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 |
Example of a CURL request:
Payment by saved card
When passing the project_client_id parameter, the user will be able to save the card on the payment form. To save the card, the user on the payment form should click "save card" and make a successful payment on this card. For further payments on the saved card it is necessary to pass the parameter project_client_id. The peculiarity of payment by saved card is the absence of 3DS user authentication, which significantly speeds up and simplifies the payment process.