Update Payment Status
DEPRECATEDUpdate the payment link to reflect various stages of payment processing.
NOTE: This is automatically updated by our system, and should not be updated manually. This will be deprecated in a future release.
PATCH/api/v1/ypp/payment-links/{paymentLinkId}/payment
Update the payment link to reflect various stages of payment processing.
NOTE: This is automatically updated by our system, and should not be updated manually. This will be deprecated in a future release.
Path Parameters
paymentLinkIdpathrequired
The ID of the payment link
Request Body
object
actionstringrequired
Trigger an action related to payment processing.
start: Initiate an asynchronous payment (e.g.,us_bank_account). This will set the payment status toprocessing.complete: Complete a payment. This will set the payment status tocompleted.cancel: Cancel a payment. This can be used if an asynchronous payment is canceled. This will allow the payment link to be re-used for a future payment.failed: Mark a payment as failed. This can be used if an asynchronous payment fails. This will allow the payment link to be re-used for a future payment.
Allowed values:
startcompletecancelfailedstripePaymentIntentIdstring
[DEPRECATED] - No longer used.
Responses
200Default Response