Description
Eft Validations
Eft Validations API validates eft request for the given parameters.
Sample Request
POST /api/v1/eft-validations
Headers:
X-IBM-client-id: {YOUR_CLEINT_ID}
X-IBM-client-secret: {YOUR_CLEINT_SECRET}
Authorization: Bearer {access_token}
Accept: application/json
{
"amount" : 200.01,
"debtor_account_id" : "43412595",
"debtor_use_of_overdraft" : false,
"creditor_name" : "Creditor Name",
"creditor_iban" : "TR310006200001500001231212",
"description" : "Eft Açıklama",
"payment_reference_id" : "745-jdfgh-2374",
"customer_ip" : "112.312.453.12"
}
Eft Payments
Eft Payments API executes eft request for the given parameters.
Sample Request
POST /api/v1/eft-payments
Headers:
X-IBM-client-id: {YOUR_CLEINT_ID}
X-IBM-client-secret: {YOUR_CLEINT_SECRET}
Authorization: Bearer {access_token}
Accept: application/json
{
"amount" : 200.01,
"debtor_account_id" : "43412595",
"debtor_use_of_overdraft" : false,
"creditor_name" : "Creditor Name",
"creditor_iban" : "TR310006200001500001231212",
"description" : " Eft Açıklama",
"payment_reference_id" : "745-jdfgh-2374",
"customer_ip" : "112.312.453.12",
"idempotency_key": "c2b76565-2c65-1254-13e3-1321876f42d1"
}
Eft Query
Eft Payments Query API retrieves eft detail for the given query number and date.
Parameters
query-number : String
date : String(YYYY-MM-DD)
Sample Request
GET /api/v1/eft-payments/REPLACE_QUERY-NUMBER?date=REPLACE_THIS_VALUE
Headers:
X-IBM-client-id: {YOUR_CLEINT_ID}
X-IBM-client-secret: {YOUR_CLEINT_SECRET}
Accept: application/json
Sample Response
Sample Response - Eft Validations
{
"data": {
"result": true,
"amount": 200.01,
"fee_amount": 4.87,
"fee_tax_amount": 0.23,
"debtor_account_name": "ALİ CESUR",
"creditor_account_name": "Creditor Name",
"source_account_amount": 205.11,
"overdraft_amount": 0,
"fund_801_amount": 0,
"fund_808_amount": 0,
"fund_818_amount": 0,
"fund_total_amount": 0,
"maximum_term_account_amount": 0,
"invesment_account_amount": 0,
"invesment_total_amount": 0
}
}
Sample Response - Eft Payments
{
"data": {
"amount": 200.01,
"fee_amount": 7.06,
"fee_tax_amount": 0.34,
"debtor_account_name": "ALİ CESUR",
"creditor_account_name": "Creditor Name",
"source_account_amount": 207.41,
"overdraft_amount": 0,
"fund_801_amount": 0,
"fund_808_amount": 0,
"fund_818_amount": 0,
"fund_total_amount": 0,
"maximum_term_account_amount": 0,
"invesment_account_amount": 0,
"invesment_total_amount": 0,
"query_number": "0135892",
"created_at": "2019-03-28T13:54:19.974Z",
"state": "Executed",
"executed_at": "2019-03-28T13:54:19.976Z"
}
Sample Response - Eft Query
{
"data": {
"amount": 200.01,
"query_number": "0135892",
"state": "APPROVED"
}
}