Payment links
Get payment link
Returns invoice state, or checkout parent with sessions array and sessionCount.
GET
/
collections
/
{id}
Get payment link
curl --request GET \
--url http://localhost:4000/v1/collections/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:4000/v1/collections/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:4000/v1/collections/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"status": "success",
"message": "Payment link created",
"data": {
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567891",
"status": "awaiting_origin",
"linkMode": "invoice",
"pricingType": "fixed",
"payerSource": "wallet",
"label": "Invoice #1042",
"reference": "INV-1042",
"fromName": null,
"payeeName": "Acme Ltd",
"logoUrl": null,
"customerId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"customerName": "Acme Ltd",
"receiveAmount": 500,
"receiveAmountAtomic": "500000000",
"sendAmount": null,
"amount": 500,
"amountAtomic": "500000000",
"origin": null,
"destination": {
"key": "solana",
"network": "Solana",
"symbol": "USDC",
"address": "2dudFU32c5wsRpfRZDXBAJFirHC4hindqpKSCwwtDaAB"
},
"expectedAmountOut": null,
"receivedAmountOut": null,
"refundTo": null,
"depositAddress": null,
"relayRequestId": null,
"relayStatus": null,
"depositTxHash": null,
"inTxHashes": [],
"outTxHashes": [],
"failReason": null,
"successRedirectUrl": null,
"payUrl": "https://pay.remitflex.io/a1b2c3d4-e5f6-7890-abcd-ef1234567891",
"embedUrl": "https://pay.remitflex.io/embed/a1b2c3d4-e5f6-7890-abcd-ef1234567891",
"embedConfig": {
"layout": "default"
},
"quoteValidUntil": null,
"quotedAt": null,
"completedAt": null,
"createdAt": "2026-06-26T09:00:00.000Z",
"updatedAt": "2026-06-26T09:00:00.000Z"
}
}Authorizations
API key created in the Remitflex Dashboard at dashboard.remitflex.io (rmf_live_... or rmf_test_...).
Key management endpoints require a dashboard JWT and are not part of this reference.
Path Parameters
⌘I
Get payment link
curl --request GET \
--url http://localhost:4000/v1/collections/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:4000/v1/collections/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:4000/v1/collections/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"status": "success",
"message": "Payment link created",
"data": {
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567891",
"status": "awaiting_origin",
"linkMode": "invoice",
"pricingType": "fixed",
"payerSource": "wallet",
"label": "Invoice #1042",
"reference": "INV-1042",
"fromName": null,
"payeeName": "Acme Ltd",
"logoUrl": null,
"customerId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"customerName": "Acme Ltd",
"receiveAmount": 500,
"receiveAmountAtomic": "500000000",
"sendAmount": null,
"amount": 500,
"amountAtomic": "500000000",
"origin": null,
"destination": {
"key": "solana",
"network": "Solana",
"symbol": "USDC",
"address": "2dudFU32c5wsRpfRZDXBAJFirHC4hindqpKSCwwtDaAB"
},
"expectedAmountOut": null,
"receivedAmountOut": null,
"refundTo": null,
"depositAddress": null,
"relayRequestId": null,
"relayStatus": null,
"depositTxHash": null,
"inTxHashes": [],
"outTxHashes": [],
"failReason": null,
"successRedirectUrl": null,
"payUrl": "https://pay.remitflex.io/a1b2c3d4-e5f6-7890-abcd-ef1234567891",
"embedUrl": "https://pay.remitflex.io/embed/a1b2c3d4-e5f6-7890-abcd-ef1234567891",
"embedConfig": {
"layout": "default"
},
"quoteValidUntil": null,
"quotedAt": null,
"completedAt": null,
"createdAt": "2026-06-26T09:00:00.000Z",
"updatedAt": "2026-06-26T09:00:00.000Z"
}
}