GET
/
collect
/
payment_links
/
{id}
Retrieve Payment Link
curl --request GET \
  --url https://api.momentco.io/collect/payment_links/{id} \
  --header 'Authorization: Bearer <token>'
{
"id": "pl_6phg74i4jG9wbzZbFDUQB",
"status": "active",
"amount": 10000,
"currency": "ZAR",
"external_reference": "INV-2024-001",
"description": "Product purchase",
"link_url": "https://links.momentpay.io/G9wbzZbFDUQBFAE",
"expires_at": "2025-06-17T10:30:00Z",
"metadata": {
"customer_id": "cust_123456",
"order_id": "ord_789012"
},
"created_at": "2025-06-17T18:27:27.445Z",
"updated_at": "2025-06-17T18:27:27.445Z"
}

Authorizations

Authorization
string
header
required

Authentication using Bearer tokens. Include your API key in the Authorization header.

Key Types:

  • Test Keys: sk_test_* for development and testing
  • Live Keys: sk_* for production environments
  • Public Keys: pk_test_* or pk_* for client-side operations

📩 Need access? Contact Support to request your API keys.

Usage:

Authorization: Bearer sk_test_4eC39HqLyjWDarjtT1zdp7dc

Path Parameters

id
string
required

Unique identifier for the payment link. Must be a valid payment link ID.

Example:

"pl_6phg74i4jG9wbzZbFDUQB"

Response

200
application/json

Payment link retrieved successfully

A payment link represents a request for payment that can be shared with customers. Payment links have a lifecycle that includes creation, potential updates, and eventual completion or expiration.