Create a customer
POST
https://us-central1-appgregator.cloudfunctions.net/stripe/customers/:id/
Query Parameters
Name
Type
Description
name*
String
ft-4
connection_name*
String
stripe-1
Headers
Name
Type
Description
x-api-key*
String
XXX
Request Body
Name
Type
Description
email*
String
ronald@importir.org
description
String
test only
{
"id": "cus_NK5fW5mT2Fwtdr",
"object": "customer",
"address": null,
"balance": 0,
"created": 1675915884,
"currency": null,
"default_currency": null,
"default_source": null,
"delinquent": false,
"description": "test only",
"discount": null,
"email": "ronaldi@importir.org",
"invoice_prefix": "7727FDDA",
"invoice_settings": {
"custom_fields": null,
"default_payment_method": null,
"footer": null,
"rendering_options": null
},
"livemode": false,
"metadata": {},
"name": null,
"next_invoice_sequence": 1,
"phone": null,
"preferred_locales": [],
"shipping": null,
"tax_exempt": "none",
"test_clock": null
}
curl --location --request PUT 'https://us-central1-appgregator.cloudfunctions.net/stripe/customers/cus_LtLicgvX1EQaV8?name=ft-4&connection_name=stripe-1' \
--header 'x-api-key: XXX' \
--header 'Content-Type: application/json' \
--data-raw '{
"balance": 18000,
"address[city]": "New York",
"address[country]": "USA",
"address[line1]": "jl.xxxx",
"description": "test only"
}'
Last updated