Manage Payment Settings

This set of APIs allows you to get or set your payment settings, including the callback URL and the HTTP method to be used when Paymento sends payment status updates to your server.

Set Payment Settings API

POST https://api.paymento.io/v1/payment/settings <Description of the endpoint>

Headers

Name
Value

Api-Key

Your Merchant API Key

Content Type

application/json

Accept

text/plain

Body

Name
Type
Nullable
Description

string

false

httpMethod

int

false

HttpPost = 1

HttpPut = 2

Response

{
  "success": true,
  "message": "",
  "body": {
    "IPN_Url ": "https://yoursite.com/api/paymento/payment-status",
    "IPN_httpMethod": 1
  }
}

Get Payment Settings API

POST https://api.paymento.io/v1/payment/settings

Headers

Name
Value

Api-Key

Your Merchant API Key

Content Type

application/json

Accept

text/plain

Response

{
  "success": true,
  "message": "",
  "body": {
    "apiEndpointPath ": "https://yoursite.com/api/paymento/payment-status",
    "httpMethod": 1
  }
}

Last updated