Extend the lifespan of an existing Merchant application
The application link has a lifetime of 14 days since the creation. If the merchant is not able to submit the application by the expiration date, it is required to extend the lifespan of the application using this endpoint.
Using the application_id
that is received with the initiate application request perform the following request to get a new valid link. Using the new link the merchant can continue his application, no data is lost when an application link expires.
- Sandbox
- Live
POST https://api.sandbox.getpaid.io/applications/{{application_id}}/link
Sample request
curl -X POST \
https://api.sandbox.getpaid.io/applications/{{application_id}}/link \
-H 'content-type: application/json' \
-H 'authorization: Bearer {{your_auth_token}}'
Sample response
{
"id": "app_44678r08jtm8zbt227tzhc4nw5",
"_links": {
"redirect": {
"href": "https://hop.sandbox.getpaid.io/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJhcHBfNGZkaHZrZzYyeWJyNjh5bWNqdnM1cno0bjEiLCJzdWIiOiJhY2NfNHI4dDMxMG5ocDJtZmVyZGMxd2FhMDdzNWQiLCJuYmYiOjE2Nzc2NzYwMjgsImV4cCI6MTY3ODg4NTYyOCwiaWF0IjoxNjc3Njc2MDI4LCJpc3MiOiJodHRwczovL2FwaS5kZXYuZ2V0cGFpZC5pbyIsImF1ZCI6Imh0dHBzOi8vYXBpLmRldi5nZXRwYWlkLmlvIn0.XRr1h63iHXHs4FxweQf2JvUZpdsOHTBz-3LZjWjKkK4"
}
}
}
POST https://api.getpaid.io/applications/{{application_id}}/link
Sample request
curl -X POST \
https://api.getpaid.io/applications/{{application_id}}/link \
-H 'content-type: application/json' \
-H 'authorization: Bearer {{your_auth_token}}'
Sample response
{
"id": "app_44678r08jtm8zbt227tzhc4nw5",
"_links": {
"redirect": {
"href": "https://hop.getpaid.io/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJhcHBfNGZkaHZrZzYyeWJyNjh5bWNqdnM1cno0bjEiLCJzdWIiOiJhY2NfNHI4dDMxMG5ocDJtZmVyZGMxd2FhMDdzNWQiLCJuYmYiOjE2Nzc2NzYwMjgsImV4cCI6MTY3ODg4NTYyOCwiaWF0IjoxNjc3Njc2MDI4LCJpc3MiOiJodHRwczovL2FwaS5kZXYuZ2V0cGFpZC5pbyIsImF1ZCI6Imh0dHBzOi8vYXBpLmRldi5nZXRwYWlkLmlvIn0.XRr1h63iHXHs4FxweQf2JvUZpdsOHTBz-3LZjWjKkK4"
}
}
}