---
title: "Shopping Credit Pre Approved"
method: POST
path: "/api/v1/payment/shoppingcredit/preapproved"
tags: ["Shopping Credit Payments"]
---

# Shopping Credit Pre Approved

`POST /api/v1/payment/shoppingcredit/preapproved`

## Request

- Base URL: `https://api.paylox.io`
- URL: `https://api.paylox.io/api/v1/payment/shoppingcredit/preapproved`
- Auth: none declared
- TypeScript: <https://skmtc.dev/jetcheckout/apis/jet-checkout/docs/api/v1/payment/shoppingcredit/preapproved/post.ts> (a function with typed inputs; its response is checked against the schema)

Shopping Credit Pre Approved Offers api

## Request body

- ShoppingCreditPreApprovedRequest
  - `application_key` string, required: It is the key of your application on our environment
  - `order_id` string, 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
  - `amount` number, required: Total amount
  - `basket_items` ModelsShoppingCreditPreApprovedRequestShoppingCreditBasketItem[], required: Content of order. Our api acts like card number.
    - `id` string, required: Item id
    - `name` string, required: Name of item.
    - `brandName` string, required: Item brand name
    - `qty` number, required: Quantiy of item
    - `unitPrice` number, required: Unit Price
    - `category` integer, required: Item category. This must be the one of our ids in the Shopping Credit Item Categories. You can reach the list of categories on the Shopping Credit Item Categories Api.
  - `customer` ModelsShoppingCreditPreApprovedRequestShoppingCreditCustomer, required
    - `birthDate` string, required: Customer Birth Date
    - `phoneNumber` string, required: Customer Phone Number
    - `nationalIdentityNumber` string, required: Customer TC number
  - `mode` string: Please send it as 'T' for test purposes, otherwise it will be in production mode.

## Response `200`

Successful Response

- ShoppingCreditPreApprovedResponse
  - `response_code` string: 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
  - `message` string: Here is the explanation of response code
  - `banks` Bank[]
    - `virtual_pos_id` string: Virtual Pos Id
    - `sessionId` string: Session Id
    - `preApprovedId` string: PreApproved Id
    - `bank_code` string: Bank EFT Code
    - `bank_name` string: Bank Name
    - `bank_logo` string: Bank Logo
    - `bank_supports_new_customer` boolean: Bank accepts new customers for credit
    - `installments` ModelsShoppingCreditPreApprovedResponseInstallment[]: The detailed information about possible installment options
      - `term` integer: Installment Count
      - `interest_rate` number: Cost rate of this installment count
      - `amount` number: Installment Amount
      - `total_payment_amount` number: Total Amount
      - `annual_effective_interest_rate` number: Annual Interest Rate

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/jetcheckout/apis/jet-checkout.md) - [All operations](https://skmtc.dev/jetcheckout/apis/jet-checkout/llms.txt) - [OpenAPI document](https://skmtc.dev/jetcheckout/apis/jet-checkout/revisions/06cdc5bbb97f?raw)
