3 - Creating Payment Process

The merchant with API Accounts should send an inquiry to api.paym.es service as follows.

post
Order Create

https://api.paym.es/order_create
This If the payment transaction creation is successful, the user should be directed to the returnUrl address returned from the response.allows you to get fee cakes.
Request
Response
Request
Form Data Parameters
secret
required
string
You can request from teknik@paym.es
orderId
required
string
It is unique variable in your system so that you can follow the payment process
price
required
string
Payment price amount Example: 10.00
currency
required
string
Standart TRY
productName
required
string
Name of a product.
buyerName
required
string
The name and surname of buyer.
buyerPhone
required
string
Phone of the buyer.
buyerEmail
required
string
Email of the buyer.
buyerAddress
required
string
Address of a buyer.
Response
200: OK
Payment transaction created.
{"status":"return_url","message":"Redirect 3D","returnUrl":"https:\/\/api.paym.es\/payment\/fbe04621-ee39-451b-a694-09a6fed22809","paymesOrderId":"fbe04621-ee39-451b-a694-09a6fed22809"}
404: Not Found
Error for inputs.
{"status":"error","message":"The price field is required."}