GET https://sandbox.payme.io/api/payment-contracts/recipients/has-matching-balanceGET https://live.payme.io/api/payment-contracts/recipients/has-matching-balanceNo credentials are documented for this endpoint.
That endpoint will check if the recipient exists in the system, and if the balance in the seller's wallet is >= the contract's amount.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
PayMe-Merchant-Key |
header | string | no | |
amount |
query | number | yes | Decimal - 2 dots |
currency |
query | string | yes | |
email |
query | string | no | |
business code |
query | string | no | |
phone |
query | string | no |
curl -X GET 'https://sandbox.payme.io/api/payment-contracts/recipients/has-matching-balance?amount=<amount>¤cy=<currency>'
const response = await fetch("https://sandbox.payme.io/api/payment-contracts/recipients/has-matching-balance?amount=<amount>¤cy=<currency>", {
method: "GET",
});
console.log(await response.text());
import requests
response = requests.get(
"https://sandbox.payme.io/api/payment-contracts/recipients/has-matching-balance?amount=<amount>¤cy=<currency>",
)
print(response.text)
<?php
$ch = curl_init('https://sandbox.payme.io/api/payment-contracts/recipients/has-matching-balance?amount=<amount>¤cy=<currency>');
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.