For the complete documentation index, see llms.txt. This page is also available as Markdown.

Message Pay

Creates a payment link and sends it via SMS or email along with a message.

post: https://easypay5.com/APIcardProcNumber/v1.0.0/Other/MsgPay

This call allows you to create a targeted payment link and send this along with a message to the party (or parties) of your choice. Used in conjunction with our highly flexible PayForm it can be used to collect a targeted amount from a specific party or to route funds for a general purpose or event.

This API method allows users to accomplish three typical tasks:

  1. Send a SMS text with a message and Payment Link

  2. Send an email with message and Payment Link

  3. Acquire the Payment Link and use it internally or externally

{
   "MsgParams": {
    "MessageType": "SMS",
    "MessageBody": "",
    "MessageSubject": "OK Health",
    "DueOn": "1/7/2027",
    "ExpiresOn": "3/7/2027",
    "SingleUsage": 1
  },
  "InitParams": {
    "MerchID": 1,
    "WTYPE": "PF",
    "PostURL": "https://easypay7.com/swidget/JsonGet.aspx",
    "RedirectURL": "https://easypay8.com/CYWidget/",
    "REF_ID": "A97689#",
    "RPGUID": "92e1e15c-f64a-466b-8733-9b518b9f374c",
    "EndPoint": "PF",
    "EINDEX": "300",
    "Amounts": {
      "Amount": 20,
      "Surcharge": 0,
      "TotalAmt": 20
    },
    "Payer": {
      "Firstname": "John",
      "Lastname": "Doe",
      "BillingAddress": {
        "StreetAddress": "123 Elm St",
        "City": "Tulsa",
        "State": "OK",
        "ZIP": "84048",
        "Country": "USA"
      }, 
      "Email": "Jdoe@acme.net", 
      "Phone": "6078595025",
      "Company": ""
    },
    "WidOptions": {
      "eVisible": "0665",
      "eReadOnly": "0040",
      "eStyles": "0001",
      "eSubmission": "0A01",
      "eFeatures": "0000",
      "eColors": "#ffffff,#428bca,#007bff,#212121,#ffffff,#212121,#ffffff"
    }
  }
} 

SessKey string required

A unique session key used for authentication in API calls. This key is generated upon successful authentication and must be included in all subsequent requests.

Example: A1842D663E9A4A72XXXXXXXX303541303234373138


Content-Type string required

Example: application/json


Accept string required

Example: application/json

Last updated

Was this helpful?