📖 Find out what is included in our response.

Every response from the created requests has the following elements:

  • id - Pay.com unique identifier of the payment or payout. It is defined in the string data type.
  • resource - A string that shows the called API. The value will be payment, payout, or cashier.
  • created_at - A timestamp that determines when the payment or payout is created.
  • status - The status of the payout or payment that is described in string type.

See the example of mentioned elements in the code sample below.

"id": "82847909155634862",
"resource": "payout",
"created_at": "2021-06-01T10:40:45.621Z",
"status": "APPROVED"

The response body maintains these data types:

  • String: a Unicode text.
"resource": "cashier"
  • Object: an unordered set of name/value pairs inserted between {} (curly braces).
"metadata": {
"order_id": "8852241-2021",
"website_session_id": "882f1d6a-e367-45db-a262-fe176f0e59e2"
}
  • Number: a JSON data type that follows JavaScript’s double-precision floating-point format.
"amount": 120

📧 Need some help?

If you encounter errors such as bugs or require assistance, please contact our email support: [email protected] Provide us with the description of the errors and the image of screen records, if possible. We will help you to resolve the problems.