Skip to main content
POST
Send a payment link card

Authorizations

Authorization
string
header
required

Your API key as a Bearer token: Authorization: Bearer tg_live_...

Path Parameters

id
string
required

Conversation ID

Body

application/json

Payment

amount
integer
required
Required range: 1 <= x <= 100000000000
currency
string
description
string
Maximum string length: 255
expiresInHours
integer

ExpiresInHours bounds the link; 0 is the default of 72 hours.

Required range: 1 <= x <= 720
gatewayId
string
invoiceNumber
string
Maximum string length: 64
title
string
Maximum string length: 120

Response

Created

data
any
error
object
message
string
meta
object
success
boolean