Check Eligibility
Check if a transaction is eligible for SEPA Instant or Open Banking
POST/api/push/check-eligibilityOptional Auth
publicproductoptional-auth
Example Request
cURL
curl -X POST https://margin.so/api/push/check-eligibility \
-H "Content-Type: application/json" \
-H "X-API-Key: sk_live_your_api_key_here" \
-d '{}'JavaScript
const response = await fetch('https://margin.so/api/push/check-eligibility', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-API-Key': 'sk_live_your_api_key_here'
},
body: JSON.stringify({})
});
const data = await response.json();
console.log(data);Python
import requests
response = requests.post(
'https://margin.so/api/push/check-eligibility',
headers={
'Content-Type': 'application/json',
'X-API-Key': 'sk_live_your_api_key_here'
},
json={}
)
data = response.json()
print(data)Example Response
{
"success": true,
"data": {
"eligible": true,
"method": "sepa_instant",
"country": "DE",
"currency": "EUR",
"amount_cents": 10000,
"requirements": {
"country_in_sepa_zone": true,
"currency_is_eur": true,
"amount_within_limits": true
},
"limits": {
"min_amount_cents": 100,
"max_amount_cents": 10000000
},
"estimated_settlement_time_seconds": 10
}
}Request Body
| Field | Type | Required | Description |
|---|