v1
latestOpenAPI 3.0.02026-07-1412068.2 KBPayment Links
Fetch Payment Link Info
Allows a user to fetch payment link details<br><br>
get/links/{linkId}
Path parameters
linkIdstring required
Payment link ID
Headers
Content-Typestring
Authorizationstring
Response
Successful response
Example response
{
"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,
"charges": [
{
"status": "captured",
"id": "MPB-CHRG-E0CE93E071",
"amount": 100,
"refund_amount": 0,
"refund_status": "No refund",
"billing_descriptor": "Mamo*Merchant",
"custom_data": {
"internal_customer_id": "0114120d-c394-4cce-9cdb-4ccbae605748",
"val1": true,
"val2": "custom value"
},
"created_date": "2023-05-31-11-18-57",
"subscription_id": "MPB-SUB-B764EDCBA2",
"settlement_amount": 356.42,
"settlement_currency": "AED",
"settlement_date": "05/06/2023",
"customer_details": {
"name": "Mamo User",
"email": "email@mamopay.com",
"phone_number": "+971551234567",
"comment": "Dolore voluptate possimus et."
},
"payment_method": {
"type": "CREDIT VISA",
"card_holder_name": "Mamo User",
"card_last4": "•••• 4242",
"origin": "UAE card"
}
}
]
}