POST https://sandbox.payme.io/api/partner/api/sellers/social-security-balancePOST https://live.payme.io/api/partner/api/sellers/social-security-balanceNo credentials are documented for this endpoint.
Set the social security balance for a seller.
This endpoint takes no path, query or header parameters.
Content type: application/json
| Field | Type | Required | Description |
|---|---|---|---|
socialId |
string | yes | Seller Israeli ID number |
email |
string | yes | Seller email |
balance |
number | yes | Balance amount in ILS |
updateDate |
string | yes | Balance update date |
directDebit |
integer | no | Direct debit authorization status |
{
"socialId": "123456789",
"email": "seller@example.com",
"balance": 5000,
"updateDate": "2024-01-15",
"directDebit": 1
}
curl -X POST 'https://sandbox.payme.io/api/partner/api/sellers/social-security-balance' \
-H 'Content-Type: application/json' \
--data-raw '{
"socialId": "123456789",
"email": "seller@example.com",
"balance": 5000,
"updateDate": "2024-01-15",
"directDebit": 1
}'
const response = await fetch("https://sandbox.payme.io/api/partner/api/sellers/social-security-balance", {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
"socialId": "123456789",
"email": "seller@example.com",
"balance": 5000,
"updateDate": "2024-01-15",
"directDebit": 1
}),
});
console.log(await response.text());
import requests
response = requests.post(
"https://sandbox.payme.io/api/partner/api/sellers/social-security-balance",
json={
"socialId": "123456789",
"email": "seller@example.com",
"balance": 5000,
"updateDate": "2024-01-15",
"directDebit": 1,
},
)
print(response.text)
<?php
$body = <<<'BODY'
{
"socialId": "123456789",
"email": "seller@example.com",
"balance": 5000,
"updateDate": "2024-01-15",
"directDebit": 1
}
BODY;
$ch = curl_init('https://sandbox.payme.io/api/partner/api/sellers/social-security-balance');
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => $body,
]);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
| Field | Type | Description |
|---|---|---|
statusCode |
integer | |
message |
string | |
error |
string |
{
"statusCode": 400,
"message": [
"Validation failed"
],
"error": "Bad Request"
}
| Field | Type | Description |
|---|---|---|
statusCode |
integer | |
message |
string | |
error |
string |
{
"statusCode": 401,
"message": "Unauthorized",
"error": "Unauthorized"
}