Skip to main content
POST
Create payment link

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Payload payment link

title
string
required
amount
number
required
currency
string
required
Example:

"IDR"

successUrl
string<uri>
expiresAt
string<date-time>
customer
object
metadata
object

Response

Payment link berhasil dibuat

id
string
title
string
checkoutUrl
string<uri>
status
enum<string>
Available options:
active,
expired,
archived
createdAt
string<date-time>