For the complete documentation index, see llms.txt. This page is also available as Markdown.

Initialize Payment

This service checks whether the required configurations have been completed on the Paynet side and then returns the deeplink_url required for the transaction, along with the encryption_key used to decrypt the encrypted data returned to the customer’s mobile application. To send a request to this service, a mobile session token (session_key) must be used.

Start Sale – init_sale_transaction

post
/v1/softpos/init_sale_transaction
Header parameters
Session-KeystringRequired

Mobile session key

Content-TypestringRequired

Content type.

Example: application/json
Body
amountnumberOptional

Amount.

Example: 100
add_commissionbooleanOptional

Should the commission be added?

Example: true
instalmentintegerOptional

Installment.

Example: 0
card_holder_phonestringOptional

Card holder phone.

Example: 5XXXXXXXX
card_holder_mailstringOptional

Card holder mail.

Example: test@paynet.com.tr
descriptionstringOptional

Description.

Example: test
reference_nostringOptional

Reference number.

selected_agent_idstringOptional

Selected agent id.

callback_urlstringOptional

Deeplink will take you back to the mobile application.

Responses
200

Successful

application/json
payment_session_idstringOptional

Payment session id.

deeplink_urlstringOptional

Deeplink url.

encryption_keystringOptional

Encryption key.

object_namestringOptional

Object name.

codeintegerOptional

Code.

messagestringOptional

Message.

post/v1/softpos/init_sale_transaction

Last updated