Get started

    API Endpoint

        https://developer.epayment724.com/
                

When backwards-incompatible changes are made to the API, a new, dated version is released. Read our API upgrades guide to learn more about backwards compatibility. All requests use your account API settings, unless you override the API version. Note that by default webhook events are structured according to your account API version, unless you set an API version during endpoint creation.
To use this API, you need an API key. Please contact us at info@epayment724.com/ to get your own API key.

Access to your Gateway


# Here is a curl example
curl \
-X GET https://epayment724.com/api/gateway/your_gateway_list \
-F 'merchant_id=your_merchant_id' \

                

To get Gateway for your website :
https://epayment724.com/api/gateway/your_gateway_list



Result example :

{
  result: [
    {
      status: 5,
      title_en_gateway: "Gateway",

    },
  ]
}
                

QUERY PARAMETERS

Field Type Description
merchant_id String Your merchant id.

Redirect Gateway


# Here is a curl example
curl \
-X POST https://epayment724.com/api/gateway/connect_gateway
-F 'merchant_id=your_merchant_id' \
-F 'gateway_name=your_gateway_name' \
-F 'amount=your_amount' \

                

Redirect Gateway :
https://epayment724.com/api/gateway/connect_gateway



Result example :

{
  result: [
    {
      status: 200,
        redirect
    },
  ]
}
                

QUERY PARAMETERS

Field Type Description
merchant_id String Your merchant id.
gateway_name String Your Gateway name by api get your Gateway
amount integer your amount
name string your name

Notice : To register successful callback and error callback addresses, please register the addresses through your user dashboard

Redirect Gateway


# Here is a curl example
curl \
-X POST https://epayment724.com/api/V1/user/list_trachonesh_user
-F 'email=Your_email_account' \

                

Transaction list :
https://epayment724.com/api/V1/user/list_trachonesh_user



Result example :

{
  result: [
    {
      status: 200,
        json data
    },
  ]
}
                

QUERY PARAMETERS

Field Type Description
email Email Your Email Account.

Redirect Gateway


# Here is a curl example
curl \
-X POST https://epayment724.com/api/V1/user/fillter_trachonesh_list
-F 'order_id=your order_id' \

                

Transaction list :
https://epayment724.com/api/V1/user/fillter_trachonesh_list



Result example :

{
  result: [
    {
      status: 200,
        json data
    },
  ]
}
                

QUERY PARAMETERS

Field Type Description
order_id integer Your order_id.

Callback Description

If you have a WordPress site, you can use the following callbacks for successful and error callbacks:

  • Successful Callback : https://yourwebsite?listener=epayment724&success=1
  • Error Callback : https://yourwebsite?listener=epayment724&failed=1

If you don't have a WordPress site and you wrote a special programming script, enter the addresses that the programmer gave you on your site.




                

Errors

The Westeros API uses the following error codes:

Error Code Meaning
O403 Sorry we couldn't find you or you haven't been verified yet
O502 The payment was not made or was canceled by the user
O200 Payment was successful
O404 merchant id not found
O503 You gateway not found
404 please enter valid email