Skip to main content
GET
Retrieve a Payment Link

Authorizations

X-Meridian-Signature
string
header
required

Meridian HMAC header authentication.

Required headers:

  • X-Meridian-Api-Key
  • X-Meridian-Timestamp
  • X-Meridian-Signature

X-Meridian-Signature is the HMAC SHA-256 signature of the canonical request string, computed per request as HMAC-SHA256(apiKey + timestamp + method + request URI including any query string + body). See Authentication for how to construct it.

Headers

X-Meridian-Api-Key
string
required

API key issued by Meridian during provisioning.

X-Meridian-Timestamp
string
required

Current time in milliseconds since the Unix epoch. Must be within 10 seconds of the request.

Path Parameters

id
string
required

Meridian id of the payment link.

Response

Retrieved data

A payment link and its current state.

id
string
required

Unique id of the payment link.

createdAt
string<date-time>
required

ISO-8601 timestamp (UTC) when the payment link was created.

updatedAt
string<date-time>
required

ISO-8601 timestamp (UTC) when the payment link was last updated.

Non-guessable, URL-safe token that uniquely identifies the payment link and is exposed in payment URLs.

status
enum<string>
required

Current status of the payment link.

Available options:
ACTIVE,
PROCESSING,
FAILED,
INACTIVE,
EXPIRED,
LOCKED,
ARCHIVED,
COMPLETED
initialAccessBy
string<date-time>
required

ISO-8601 timestamp (UTC) by which the payment link must first be accessed. If it is not accessed by this time it expires and becomes invalid. The expiry window is set in the merchant configuration.

merchantId
string
required

Unique identifier of the merchant that owns the payment link.

recurrenceType
enum<string>
required

How the payment link handles recurrence.

Available options:
SINGLE,
RECURRING,
VARIABLE
referenceLabel
string
required

Human-readable label for the payment link.

creditCurrency
enum<string>
required

ISO-4217 currency code the merchant is paid out in.

Available options:
EUR,
USD,
GBP,
PHP,
MXN,
ZAR,
USDC_ETH,
USDC_SOL,
USDT_ETH,
USDT_SOL
debitCurrency
enum<string>
required

ISO-4217 currency code debited from the payer.

Available options:
EUR,
USD,
GBP,
PHP,
MXN,
ZAR,
USDC_ETH,
USDC_SOL,
USDT_ETH,
USDT_SOL
paymentAttempts
integer
required

Number of payment attempts initiated for the payment link.

userId
string | null

Meridian user id of the payer who attempted payment on this link, when one has.

statusReason
string | null

Optional detail about the current status of the payment link.

referenceId
string | null

Unique reference defined by the merchant to identify the payment link. Not shown to customers on single payment links.

description
string | null

Optional human-readable description for the payment link.

creditAmount
string | null

Amount collected per charge, returned as a decimal string such as "100.50". Null for VARIABLE links whose amount has not been set yet.

nextPaymentDate
string<date> | null

Pre-calculated date of the next scheduled payment.

lastPaymentDate
string<date> | null

Date the most recent payment attempt was initiated for the payment link.

startDate
string<date> | null

Start date from which the payment link can be paid. Payments are not allowed before this date.

endDate
string<date> | null

End date after which the payment link can no longer be paid.

collectionCount
integer | null

Number of installments the payer will be charged.

customFields
Map_String_String · object | null

Key-value map of custom fields defined by the merchant.

autopays
Autopay · object[]

Auto pays set up by the payer to automatically collect payments on recurring links. Empty when none are configured.