Payment Links
create individual links you can send to buyers to complete a transaction. You can share these links on different platforms such as web pages, email, text, or QR codes.
Related Guides: Payment Links
Retrieve a list of previously created Payment Links
.
Related guides: Payment Links.
For details on how to query endpoints using the available parameters, see Query Parameters.
Finix-Version | string Default: 2018-01-01 Specify the API version of your request. For more details, see Versioning. Example: 2022-02-01 |
Example response
Authentication information is missing or invalid
Forbidden
Object does not exist
Not Acceptable
Invalid field
curl "https://finix.sandbox-payments-api.com/payment_links" \ -H "Finix-Version: 2022-02-01" \ -u USfdccsr1Z5iVbXDyYt7hjZZ:313636f3-fac2-45a7-bff7-a334b93e7bda
{- "_embedded": {
- "payment_links": [
- {
- "id": "payment_link_ceBaS82SqvsTeg84MDVaF",
- "created_at": "2024-08-26T23:44:03.41Z",
- "updated_at": "2024-08-26T23:44:03.58Z",
- "additional_details": {
- "collect_name": "true",
- "collect_email": "true",
- "collect_phone": "false",
- "collect_billing_address": "false",
- "collect_shipping_address": "false",
- "expiration_in_minutes": "1576800",
- "send_receipt": "true",
- "receipt_requested_delivery_methods": [
- {
- "type": "EMAIL",
- "destinations": [
- "abc@test.com"
]
}, - {
- "type": "SMS",
- "destinations": [
- "2348765431"
]
}
]
}, - "allowed_payment_methods": [
- "BANK_ACCOUNT",
- "PAYMENT_CARD"
], - "amount_details": {
- "amount_type": "FIXED",
- "total_amount": "7500",
- "currency": "USD",
- "min_amount": null,
- "max_amount": null,
- "amount_breakdown": null
}, - "application_id": "AP32VuKPGvgg4qEVo54qazAD",
- "branding": {
- "brand_color": "#111823",
- "accent_color": "#f3eeee",
- "logo_alternative_text": null,
- "button_font_color": null
}, - "buyer_details": null,
- "is_multiple_use": "true",
- "items": [
- {
- "image_details": {
- "primary_image_url": "https://shop.momofuku.com/cdn/shop/articles/Holidays_2021_Table_Spread_3.jpg?v=1636317855",
- "alternative_image_urls": null
}, - "description": null,
- "price_details": {
- "sale_amount": "7500",
- "currency": "USD",
- "price_type": null,
- "regular_amount": "0"
}, - "name": "Holiday Dinner Contribution",
- "quantity": "1"
}
], - "link_expires_at": "2027-08-26T23:44:03.338674Z",
- "merchant_id": "MUaC9hbNvRwBoCJzqrjWk69N",
- "nickname": "Basketball League Holiday Dinner 2",
- "payment_frequency": "ONE_TIME",
- "state": "ACTIVE",
- "tags": null
}, - {
- "id": "payment_link_ceBaKV1D76peSvQt1bPYp",
- "created_at": "2024-08-26T23:42:39.20Z",
- "updated_at": "2024-08-26T23:42:39.34Z",
- "additional_details": {
- "collect_name": "true",
- "collect_email": "true",
- "collect_phone": "false",
- "collect_billing_address": "false",
- "collect_shipping_address": "false",
- "expiration_in_minutes": "1576800",
- "send_receipt": "true",
- "receipt_requested_delivery_methods": [
- {
- "type": "EMAIL",
- "destinations": [
- "abc@test.com"
]
}, - {
- "type": "SMS",
- "destinations": [
- "2348765431"
]
}
]
}, - "allowed_payment_methods": [
- "BANK_ACCOUNT",
- "PAYMENT_CARD"
], - "amount_details": {
- "amount_type": "FIXED",
- "total_amount": "7500",
- "currency": "USD",
- "min_amount": null,
- "max_amount": null,
- "amount_breakdown": null
}, - "application_id": "AP32VuKPGvgg4qEVo54qazAD",
- "branding": {
- "brand_color": "#111823",
- "accent_color": "#f3eeee",
- "logo_alternative_text": null,
- "button_font_color": null
}, - "buyer_details": null,
- "is_multiple_use": "true",
- "items": [
- {
- "image_details": {
- "primary_image_url": "https://shop.momofuku.com/cdn/shop/articles/Holidays_2021_Table_Spread_3.jpg?v=1636317855",
- "alternative_image_urls": null
}, - "description": null,
- "price_details": {
- "sale_amount": "7500",
- "currency": "USD",
- "price_type": null,
- "regular_amount": "0"
}, - "name": "Holiday Dinner Contribution",
- "quantity": "1"
}
], - "link_expires_at": "2027-08-26T23:42:39.156853Z",
- "merchant_id": "MUaC9hbNvRwBoCJzqrjWk69N",
- "nickname": "Basketball League Holiday Dinner 2",
- "payment_frequency": "ONE_TIME",
- "state": "ACTIVE",
- "tags": null
}
]
}, - "_links": {
}, - "page": {
- "limit": "100",
- "next_cursor": "payment_link_c7ADJ9PLbidXLX17iLGSZ"
}
}
Create a Payment Link
to help a buyer submit a payment.
Related guides: Payment Links.
Finix-Version | string Default: 2018-01-01 Specify the API version of your request. For more details, see Versioning. Example: 2022-02-01 |
Example response
Authentication information is missing or invalid
Forbidden
Object does not exist
Not Acceptable
Invalid field
{- "id": "payment_link_ciL8rqqShe8SdssbmfTnA",
- "created_at": "2025-01-01T06:15:26.097859Z",
- "updated_at": "2025-01-01T06:15:26.097859Z",
- "application_id": "APc9vhYcPsRuTSpKD9KpMtPe",
- "merchant_id": "MU7noQ1wdgdAeAfymw2rfBMq",
- "payment_frequency": "ONE_TIME",
- "is_multiple_use": false,
- "allowed_payment_methods": [
- "BANK_ACCOUNT",
- "PAYMENT_CARD"
], - "nickname": "Basketball League Holiday Dinner 2",
- "items": [
- {
- "image_details": {
- "primary_image_url": "https://shop.momofuku.com/cdn/shop/articles/Holidays_2021_Table_Spread_3.jpg?v=1636317855",
- "alternative_image_urls": [ ]
}, - "description": null,
- "price_details": {
- "sale_amount": 7500,
- "currency": "USD",
- "price_type": null,
- "regular_amount": 0
}, - "name": "Holiday Dinner Contribution",
- "quantity": 1
}
], - "buyer_details": null,
- "amount_details": {
- "amount_type": "FIXED",
- "total_amount": 7500,
- "currency": "USD",
- "min_amount": null,
- "max_amount": null,
- "amount_breakdown": null
}, - "branding": {
- "brand_color": "#111823",
- "accent_color": "#f3eeee",
- "logo_alternative_text": null,
- "button_font_color": null
}, - "additional_details": {
- "collect_name": true,
- "collect_email": true,
- "collect_phone": false,
- "collect_billing_address": false,
- "collect_shipping_address": false,
- "expiration_in_minutes": 1576800,
- "send_receipt": true,
- "receipt_requested_delivery_methods": [
- {
- "type": "EMAIL",
- "destinations": [
- "abc@test.com"
]
}, - {
- "type": "SMS",
- "destinations": [
- "2348765431"
]
}
]
}, - "state": "ACTIVE",
- "tags": { },
- "link_expires_at": "2028-01-01T06:15:26.044257Z",
- "_links": {
}
}
Retrieve the details of a previously created Payment Link
.
Finix-Version | string Default: 2018-01-01 Specify the API version of your request. For more details, see Versioning. Example: 2022-02-01 |
Example response
Authentication information is missing or invalid
Forbidden
Object does not exist
Not Acceptable
Invalid field
curl "https://finix.sandbox-payments-api.com/payment_links/payment_link_ciACu5E9CqjqTmPq4k5WT" \ -H "Finix-Version: 2022-02-01" \ -u USfdccsr1Z5iVbXDyYt7hjZZ:313636f3-fac2-45a7-bff7-a334b93e7bda
{- "id": "payment_link_ciL8rqqShe8SdssbmfTnA",
- "created_at": "2025-01-01T06:15:26.097859Z",
- "updated_at": "2025-01-01T06:15:26.097859Z",
- "application_id": "APc9vhYcPsRuTSpKD9KpMtPe",
- "merchant_id": "MU7noQ1wdgdAeAfymw2rfBMq",
- "payment_frequency": "ONE_TIME",
- "is_multiple_use": false,
- "allowed_payment_methods": [
- "BANK_ACCOUNT",
- "PAYMENT_CARD"
], - "nickname": "Basketball League Holiday Dinner 2",
- "items": [
- {
- "image_details": {
- "primary_image_url": "https://shop.momofuku.com/cdn/shop/articles/Holidays_2021_Table_Spread_3.jpg?v=1636317855",
- "alternative_image_urls": [ ]
}, - "description": null,
- "price_details": {
- "sale_amount": 7500,
- "currency": "USD",
- "price_type": null,
- "regular_amount": 0
}, - "name": "Holiday Dinner Contribution",
- "quantity": 1
}
], - "buyer_details": null,
- "amount_details": {
- "amount_type": "FIXED",
- "total_amount": 7500,
- "currency": "USD",
- "min_amount": null,
- "max_amount": null,
- "amount_breakdown": null
}, - "branding": {
- "brand_color": "#111823",
- "accent_color": "#f3eeee",
- "logo_alternative_text": null,
- "button_font_color": null
}, - "additional_details": {
- "collect_name": true,
- "collect_email": true,
- "collect_phone": false,
- "collect_billing_address": false,
- "collect_shipping_address": false,
- "expiration_in_minutes": 1576800,
- "send_receipt": true,
- "receipt_requested_delivery_methods": [
- {
- "type": "EMAIL",
- "destinations": [
- "abc@test.com"
]
}, - {
- "type": "SMS",
- "destinations": [
- "2348765431"
]
}
]
}, - "state": "ACTIVE",
- "tags": { },
- "link_expires_at": "2028-01-01T06:15:26.044257Z",
- "_links": {
}
}
Update an existing Payment Link
resource, commonly used for:
nickname
state
between ACTIVE
and DEACTIVATED
allowed_payment_methods
for an ACTIVE
payment linkbuyer_details
for an ACTIVE
single-use payment linkThe only fields that can be updated for COMPLETED
, EXPIRED
, or DEACTIVATED
payment links are nickname
and tags
.
Finix-Version | string Default: 2018-01-01 Specify the API version of your request. For more details, see Versioning. Example: 2022-02-01 |
Response examples for a request to update a Payment Link
.
Authentication information is missing or invalid
Forbidden
Object does not exist
Invalid field
{- "id": "payment_link_ciL8rqqShe8SdssbmfTnA",
- "created_at": "2025-01-01T06:15:26.097859Z",
- "updated_at": "2025-01-01T06:19:00.724691Z",
- "application_id": "APc9vhYcPsRuTSpKD9KpMtPe",
- "merchant_id": "MU7noQ1wdgdAeAfymw2rfBMq",
- "payment_frequency": "ONE_TIME",
- "is_multiple_use": false,
- "allowed_payment_methods": [
- "BANK_ACCOUNT",
- "PAYMENT_CARD"
], - "nickname": "Rental Payment – Apartment 101",
- "items": [
- {
- "image_details": {
- "primary_image_url": "https://shop.momofuku.com/cdn/shop/articles/Holidays_2021_Table_Spread_3.jpg?v=1636317855",
- "alternative_image_urls": [ ]
}, - "description": null,
- "price_details": {
- "sale_amount": 7500,
- "currency": "USD",
- "price_type": null,
- "regular_amount": 0
}, - "name": "Holiday Dinner Contribution",
- "quantity": 1
}
], - "buyer_details": {
- "identity_id": "IDmj1yA97RS4rMjiQgvK3Vio",
- "first_name": "John",
- "last_name": "Adams"
}, - "amount_details": {
- "amount_type": "FIXED",
- "total_amount": 7500,
- "currency": "USD",
- "min_amount": null,
- "max_amount": null,
- "amount_breakdown": null
}, - "branding": {
- "brand_color": "#111823",
- "accent_color": "#f3eeee",
- "logo_alternative_text": null,
- "button_font_color": null
}, - "additional_details": {
- "collect_name": true,
- "collect_email": true,
- "collect_phone": false,
- "collect_billing_address": false,
- "collect_shipping_address": false,
- "expiration_in_minutes": 1576800,
- "send_receipt": true,
- "receipt_requested_delivery_methods": [
- {
- "type": "EMAIL",
- "destinations": [
- "abc@test.com"
]
}, - {
- "type": "SMS",
- "destinations": [
- "2348765431"
]
}
]
}, - "state": "ACTIVE",
- "tags": {
- "order": "94752"
}, - "link_expires_at": "2028-01-01T06:15:26.044257Z",
- "_links": {
}
}