Delete a Stripe Object

Official Content
This documentation is valid for:
You will need the object’s Id:
  1. Call the API using StripeSDKMain External Object
  2. Load Response or Handle Errors
    //Make the API call
    &StripeSDKMain.DeletePlan(&Api_Key,&PlanId,&Response,&Errors,&ErrorCode)
    
    //Handle Errors
    if &ErrorCode = 0
        &StripePlanDeleteResponse.FromJson(&Response)
        Msg(&StripePlanDeleteResponse.ToJson())
    else
        &StripeError.FromJson(&Errors)
        Msg(&StripeError.ToJson())
    EndIf


Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.