Get Recipient

Credentials

No 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.

Parameters

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

Code samples

curl

curl -X GET 'https://sandbox.payme.io/api/payment-contracts/recipients/has-matching-balance?amount=<amount>&currency=<currency>'

Node.js

const response = await fetch("https://sandbox.payme.io/api/payment-contracts/recipients/has-matching-balance?amount=<amount>&currency=<currency>", {
  method: "GET",
});

console.log(await response.text());

Python

import requests

response = requests.get(
    "https://sandbox.payme.io/api/payment-contracts/recipients/has-matching-balance?amount=<amount>&currency=<currency>",
)

print(response.text)

PHP

<?php

$ch = curl_init('https://sandbox.payme.io/api/payment-contracts/recipients/has-matching-balance?amount=<amount>&currency=<currency>');
curl_setopt_array($ch, [
    CURLOPT_CUSTOMREQUEST => 'GET',
    CURLOPT_RETURNTRANSFER => true,
]);

$response = curl_exec($ch);
curl_close($ch);

echo $response;

Responses

No responses are documented for this endpoint.