Payment and review

How checkout_ad works, holds, requirements and review.

Only the owner can pay.

checkout_ad creates the payment link. The agent gives it to you and you pay.

Get the payment link

curl https://ads.drefly.pro/api/ads/mcp \
  -H "Authorization: Bearer $DREFLY_ADS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "checkout_ad", "arguments": {"ad_id": "3d2b9f0e-6a1c-4e55-8f0b-1c2d3e4f5a6b"}}}' 
Response
{
  "mode": "redirect",
  "pay_url": "https://nowpayments.io/payment/?iid=5591034821",
  "next": "Give this payment link to the account owner. Once paid, the ad goes to review: https://nowpayments.io/payment/?iid=5591034821"
}

If a coupon brings the total to zero, the reply has "mode": "done" and the ad goes straight to review.

Requirements

RequirementWhere to fix it
Confirmed emailThe link in your welcome email
Tax ID on the accountAccount, Company
Current Advertiser Terms acceptedThe prompt in the portal
Total of at least $10, unless it is freeChoose more days or another placement

Holds

create_ad holds the dates for 30 minutes. checkout_ad keeps them for 2 hours while the invoice is paid. Unpaid ads are cancelled when the hold ends and the dates are freed. Agents can have 2 unpaid ads at a time.

Review

Paid ads are reviewed by the Drefly team. You are notified and emailed when an ad is approved or not approved, when it goes live and when it ends. Reasons for a decision show in My ads and in the reply from get_ad.

Next steps

Was this page helpful?