Stronghold.Pay.js
In-store and online
Charge Authorization
BalanceTransfers
Customers
Invoices
Merchants
Charges
PaymentSources
Reports
Sandbox
Settlements
Utility
Models
Authentication
Countries
Currencies
v1 Reference (Deprecated)
post

/v2/links

Creates a new pay_link which allows customers to directly interact with Stronghold-hosted onboarding and payment services.

Request Body

Schema
object
$schema: http://json-schema.org/draft-04/schema#
type
string
1 validation
customer_id
string or null

The customer id the pay link is for.

1 validation
charge_id
string or null

The charge associated with the pay link.

1 validation
tip
object

Responses

The newly created pay link.

Schema
object
$schema: http://json-schema.org/draft-04/schema#
result
object
response_id
string

The response ID.

1 validation + required
time
string

The response time.

1 validation + required
status_code
integer

The HTTP status code.

4 validations + required

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
$$.env
No $$.env variables are being used in this request.