POST /schedules/{scheduleId}/activate
The following is a BETA API and is subject to change.
If you are interested in integrating Schedules, please reach out to our Support team at support@payjunction.com or submit a ticket through our Developer Support request form for more information about our beta program.
Example Request
curl -X POST https://api.payjunction.com/schedules/10026/activate \
-u "login:password" \
-H "Accept:application/json" \
-H "X-PJ-Application-Key: YOUR_PRODUCTION_APP_KEY"
Example Response - Success
{
"scheduleId" : 10026,
"terminalId" : 10000,
"scheduleType" : "PERIODIC",
"interval" : "MONTH",
"intervalCount" : 1,
"amountBase" : "1.53",
"amountTotal" : "1.53",
"vault" : {
"accountType" : "VISA",
"lastFour" : "0119",
"type" : "CARD"
},
"billing" : {
"email" : "support@payjunction.com"
},
"status" : "ACTIVE",
"startDate" : "2022-01-01",
"created" : "2021-10-14T15:26:44Z",
"lastModified" : "2021-10-27T14:58:51Z"
}