Shopping Credit Payments

Shopping Credit Pre Approved

Shopping Credit Pre Approved Offers api

post/api/v1/payment/shoppingcredit/preapproved

Request

Request body

application_keystring required

It is the key of your application on our environment

order_idstring required

order_id must be send as unique identifier of your each request. If you send the same value in different requests it would create a chaos, you can't be sure about your payment

amountnumber required

Total amount

modestring

Please send it as 'T' for test purposes, otherwise it will be in production mode.

Example request

{
  "application_key": "6e3cdaa3-65df-4eff-aed2-9d74387701dd",
  "order_id": "9ee3fd53-42f9-4f16-b454-77e6b714c2e9",
  "amount": 1250.42,
  "basket_items": [
    {
      "id": "KL015",
      "name": "Kalem",
      "brandName": "Sony",
      "qty": 1,
      "unitPrice": 10.2,
      "category": 16
    }
  ],
  "customer": {
    "birthDate": "24091999",
    "phoneNumber": "05325408090"
  },
  "mode": "T"
}

Response

Successful Response

response_codestring

You will get 00 for successful response, otherwise another response code for the error. You can reach the list of error codes on the Error Codes Api

messagestring

Here is the explanation of response code

Example response

{
  "response_code": "00",
  "message": "Successful",
  "banks": [
    {
      "virtual_pos_id": "9ee3fd53-42f9-4f16-b454-77e6b714c2e9",
      "sessionId": "5c340865-05ff-4c87-ae70-72d80bf30b46",
      "preApprovedId": "5c340865-05ff-4c87-ae70-72d80bf30b46",
      "bank_code": "034",
      "bank_name": "Ziraat Bankası",
      "bank_logo": "http://app.jetchekout.com/web/image?model=jet.bank&id=2&field=avatar_128",
      "installments": [
        {
          "interest_rate": 1.12,
          "amount": 1.12,
          "total_payment_amount": 1.12,
          "annual_effective_interest_rate": 1.12
        }
      ]
    }
  ]
}

Changes

No recorded changes to this operation across all 6 revisions of this API.