GET https://sandbox.payme.io/api/documentsGET https://live.payme.io/api/documentsNo credentials are documented for this endpoint.
In order to query for existing documents, you will need to use the following endpoint and parameters:
| Environment | URL |
|---|---|
Sandbox |
https://sandbox.payme.io/api/documents?page=0&limit=5&field=createdAt&sort=desc |
Production |
https://live.payme.io/api/documents?page=0&limit=5&field=createdAt&sort=desc |
| Parameter | Description |
|---|---|
PayMe-Merchant-Key |
Seller's MPL MPL15991-38967CJU-GSBK5E1G-XSZ1GZXU |
| Name | In | Type | Required | Description |
|---|---|---|---|---|
page |
query | number | no | How many pages should be included in the query |
limit |
query | number | no | How many documents per extraction |
field |
query | string | no | The dates the query is for |
sort |
query | string | no | The order of documents |
PayMe-Merchant-Key |
header | string | no |
curl -X GET 'https://sandbox.payme.io/api/documents'
const response = await fetch("https://sandbox.payme.io/api/documents", {
method: "GET",
});
console.log(await response.text());
import requests
response = requests.get(
"https://sandbox.payme.io/api/documents",
)
print(response.text)
<?php
$ch = curl_init('https://sandbox.payme.io/api/documents');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_RETURNTRANSFER => true,
]);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
No responses are documented for this endpoint.