Create a new payment link
Creates a new payment link that can be shared with customers to collect payments.
Body
Amount type for the payment link. Only FIXED is currently supported
"FIXED"
Unique reference for the payment link
"INV-2024-001"
Fixed amount in cents for the payment link
x >= 1100000
Callback URL that will be attached to payins created from this payment link
"https://example.com/callback"
Payment rail. Restricts which rail the customer must use.
BRE_B, PSE "PSE"
Pre-established customer data attached to payins created from this link
PSE payment details attached to this payment link when rail is PSE
Response
Payment link successfully created
Unique payment link ID
"ad78347a-9fd5-40b3-9e18-d89a0fe9989d"
URL to share with the customer to complete the payment using the payment link
"https://pay.hellopay.com.co/link/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
Creation timestamp
"2024-01-01T00:00:00.000Z"
Expiration timestamp
"2024-01-02T00:00:00.000Z"
Payment link status
"PENDING"
Payment link customer data
{
"name": "John Doe",
"email": "john.doe@example.com",
"phone": "+1234567890",
"idType": "CO_CC",
"idNumber": "1234567890"
}Payment link rail
"BRE_B"

