Dim rest As New ChilkatRest Dim success As Long ' URL: https://api.stripe.com/v1/customers/cus_CBbgVLJqv487Oq Dim bTls As Long bTls = 1 Dim port As Long port = 443 Dim bAutoReconnect As Long bAutoReconnect = 1 success = rest.Connect("api.stripe.com",port,bTls,bAutoReconnect) If (success <> 1) Then Debug.Print "ConnectFailReason: " & rest.ConnectFailReason Debug.Print rest.LastErrorText Exit Sub End If success = rest.SetAuthBasic("STRIPE_SECRET_KEY","") success = rest.AddQueryParam("description","Customer for isabella.williams@example.com") Dim strResponseBody As String strResponseBody = rest.FullRequestFormUrlEncoded("POST","/v1/customers/cus_CBbgVLJqv487Oq") If (rest.LastMethodSuccess <> 1) Then Debug.Print rest.LastErrorText Exit Sub End If Dim jsonResponse As New ChilkatJsonObject success = jsonResponse.Load(strResponseBody) Dim id As String Dim object As String Dim account_balance As Long Dim created As Long Dim currency As String Dim default_source As Long Dim delinquent As Long Dim description As String Dim discount As Long Dim email As Long Dim livemode As Long Dim shipping As Long Dim sourcesObject As String Dim sourcesHas_more As Long Dim sourcesTotal_count As Long Dim sourcesUrl As String Dim subscriptionsObject As String Dim subscriptionsHas_more As Long Dim subscriptionsTotal_count As Long Dim subscriptionsUrl As String Dim i As Long Dim count_i As Long id = jsonResponse.StringOf("id") object = jsonResponse.StringOf("object") account_balance = jsonResponse.IntOf("account_balance") created = jsonResponse.IntOf("created") currency = jsonResponse.StringOf("currency") default_source = jsonResponse.IsNullOf("default_source") delinquent = jsonResponse.BoolOf("delinquent") description = jsonResponse.StringOf("description") discount = jsonResponse.IsNullOf("discount") email = jsonResponse.IsNullOf("email") livemode = jsonResponse.BoolOf("livemode") shipping = jsonResponse.IsNullOf("shipping") sourcesObject = jsonResponse.StringOf("sources.object") sourcesHas_more = jsonResponse.BoolOf("sources.has_more") sourcesTotal_count = jsonResponse.IntOf("sources.total_count") sourcesUrl = jsonResponse.StringOf("sources.url") subscriptionsObject = jsonResponse.StringOf("subscriptions.object") subscriptionsHas_more = jsonResponse.BoolOf("subscriptions.has_more") subscriptionsTotal_count = jsonResponse.IntOf("subscriptions.total_count") subscriptionsUrl = jsonResponse.StringOf("subscriptions.url") i = 0 count_i = jsonResponse.SizeOfArray("sources.data") Do While i < count_i jsonResponse.I = i i = i + 1 Loop i = 0 count_i = jsonResponse.SizeOfArray("subscriptions.data") Do While i < count_i jsonResponse.I = i i = i + 1 Loop