Kestrel

원하는 코인으로 결제받으세요.

받고 싶은 코인과 받을 곳을 알려 주세요. 링크를 공유하거나 위젯을 삽입하세요. 결제하는 사람은 가진 코인 무엇이든 쓸 수 있고, 나는 내 코인을 받습니다.

결제 링크 만들기

작동 방식

  1. 결제자가 내 링크를 열고 자신이 가진 코인을 고릅니다.
  2. 정확한 금액을 가장 저렴하게, 고정 환율로 전달하는 서비스를 찾습니다.
  3. 결제자가 서비스로 보냅니다. 나는 내 주소로 내 코인을 받습니다.

결제자가 이미 내 코인을 가지고 있다면 스왑도 수수료도 없습니다. 내 주소와 금액만 표시됩니다.

링크는 모든 정보를 주소에 담고 있어 누구나 바꿀 수 있습니다. 올바른 금액을 받았는지 항상 확인하세요. 내용을 고정하려면 내 서버에서 결제를 생성하고, 돌려받은 주소를 결제자에게 보내세요.

기술 레퍼런스(영어)

Every parameter

ticker_to, network_to
The coin you want to receive and its network, e.g. xmr and Mainnet. Required.
address
Your receiving address. Required.
amount
What the payer must deliver, in your coin. For donations it is only the suggested amount.
memo
Memo or tag of your address, when your coin needs one. Use 0 for none.
fiat_equiv
Denominate the amount in a currency (USD, EUR...). It is converted to your coin at the current price.
donation
True switches to donation mode: the payer chooses the amount.
maximum
Upper limit for a donation, in US dollars.
editable
True lets the payer change the amount.
ticker_from, network_from
Preselect the coin the payer pays with.
name, description
Shown on the widget. URL-encode spaces as %20.
buttonbgcolor, textcolor
Button colours as hex without #, e.g. ddb321 and 0e141b.
bgcolor
True for a grey page background, or a hex colour. Leave it out inside an iframe.
remove_direct_pay
True hides your own coin from the payer's choices.
min_kycrating
A, B or C: only use desks graded at least this well.
simple_mode
True uses plainer wording for payers new to crypto.
ref
Your referral code.
direct
False makes the URL answer with JSON (ID, url, status_url) instead of showing the widget.
webhook, webhook_key
A URL called on every status change, and a string echoed in the Webhook-Key header. Use with direct=False.
email
An address to notify. Use with direct=False so it stays private.

From your server

GET /pay?ticker_to=xmr&network_to=Mainnet&address=ADDRESS&amount=0.5&direct=False

{ "ID": "...", "url": ".../pay/ID", "status_url": ".../pay/status/ID" }

/pay/status/ID answers with ID, Date, Status, AmountTo, AmountReceived, CoinTo. Status is anonpaynew until the payer picks a coin, then follows the swap: waiting, confirming, sending, finished, paid partially, failed, expired, halted, refunded. A request nobody starts is erased after 72 hours.

As a widget

<iframe src="https://THIS-SITE/pay?ticker_to=xmr&network_to=Mainnet&amount=0.1&address=ADDRESS"
        width="300" height="330" style="border:0"></iframe>