Getting started
API MID and Terminal ID
How to send your MID and Terminal ID, and what they look like in each environment.
Send your MID and Terminal ID in the mid and terminal-id headers of your API requests for supported endpoints.
All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.
Sandbox format
- MID:
sb-ul-mid-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx - Terminal ID:
ul-tid-xxxxxxxxxxxxxxxxxxxxxxxx(no sandbox prefix: the same format as Production)
Production format
- MID:
ul-mid-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx - Terminal ID:
ul-tid-xxxxxxxxxxxxxxxxxxxxxxxx
Example
bash
curl --location \
--request POST 'https://api.geturbanledger.com/api/payments/link' \
--header 'Content-Type: application/json' \
--header 'mid: ul-mid-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' \
--header 'terminal-id: ul-tid-xxxxxxxxxxxxxxxxxxxxxxxx' \
--data-raw '{
"amount": 100,
"currency": "AED",
"reference": "Visa-AED-Test"
}'