v1

latestOpenAPI 3.0.1Apache 2.02026-07-248286406.8 KB
Payout Catalog

Get user agreement

This GET endpoint is used to retrieve the user agreement for payout services. <br> You can use this endpoint to obtain information about the available user agreements for payout services offered by MassPay. <br> To use this endpoint, you need to provide the ID representing the user agreement as a required parameter in the URL Path. <br> The response will include the user agreement details.

get/payout/user-agreements

Query parameters

idinteger required
Example:2

Id representing user agreement (retrieved from OPTIONS call)

Response

Successful operation.

namestring required

Name of user agreement

contentstring byte required

Base64 encoded byte representing the content of the file

last_modifiedstring date-time required

Time when the agreement was last updated

idinteger required

Id representing the user agreement

mime_typestring

Mime type of the user agreement (i.e application/pdf)

Example response

{
  "name": "MassPay Card Program - USD",
  "last_modified": "2020-07-21T17:32:28Z",
  "id": 2,
  "mime_type": "application/pdf"
}