Description
Merchants
This API returns merchant list that belongs to a customer.
How it Works
Sample Request
GET /api/isbank/maximum/paybylink/v1/merchants
Headers:
X-IBM-client-id: {YOUR_CLEINT_ID}
X-IBM-client-secret: {YOUR_CLEINT_SECRET}
Authorization: Bearer {access_token}
Content-Type: application/json
Available Currency Codes
This API returns currencies that client can perform installments and generate service.
How it Works
Sample Request
GET /api/isbank/maximum/paybylink/v1/merchants/657134078/available-currency-codes?is_domestic=true
Headers:
X-IBM-client-id: {YOUR_CLEINT_ID}
X-IBM-client-secret: {YOUR_CLEINT_SECRET}
Authorization: Bearer {access_token}
Content-Type: application/json
Merchant Branches
This API returns branches that belong to a specific merchant.
How it Works
Sample Request
GET /api/isbank/maximum/paybylink/v1/merchants/657134078/branches
Headers:
X-IBM-client-id: {YOUR_CLEINT_ID}
X-IBM-client-secret: {YOUR_CLEINT_SECRET}
Authorization: Bearer {access_token}
Content-Type: application/json
Installments
This API returns installments according to a merchant, branch no and currency code.
Sample Request
GET/api/isbank/maximum/paybylink/v1/merchants/657134078/Installments?branch_no=1¤cy_code=TRY&is_domestic=true
Headers:
X-IBM-client-id: {YOUR_CLEINT_ID}
X-IBM-client-secret: {YOUR_CLEINT_SECRET}
Authorization: Bearer {access_token}
Content-Type: application/json
Payment Links
This API produces a payment link with parameters that you've given on request body.
How it Works
Sample Request
POST /api/isbank/maximum/paybylink/v1/payment-links
Headers:
X-IBM-client-id: {YOUR_CLEINT_ID}
X-IBM-client-secret: {YOUR_CLEINT_SECRET}
Authorization: Bearer {access_token}
Content-Type: application/json
Body:
{
"language_code": "tr",
"branch_no": 1,
"personal_description": "Ödeme tek çekim olarak alındı",
"amount": 300,
"merchant_no": 657134078,
"installment": 1,
"currency_code": "TRY",
"is_domestic":true
}
Sample Response
Sample Response for Transitions
{
"data": {
"merchants": [
{
"account_no": "1000-1000",
"branch_code": 1000,
"merchant_name": "IsBank Merchant",
"merchant_no": 1234567891,
"branch_name": "BAŞKENT/ANKARA"
}
],
"qr_max_amount": 5000.0,
"qr_max_amount_limit_message": "",
"editable": false,
"edit_message": ""
}
}
Available Currency Codes
{
"data": {
"currencies": [
{
"code": "TRY"
}
]
}
}
Merchant Branches
{
"data": {
"branches": [
{
"no": 1,
"name": "BOLUM1"
}
]
}
}
Installments
{
"data": {
"installments": [
{
"value": 1,
"text": "Tek Çekim"
},
{
"value": 2,
"text": "2 Taksit"
},
{
"value": 3,
"text": "3 Taksit"
},
{
"value": 4,
"text": "4 Taksit"
},
{
"value": 5,
"text": "5 Taksit"
}
]
}
}
Payment Links
{
"data": {
"order_id": "7760b4d3-e84e-4866-a293-6f168d6d56a8",
"payment_link": "https://delta.asseco-see.com.tr/fim/paymentLinkService?token=20351PitB001203414CTMNLPCP7QZTLM4YKRD",
"payment_token": "20351PitB001203414CTMNLPCP7QZTLM4YKRD",
"is_success": true,
"end_date": "19.12.2020 15:34:45"
}
}