Allows Issuer to enroll cardholders to the Carbon Calculator Experience platform.
POST {{baseUrl}}/issuers/users
Used to enroll users for the Carbon Calculator Experience API so that they can track the carbon usage for their transactions and provides them with an option to donate towards tree plantation.
Note- * If the issuer has opted for the Donation feature then the fields - name, billing address, email, locale, cardholder name, card number, card base currency and card expiry date fields are mandatory in the payload. * This endpoint uses the Mastercard payload encryption. Refer to the Payload Encryption page for implementation details.
Request Body
{"cardNumber"=>"5344035171224363", "email"=>{"type"=>"home", "value"=>"John.Doe@mail.com"}, "expiryInfo"=>{"month"=>"10", "year"=>"2024"}, "cardBaseCurrency"=>"EUR", "cardholderName"=>"John Doe", "name"=>{"firstName"=>"John", "lastName"=>"Doe"}, "billingAddress"=>{"countryCode"=>"USA", "type"=>"work", "locality"=>"Rly Station", "postalCode"=>"11746", "state"=>"New York", "city"=>"Brooklyn", "line1"=>"83 Mayfair Street", "line2"=>"Main Road", "line3"=>"Snake Hill Ave"}, "locale"=>"en-US"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"cardNumberLastFourDigits":"4363","status":"ACTIVE","userid":"f5d88571-ac15-465a-a0d8-1ad1327b9a06"}