Create Metadata Mappings
1 min
POST
https://api.nue.io/v1/stripe/metadata-mapping
acceptstringGenerated from available response content types
bodyobjectList of metadata mappings to create. Each mapping defines a connection between a Nue field and a Stripe field.
200Metadata mappings created successfully. Returns the number of mappings registered in this request.
400<p>Bad Request - Invalid mapping configuration</p>
401<p>Unauthorized - Invalid or missing API key</p>
curl --request POST \
--url https://api.nue.io/v1/stripe/metadata-mapping \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"metadataMappingList": [
{
"targetObject": "Customer",
"targetField": "address.postal_code"
}
]
}'