Short Urls
Short urls allow you to share pre-formatted payment requests.
Last updated
Short urls allow you to share pre-formatted payment requests.
Last updated
POST
https://api.8pay.network/v1/:chain/one-time/short-urls
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
GET
https://api.8pay.network/v1/:chain/one-time/short-urls
Retrive a list of short url created by the authenticated user.
GET
https://api.8pay.network/v1/:chain/one-time/short-urls/:path
Retrive a short url created by the authenticated user.
PUT
https://api.8pay.network/v1/:chain/one-time/short-urls/:path
DELETE
https://api.8pay.network/v1/:chain/one-time/short-urls/:path
Delete a short url created by the authenticated user.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
chain
sting
Authorization
string
Bearer <api-key>
name
string
short url's name
params
object
object containing short url parameters
params.description
string
payment's description
params.receivers
array
array of ethereum addresses
params.amounts
array
array of amounts to send to the respective receivers
params.token
string
erc20 token symbol, see Tokens
params.category
string
category of the service/product, see Categories
params.tag
string
label used for identification or classification (max 32 bytes)
params.callbackSuccess
string
redirect url after success
params.callbackError
string
redirect url after failure
params.webhook
string
url for server-side notification
params.extra
object
extra parameters to be sent to webhook
params.chargeReceiversForServiceFee
boolean
when set to true receivers will be charged for service fee instead of sender (default false)
chain
string
Authorization
string
Bearer <api-key>
path
string
path of the short url
chain
string
Authorization
string
Bearer <api-key>
path
string
path of the short url
chain
string
Authorization
string
Bearer <api-key>
name
string
short url’s name
params
string
object containing short url parameters
params.description
string
payment's description
params.receivers
array
array of ethereum addresses
params.amounts
array
array of amounts to send to the respective receivers
params.token
string
erc20 token symbol
params.category
string
category of the service/product, see categories
params.tag
string
label used for identification or classification (max 32 bytes)
params.callbackSuccess
string
redirect url after success
params.callbackError
string
redirect url after failure
params.webhook
string
url for server-side notification
params.extra
string
extra parameters to be sent to webhook
params.chargeReceiversForServiceFee
boolean
when set to true receivers will be charged for service fee instead of sender (default false)
path
string
path of the short url
chain
string
Authorization
string
Bearer <api-key>