To retreive a Stripe object, you need its Id:
- Retreive the object using StripeSDKMain External Object
- Load Response or Handle Errors
//Make the API call
&StripeSDKMain.RetreiveSubscription(&Api_Key,&SubscriptionId,&Response,&Errors,&ErrorCode)
//Handle Errors
if &ErrorCode = 0
&StripeSubscriptionRetreiveResponse.FromJson(&Response)
Msg(&StripeSubscriptionRetreiveResponse.ToJson())
else
&StripeError.FromJson(&Errors)
Msg(&StripeError.ToJson())
EndIf