Description

Signs up a user with an associated card. Note that if the user already exists then the card will be added to the account.

General

End Point
https://www.mogl.com/api/v2/users/signupWithCard
HTTP Method POST
Requires SSL true
Requires Acting User false
Scope(s) None

Path Parameters

Path parameters are ALWAYS required.

None

Request Parameters

Parameters are NOT REQUIRED unless noted otherwise.

user.firstName required The user's first name.
user.lastName required The user's last name.
user.address.postalCode required The user's postal code.
user.password required A password for the user.
user.email required The email address for the user.
billingDetail.cardNumber required The card number to register with this user.
billingDetail.expirationMonth The expiration month of the card.
billingDetail.expirationYear The expiration year of the card.
user.userWhoInvited The referral code the user should be signed up under.
user.donatePercent The default amount to donate per transaction.
user.userMembershipTier The membership tier of the user.
sendNotifications Send notifications to user.
generatePassword Generate a password for the user.

Response Fields

user Returns a user object See user details
card A card detail object. See card details

Try It Now

Endpoint
Client Id
(required)
Access Token
Add
User Token
*(see below -- client_credentials only)
user.firstName
(required)
user.lastName
(required)
user.address.postalCode
(required)
user.password
(required)
user.email
(required)
billingDetail.cardNumber
(required)
billingDetail.expirationMonth
Add
billingDetail.expirationYear
Add
user.userWhoInvited
Add
user.donatePercent
Add
user.userMembershipTier
Add
sendNotifications
Add
generatePassword
Add
*Partners that authenticate with client_credentials should provide a user_token.