Shopping Loan Application
URL
The endpoint and http method information to initialize Shopping loan application.
Request Parameters
Shopping Loan Provider
ID of Alternative Payment Method which is declared in APM Management Page of Merchant Panel. It is recommended to sent if multiple APM declared in same APM Type.
"boomerang" value that can be sent with the request and received with the response. It can be used to associate different requests with each other. Usually, the order number is used that is stored in merchant own system.
It is generally used as a payment order number or basket number on the merchant side. You can search with this value later by using reporting services.
Total basket price. The sum of the item prices in the basket must be equal to total basket price.
The final amount to be paid from the card by calculating differences such as commissions and discounts. The amount to be collected from the wallet is also included in this amount. If there is an interest in the transaction, the amount with the interest added should be entered in this parameter.
ID of the buyer that is returned from member creation.
It is generally used to keep information specific to the payment channel on the merchant side. You can search with this value later by using reporting services.
The URL to be used to send the result returned from the APM to the merchant
Order id parameter to be transmitted to the APM when receiving the payment. Since it is optional, it is recommended not to send it and the orderId value is generated by Craftgate.
Unique user id that is given from Altervative Payment Provider's system
Additional parameters related to payment.
IP of the buyer.
Payment items related to payment. You must send at least one payment item and the sum of prices must be equal to the price
field.
Bank code of shopping loan application
Shopping loan basket itemsYou must send at least one payment item and the sum of prices must be equal to the price
field.
Response Parameters
Parameters returned as a result of request are also subject to the rules specified in
the Response Formats section of the API documentation home page. In the absence of a systematic
or fictional error, the sub-parameters of the object returned in the data
parameter are as follows:
Payment Id
Represent payment status
While some APM integrations may require extra operations, in others this process is not required. In cases where NONE
is returned, there is no need to take any extra action for APM payment. See: APM Additional Actions
Redirect URL of the APM
Detail information of the error, if the payment received an error.
Sample Codes
You can review the sample codes in the open source Craftgate API clients.