Installment Loan Details Receiving
By calling this method an Online Shop can receive detailed information regarding the status of an installment loan completed by a customer based on the payment identifier.
Header
Content-Typerequiredapplication/json
AuthorizationrequiredBearer <jwt_token>
Bearer <jwt_token>
, where the jwt_token is a value returned in an access_token parameter from the Authentication Method Response
- REQUEST
GET /v1/installment/checkout/<order_id> HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Authorization: Basic <base64>
Response
order_idrequiredstring
An order identifier that is passed in the Request of the given method.
statusrequiredstring
An Order Status. Can take the following values:
success
- An installment loan process has been completed successfullyin_progress
- An installment loan is in progress and is not completed yet and if in 45 minutes from the order generation a customer has not completed an installment loan process, the status will change to anerror
.error
- An installment loan process is unsuccessful.
installment_statusrequiredstring
An installment loan Status.
success
- An installment loan was successfully activated. In this case, order status is alsosuccess
reject
- An installment loan was not approved. In this case, order status is also anerror
reverse_success
- An installment loan is canceled based on the customer’s request or the Merchant canceled the installment loan from a dashboard of the control panelfail
- An installment loan was not activated. In this case, the order status will beerror
unknown
- An installment loan will have this status if the installment loan is not completed and the order status isin_progress
ipay_payment_idrequiredstring
A payment ID in the ipay
system which is shown on a payment receipt
shop_order_idrequiredstring
A Merchant’s order identifier
payment_methodrequiredstring
A payment method. In the case of the installment loan, the BOG_LOAN
value is always returned
- RESPONSE
{
"order_id": "{order_id}",
"status": "success" | "in_progress" | "error",
"installment_status": "success" | "reject" | "reverse_success" | "fail" | "unknown",
"ipay_payment_id": "{ipay_payment_id}",
"shop_order_id": "{shop_order_id}",
"payment_method": "BOG_LOAN"
}