Add a card

POST /api/Card

Request URL

https:// .../api/Card

Use this call to sign up a new card. A sample request and response is below.

Sample request

Click here to view the request and response attributes and their descriptions.

{
   "RequestId":"49af65c0-f815-4f49-ba8d-b67bf1b125f4",
   "FirstName":"John",
   "LastName":"Smith",
   "OwnerExternalId":"4444",
   "Address1":"1 Address Line",
   "City":"Some City",
   "State":"NY",
   "ZipCode":"10989",
   "CountryCode":"US",
   "PhoneNumber":"5555559275",
   "Email":"[email protected]",
   "CreditCardNumber":"REPLACE WITH CARD NUMBER",
   "ExpirationMonth":"06",
   "ExpirationYear":"20",
   "CCV":"420"
}

Sample response

{
   "version":"1.0.0.0",
   "result":{
      "requestId":"c811902a-8b8f-48e1-bebf-4b940bc61018",
      "cardToken":"9LV0IP374JIKNHOR8B1IMSPXWFBGE7QM3EV1WE",
      "firstName":"John",
      "lastName":"Smith",
      "ownerExternalId":"4444",
      "address1":"1 Address Line",
      "address2":null,
      "city":"Some City",
      "isAuthorizationSucceeded":false,
      "state":"NY",
      "countryCode":"US",
      "phoneNumber":"5555559275",
      "email":"[email protected]",
      "expirationYear":"20",
      "expirationMonth":"06",
      "last4Digits":"9905",
      "cardCompany":"MasterCard",
      "isActive":false,
      "deactivatedAt":null,
      "addedOn":"2019-09-09T10:56:20.4297189-04:00",
      "rail":"McSend",
      "authorizationJson":"{\r\n \"PushCardID\": \"c811902a-8b8f-48e1-bebf4b940bc61018\",\r\n \"Authorized\": false,\r\n \"ResponseReceived\":
true,\r\n \"ResponseCode\": \"OK\",\r\n \"ResponseDescription\": \"Partner
is not on boarded for the network to reach account.\",\r\n \"Error\": null,\r\n
\"AddressVerified\": false,\r\n \"Rail\": \"mcSend\",\r\n \"CardType\":
\"unknown\"\r\n}"
   },
   "isSuccessfull":true
}

Did this page help you?