Update a scheduled payment
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
id
string
required
Defaults to required
amount
string
Defaults to 125.00
The amount of the payment
currency
string
Defaults to USD
The currency of the payment.
cardId
string
Defaults to ew8th82xv1lilghu04hh9gzt
The id of the card that was previously created.
bankId
string
The id of the bank that was previously created.
tokenId
string
The id of a token previously registered.
schedule
object
The schedule object to define when the payments would run and number of times.
scheduleobject
name
string
Defaults to Monthly Installment update
A name for the scheduled payment.
description
string
A short description of the scheduled payment.
``200 200
Updatedabout 6 years ago
ShellNodeRubyPHPPython
xxxxxxxxxx
curl --request PUT \
--url https://api.paystand.co/v3/scheduledPayments/required \
--header 'Accept: ••••' \
--header 'Authorization: Bearer ••••' \
--header 'Content-Type: ••••' \
--header 'X-CUSTOMER-ID: ••••' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"amount": "125.00",
"currency": "USD",
"cardId": "ew8th82xv1lilghu04hh9gzt",
"schedule": {
"interval": "month",
"intervalCount": "1",
"anchor": "start",
"timesToRun": "12"
},
"name": "Monthly Installment update"
}
'
Click Try It! to start a request and see the response here! Or choose an example:
application/json
``200 - Result
Updatedabout 6 years ago