v1

latestOpenAPI 3.0.02026-07-1412068.2 KB
Payment Links

Fetching Payment Links

Fetches all payment links for a given business<br><br>

get/links

Headers

Content-Typestring
Authorizationstring

Response

Successful response

Example response

{
  "data": [
    {
      "id": "MB-LINK-37D90AAF51",
      "title": "Test Payment Link",
      "name": "Test Payment Link",
      "description": "Test description",
      "capacity": 1,
      "active": true,
      "return_url": "https://myawesomewebsite.com/paymentSuccess",
      "processing_fee_percentage": 0,
      "amount": 10,
      "amount_currency": "AED",
      "platform": "client",
      "prefilled_customer": {},
      "external_id": null,
      "hold_and_charge_later": false,
      "internal_note": null,
      "lang": "en",
      "expiration_date": null,
      "enable_message": false,
      "enable_tips": false,
      "enable_tabby": false,
      "link_type": "standalone",
      "enable_customer_details": false,
      "save_card": "off",
      "is_widget": false,
      "max_amount": null,
      "processing_fee_amount": null,
      "enable_quantity": false,
      "payment_methods": [
        "card",
        "wallet"
      ],
      "rules": {
        "allowed": []
      },
      "subscription": null,
      "first_name": null,
      "last_name": null,
      "email": null,
      "payouts_share": null,
      "custom_data": {},
      "payment_url": "https://sandbox.dev.business.mamopay.com/pay/mamo-c1f890",
      "send_customer_receipt": true,
      "terms_and_conditions_url": null
    }
  ],
  "pagination_meta": {
    "page": 1,
    "per_page": 10,
    "total_pages": 5,
    "next_page": 2,
    "prev_page": null,
    "from": 1,
    "to": 10,
    "total_count": 47
  }
}