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

Generate a Receipt

Generate a receipt for an international transaction

post: https://easypay5.com/APIcardProcNumber/v1.0.0/Intl/ReceiptGenerate

REFID will be the transaction ID ReceiptType will always be 23 for International

Consuming the Response The member named ReceiptHtml holds the receipt data Important you must replace all Unicode characters to consume clean HTML Example : CleanHtml = Regex.Replace(my, @"[^\u0000-\u007F]+", string.Empty);

{
  "REFID": "5eef4782-5be1-11ef-bbc1-46647bd59a7a",
  "ReceiptType": 23,
  "Recipient": 1
}
{
  "Intl_ReceiptGenerateResult": {
    "ErrCode": 0,
    "ErrMsg": "",
    "FunctionOk": true,
    "ReceiptHtml": "HTML",
    "RespMsg": "Successfully Returned Transaction Receipt Markup"
  }
}

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

REFID string optional

The transaction ID

Example: 5eef4782-5be1-11ef-bbc1-46647bd59a7a


ReceiptType integer optional

The type of receipt, 23 for international

Example: 23


Recipient integer · enum optional

The targeted recipient type

  • 1: Merchant

  • 2: Customer

  • 3: Both

Example: 1

Last updated

Was this helpful?