Create Payment Instrument
Create a new payment instrument for a customer. The request resolves or creates the customer first, then stores the payment instrument under that customer.
Authorizations
Your secret API key obtained from the Clink dashboard (Developers section)
Headers
Current timestamp in milliseconds since Unix epoch (required for request signing)
"1783513683000"
Body
Parameters required to create a payment instrument by API. Provide at least one of customerId, customerEmail, or referenceCustomerId.
Payment instrument type. Supported values are uppercase. Card and browser-wallet payment instruments are not supported by this API.
ALIPAY, CASHAPP, GCASH, KAKAO, PIX, PROMPTPAY, QRIS, TNG, UPI, WECHAT Existing customer ID. At least one customer identifier is required.
Customer email. Used to resolve or create a customer when customerId is not provided.
Merchant-side customer ID used to resolve, create, or bind a customer.
Display name of the customer.
CPF holder name. Required when paymentInstrumentType is PIX.
CPF number. Required when paymentInstrumentType is PIX.
UPI account holder name. Required when paymentInstrumentType is UPI.
Phone number for the UPI account. Required when paymentInstrumentType is UPI.
Billing address for the UPI account. Required when paymentInstrumentType is UPI. city, region, country, line1, and postalCode are required for UPI.
Merchant metadata. Values must be strings.