Skip to main content

Other URLs

Notification URL for Successful Transaction

When a payment transaction is successfully completed, information about the content of the payment is sent to the merchant. The notification_url, where the information will be sent, is specified during the creation of the payment session. Additionally, the system continues to send requests until a successful result is received at specific time intervals.

Important:

  • The notification process occurs synchronously.
  • If no response is received from the service provided by the merchant, the related payment transaction goes into Quarantine status.
  • If notifications for transactions in quarantine status cannot be made even after the 2nd attempt, the system automatically cancels/refunds the transaction.
  • The user's browser, who successfully completes the payment, is redirected to the URL returned in the return_url field.

Method: POST

URL: {notification_url}

Query Parameters

ParameterTypeDescription
order_idstringOrder number registered in Akinon.
is_successfulbooleanIndicates whether the transaction was successful.
merchant_idstringAkinon identification number for the merchant.
akifast_user_idstringAkinon identification number for the Akifast user.
transactionobjectObject containing information about the payment transaction.
transaction.transaction_datestringDate of the successful payment transaction record.
transaction.is_preauthbooleanPre-authorization information for the successful payment transaction.
transaction.is_threedboolean3D payment information for the successful payment transaction.
transaction.currencycurrencyPayment currency.
transaction.order_amountnumberOrder amount.
transaction.total_paid_amountnumberTotal paid amount.
transaction.installment_countlongNumber of installments.
transaction.installment_amountnumberInstallment amount.
transaction.interest_ratenumberInterest rate.
transaction.interest_amountnumberInterest amount.
transaction.shipping_amountnumberShipping amount of the order.
transaction.shipping_option_keystringKey corresponding to the shipping option in Akinon.
transaction.akipay_transaction_idstringAkinon identification of the successful payment transaction.
transaction.payment_system_raw_responsestringRaw response from the payment system.
payment_infoobjectSystem information where the successful payment transaction passed.
payment_info.payment_system_namestringName of the system where the payment transaction passed.
payment_info.payment_system_codestringCode of the system where the payment transaction passed.
payment_info.payment_system_bankstringName of the bank where the payment transaction passed.
payment_info.payment_system_eftcodestringEFT code of the bank where the payment transaction passed.
payment_info.pg_transaction_idstringUnique identification number where information is held in the payment system.
payment_info.pg_reference_idstringReference number of the payment system.
payment_info.pg_auth_codestringAuthentication code of the payment system.
payment_info.pg_settlement_numberstringSettlement number of the payment system at the end of the day.
payment_info.pg_order_idstringPOS order number.
payment_info.pg_group_idstringPOS group number.
payment_info.pg_proc_return_codestringPOS transaction return code.
payment_info.pg_merchant_idstringPOS merchant ID.
payment_info.pg_terminal_idstringPOS terminal ID.
payment_info.pg_transaction_datestringPOS transaction date.
payment_info.pg_system_error_messagestringPOS system error message.
card_info[0].masked_card_numberstringMasked number of the card used in the successful payment transaction.
card_info[0].masked_card_holder_namestringMasked name on the card used in the successful payment transaction.
card_info[0].binstringBIN number of the card used in the successful payment transaction.
card_info[0].card_typeenumType of the card used in the successful payment transaction (CardType).
card_info[0].card_brandenumBrand of the card used in the successful payment transaction (CardBrand).
card_info[0].card_networkstringSystem to which the card used in the successful payment transaction is connected.
card_info[0].issuerstringBank of the card used in the payment transaction.
card_info[0].is_commercialbooleanCommercial information of the card used in the payment transaction.
card_info[0].saved_cardbooleanInformation about the saved card used in the payment transaction.
shipping_addressobjectShipping address (Object details are the same as in the cargo tracking).
billing_addressobjectBilling address (Object details are the same as in the cargo tracking).
akifast_userobjectObject containing information about the Akinon user.
akifast_user.namestringName of the Akifast user.
akifast_user.surnamestringSurname of the Akifast user.
akifast_user.genderstringGender of the Akifast user.
akifast_user.emailstringEmail address of the Akifast user.
akifast_user.birth_datedateBirthdate of the Akifast user.
akifast_user.identity_numberstringIdentity number of the Akifast user.
akifast_user.phone_numberstringPhone number of the Akifast user (country code + phone number).
akifast_user.phone.country_phone_codestringCountry code of the Akifast user's phone number (e.g., +90).
akifast_user.phone.national_phone_numberstringNational phone number of the Akifast user (e.g., 5XXXXXXXXX).
akifast_user.akinon_user_idstringAkinon identification number of the Akifast user.
akifast_user.statusenumStatus values of the Akifast user (UserStatus).
akifast_user.verification_datedateVerification date of the Akinon account of the Akifast user.
akifast_user.email_verifiedbooleanInformation if the email of the Akifast user is verified.
agreementsbooleanAgreement approval information.
merchant_customer_idstringUser identification number belonging to the merchant.
merchant_customer_phone_numberstringUser phone number belonging to the merchant.
merchant_customer_emailstringUser email address belonging to the merchant.
basket_idstringBasket identification number.
conversation_idstringPrivate conversation identifier.
basketobjectBasket holding selected products during the payment session.
basket.basket_idstringBasket identification number.
basket.total_product_amountnumberTotal amount of products

Response Parameters

Return ValueTypeExampleDescription
return_urlstringhttps://{{client-shop-url}}/success-order/L1WzXXkPEZIVd3vgURL returned from the merchant.
merchant_customer_idstring123456Customer identification number belonging to the merchant.
merchant_customer_date_joineddate2024-02-15T07:57:44.002156ZThe date when the merchant registered with Akinon.
merchant_customer_akifast_date_joineddate2024-02-15T07:57:44.002156ZThe date when the merchant registered with Akifast.

URL to Redirect Users Upon Successful Transaction

Upon a successful transaction, the user is directed to the return_url address specified in the merchant's transaction notification response, if available. Otherwise, they are redirected to the success_url address provided during the payment session.

URL for Abandoned User

If a user abandons the payment transaction, they are redirected to the cancel_url address specified in the payment session.