API Documentation

API for pushing and pulling cards

Partner API is A RESTFUL webservices that let brands, card issuers and merchants create and push cards, bills and receipts into any Puut Wallet the world over


Installation

To get started with the Partner API, you will need to follow 3 simple steps:

Sign up in puutwallet.com

  1. Create a business WALLET
  2. Retrieve your API KEY and secret required for each query to be successful in Partner App
  3. Integrate partner API calls with your application

Your application interacts with webservices locally via HTTPS API calls.

For all requests add the following key/value pairs to the header:

  • x-api-key = Your puut key
  • api-secret = Your puut secret
  • Content-Type = application/json

Create Access Card

Method: POST

https://puutwallet.com/partner/documents/create/9

  • 9 = access card type

Note : Put user's username OR user's puutnumber under user object


Request Body

    {
    • "user": {
      • "username": "demo@puutwallet.com"
      • (OR)
      • "puutnumber": "9632527998"
      },

      "program": {
      • "name": "access Name"
      },

    • "number":"112018046668 ",
    • "dateofissue":"2018-08-01",
    • "validfrom":"2018-07-01",
    • "validtill":"2018-09-01",
    • "address":"testaddress"
  • }

Response Body

    {
  •   "success": true,
  •   "errors": null,
  •   "successMessage": "SUCCESSFULLYCREATED"
  • }

Create ticket

Method: POST

https://puutwallet.com/partner/documents/createticket/Denmark

  • Denmark = country name

Note : Put user's username OR user's puutnumber under user object


Request Body

    {
    • "user": {
      • "username": "demo@puutwallet.com"
      • (OR)
      • "puutnumber": "9632527998"
      },

      "program": {
      • "name": "Tickets Name"
      },

    • "number":"123456576886786789013 ",
    • "dateofissue":"2018-10-31",
    • "validfrom":"2018-05-20",
    • "validtill":"2019-10-30",
    • "quantity":"3",
    • "units":"3",
    • "itinerary":"all",
    • "rate":"12"
  • }

Response Body

    {
  •   "success": true,
  •   "errors": null,
  •   "successMessage": "SUCCESSFULLYCREATED"
  • }

Create Receipt

Method: POST

https://puutwallet.com/partner/documents/create/11

  • 11 = type of receipt

Note : Put user's username OR user's puutnumber under user object


Request Body

    {
    • "user": {
      • "username": "demo@puutwallet.com"
      • (OR)
      • "puutnumber": "9632527998"
      },

      "program": {
      • "name": "Receipts Name"
      },

    • "number":"48345724565422 ",
    • "dateofissue":"2018-10-20",
    • "receiptdate":"2018-10-20"
  • }

Response Body

    {
  •   "success": true,
  •   "errors": null,
  •   "successMessage": "SUCCESSFULLYCREATED"
  • }

Create invoice

Method: POST

https://puutwallet.com/partner/documents/create/10

  • 10 = type invoice

Note : Put user's username OR user's puutnumber under user object


Request Body

    {
    • "user": {
      • "username": "demo@puutwallet.com"
      • (OR)
      • "puutnumber": "9632527998"
      },

      "program": {
      • "name": "Bill Name"
      },

    • "invoicenumber":"09147892748362328123",
    • "invoicedate":"2018-07-20",
    • "duedate":"2018-10-30"
  • }

Response Body

    {
  •   "success": true,
  •   "errors": null,
  •   "successMessage": "SUCCESSFULLYCREATED"
  • }

Create invoice

Method: POST

https://puutwallet.com/partner/documents/create/3

  • 3 = type of Vaccination Card

Note : Put user's username OR user's puutnumber under user object


Request Body

    {
    • "user": {
      • "username": "demo@puutwallet.com"
      • (OR)
      • "puutnumber": "9632527998"
      },

      "program": {
      • "name": "Vaccination Name"
      },

    • "number": "1876799876769",
    • "vaccinationname": "vaccination",
    • "dateofissue": "2018-05-20",
    • "validfrom": "2018-05-30",
    • "validtill": "2018-10-30",
    • "vaccinationdate": "2018-11-30"
  • }

Response Body

    {
  •   "success": true,
  •   "errors": null,
  •   "successMessage": "SUCCESSFULLYCREATED"
  • }

Create Credit card

Method: POST

https://puutwallet.com/partner/documents/create/1

  • 1 = type of Credit Card

Note : Put user's username OR user's puutnumber under user object


Request Body

    {
    • "user": {
      • "username": "demo@puutwallet.com"
      • (OR)
      • "puutnumber": "9632527998"
      },

      "program": {
      • "name": "Credit Name"
      },

    • "number": "1777758799678",
    • "dateofissue": "2018-05-20",
    • "validfrom": "2018-05-30",
    • "validtill": "2021-10-30"
  • }

Response Body

    {
  •   "success": true,
  •   "errors": null,
  •   "successMessage": "SUCCESSFULLYCREATED"
  • }

Create Social card

Method: POST

https://puutwallet.com/partner/documents/createsocial/12

  • 12 = type of Social Card

Note : Put user's username OR user's puutnumber under user object


Request Body

    {
    • "user": {
      • "username": "demo@puutwallet.com"
      • (OR)
      • "puutnumber": "9632527998"
      },

      "program": {
      • "name": "Social Name"
      },

    • "number": "31766756756798",
    • "dateofissue": "2018-05-20",
    • "validfrom": "2018-06-30",
    • "validtill": "2018-10-30"
  • }

Response Body

    {
  •   "success": true,
  •   "errors": null,
  •   "successMessage": "SUCCESSFULLYCREATED"
  • }

Create ID card

Method: POST

https://puutwallet.com/partner/documents/create/8

  • 8 = type of ID Card

Note : Put user's username OR user's puutnumber under user object


Request Body

    {
    • "user": {
      • "username": "demo@puutwallet.com"
      • (OR)
      • "puutnumber": "9632527998"
      },

      "program": {
      • "name": "Id Name"
      },

    • "number": "488670091642",
    • "birthdate":"2018-05-20",
    • "dateofissue": "2018-05-20",
    • "validtill": "2018-01-30"
    • "photo":"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAkGBwgHBgkIBwgKCgkLDRYPDQwMDRsUFRAWIB0iIiAd Hx8kKDQsJCYxJx8fLT0tMTU3Ojo6Iys/RD84QzQ5Ojf/2wBDAQoKCg0MDRoPDxo3JR8lNzc3Nzc3 Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzf/wgARCAAZACQDASIA AhEBAxEB/8QAGAAAAwEBAAAAAAAAAAAAAAAAAAQFAwb/xAAWAQEBAQAAAAAAAAAAAAAAAAACAQP/ 2gAMAwEAAhADEAAAAXZOm2KeQ1d1zgE0Ddtc7UsTtc5VjmDIh//EAB8QAAIBBAIDAAAAAAAAAAAA AAIDAQAEEhMUMiIzNP/aAAgBAQABBQIfOhZCHYr1KaXKuECBxGykWs7IKBJRRkZFkqJWbIcQkGJh GYN7Xn0q9t3Vn1d3/8QAGhEAAgMBAQAAAAAAAAAAAAAAABEBAiEQQf/aAAgBAwEBPwG0JrjJvOF/ DD//xAAcEQACAgIDAAAAAAAAAAAAAAAAARIhAhARMUH/2gAIAQIBAT8BxfrGr1BWJc9kD//EACUQ AA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XpmXIuCFLsWjCRI//xAAiEAEAAgIBBAIDAAAAAAAAAAABESEAMUFRYXGxEKGB wfD/2gAIAQEAAT8QtJDQAsY5/GPFiELcpVRqs5kEIojGS0ZSSktHyxGGuoJWlayI2zZSQuG51rBz 0GwyiJHeayFd0QNW4dgR048Ys8WPXUzvRWXmyZVOWy/WSILUm81RL+8dGQi1E2s6Ccjtwb0EA04z mnNwUJTJlF+g6KWjt8Sfb9c383vPpezP6eXP/9k="
  • }

Response Body

    {
  •   "success": true,
  •   "errors": null,
  •   "successMessage": "SUCCESSFULLYCREATED"
  • }

Create Loyalty card

Method: POST

https://puutwallet.com/partner/documents/create/4

  • 4 = type of Loyalty Card

Note : Put user's username OR user's puutnumber under user object


Request Body

    {
    • "user": {
      • "username": "demo@puutwallet.com"
      • (OR)
      • "puutnumber": "9632527998"
      },

      "program": {
      • "name": "Loyalty Name"
      },

    • "number":"4564564564561124",
    • "dateofissue":"2018-05-20",
    • "validfrom":"2018-05-30",
    • "validtill":"2018-10-30"
  • }

Response Body

    {
  •   "success": true,
  •   "errors": null,
  •   "successMessage": "SUCCESSFULLYCREATED"
  • }

Create Boarding Pass

Method: POST

https://puutwallet.com/partner/documents/create/7

  • 7 = type of Boarding Pass

Note : Put user's username OR user's puutnumber under user object


Request Body

    {
    • "user": {
      • "username": "demo@puutwallet.com"
      • (OR)
      • "puutnumber": "9632527998"
      },

      "program": {
      • "name": "Boardingpass Name"
      },

    • ""number":"124377609722",
    • ""boarding":"2018-05-20",
    • ""departure":"2018-08-20",
    • ""validfrom":"2018-05-30",
    • ""validtill":"2018-10-30"
  • }

Response Body

    {
  •   "success": true,
  •   "errors": null,
  •   "successMessage": "SUCCESSFULLYCREATED"
  • }

Create Event

Method: POST

https://puutwallet.com/partner/documents/createevent/Denmark

  • Denmark = country name

Note : Put user's username OR user's puutnumber under user object


Request Body

    {
    • "user": {
      • "username": "demo@puutwallet.com"
      • (OR)
      • "puutnumber": "9632527998"
      },

      "program": {
      • "name": "Events Name"
      },

    • "number":"19770888900143",
    • "dateofissue":"2018-05-20",
    • "validfrom":"2018-09-30",
    • "validtill":"2018-10-30",
    • "seats":"9",
    • "rate":"22"
  • }

Response Body

    {
  •   "success": true,
  •   "errors": null,
  •   "successMessage": "SUCCESSFULLYCREATED"
  • }

Delete Document

Method: DELETE

https://puutwallet.com/partner/documents/delete/1

  • 1 = id of the document to be deleted

Response Body

    {
  •   "success": true,
  •   "errors": null,
  •   "successMessage": "SUCCESSFULLYDELETED"
  • }

Disable Document

Method: DELETE

https://puutwallet.com/partner/documents/10/status/1

  • 10 = id of the document to disable
  • 1 = disable
  • 0 = enable

Response Body

    {
  •   "success": true,
  •   "errors": null,
  •   "successMessage": "SUCCESSFULLYDISABLED"
  • }

Activate Card

Method: POST

https://puutwallet.com/partner/documents/activate/4567832976509230

  • 4567832976509230 = Card number of the document

Response Body

    {
  •   "success": true,
  •   "errors": null,
  •   "successMessage": "SUCCESSFULLYACTIVATED"
  • }

Get Card By Program name

Method: GET

https://puutwallet.com/partner/documents/show/Vaccination Name

  • Vaccination Name = name of the Program

Response Body

    [
    • [
    • 90,
    • "Test Vaccination Card1",
    • "3765908767453256",
    • "vaccination",
    • 1543536000000,
    • 1540857600000,
    • null,
    • null
    • ],
    • [
    • 93,
    • "Test Vaccination Card1",
    • "376453256",
    • "vaccination",
    • 1543536000000,
    • 1540857600000,
    • null,
    • null
    • ],
    • [
    • 118,
    • "Test Vaccination Card1",
    • "3764532278945356",
    • "vaccination",
    • 1543536000000,
    • 1540857600000,
    • null,
    • null
    • ],
    • [
    • 119,
    • "Test Vaccination Card1",
    • "3764532278940156",
    • "vaccination",
    • 1543536000000,
    • 1540857600000,
    • null,
    • null
    • ],
    • [
    • 120,
    • " ",
    • "3764531908940156",
    • "vaccination",
    • 1543536000000,
    • 1540857600000,
    • null,
    • null
    • ],
    • [
    • 121,
    • "okname",
    • "0914789274836748",
    • "vaccination",
    • 1543536000000,
    • 1540857600000,
    • null,
    • null
    • ],
    • [
    • 145,
    • "My Vaccination Card",
    • "1876799876769",
    • "vaccination",
    • 1543532400000,
    • 1572307200000,
    • null,
    • null
    • ],
    • [
    • 282,
    • "My Vaccination Card",
    • "1876799876769",
    • "vaccination",
    • 1543532400000,
    • 1540771200000,
    • null,
    • null
    • ],
    • [
    • 341,
    • "My Vaccination Card",
    • "1876799878953468",
    • "vaccination",
    • 1543532400000,
    • 1540771200000,
    • null,
    • null
    • ],
    • [
    • 352,
    • "My test Vaccination Card",
    • "1876799878953468",
    • "vaccination",
    • 1543532400000,
    • 1540771200000,
    • null,
    • null
    • ],
    • [
    • 359,
    • "My test Vaccination Card",
    • "187787876768",
    • "vaccination",
    • 1543532400000,
    • 1540771200000,
    • null,
    • null
    • ],
    • [
    • 447,
    • "My test Vaccination Card",
    • "1874 5787 6768 1323",
    • "vaccination",
    • 1543532400000,
    • 1540771200000,
    • null,
    • null
    • ],
    • [
    • 466,
    • "My Vaccination Card",
    • "1876 7998 8976 9767",
    • "vaccination",
    • 1543532400000,
    • 1540771200000,
    • null,
    • null
    • ],
    • [
    • 467,
    • "My Vaccination Card",
    • "1876 7998 9076 9323",
    • "vaccination",
    • 1543532400000,
    • 1540771200000,
    • null,
    • null
    • ],
    • [
    • 468,
    • "My Vaccination Card",
    • "1878 0998 9076 9",
    • "vaccination",
    • 1543532400000,
    • 1540771200000,
    • null,
    • null
    • ],
    • [
    • 490,
    • "My Vaccination Card",
    • "1878 0789 9076 9",
    • "vaccination",
    • 1543532400000,
    • 1540771200000,
    • null,
    • null
    • ],
    • [
    • 551,
    • "Vaccination Label",
    • "1878 0789 5476 9",
    • "vaccination",
    • 1543532400000,
    • 1540771200000,
    • null,
    • null
    • ],
    • [
    • 563,
    • "Vaccination Label",
    • "1878 3453 4547 69",
    • "vaccination",
    • 1543532400000,
    • 1540771200000,
    • null,
    • null
    • ],
  • ]

Get Unpaid Invoice

Method: GET

https://puutwallet.com/partner/documents/invoice/unpaid


Response Body

    [
    • {
    • "id": 50,
    • "name": "invoice Card",
    • "invoicedate": 1528070400000,
    • "debtor": "Test Debtor Name",
    • "creditor": "Test Creditor Name",
    • "vatnumber": "784676739",
    • "invoicenumber": "56376675",
    • "amount": "232.00",
    • "deleted": false,
    • "disabled": false,
    • "payment": 454,
    • "docdate": 1528127102000,
    • "duedate": 1528070400000
    • },
    • {
    • "id": 63,
    • "name": "Card Name",
    • "invoicedate": 1529280000000,
    • "debtor": "Debtor Name",
    • "creditor": "Creditor Name",
    • "vatnumber": "43568",
    • "invoicenumber": "345345345",
    • "amount": "0.00",
    • "deleted": false,
    • "disabled": false,
    • "payment": 21,
    • "docdate": 1529344380000,
    • "duedate": 1529366400000
    • }
  • ]

Get Paid Invoice

Method: GET

https://puutwallet.com/partner/documents/invoice/paid


Response Body

    [
    • {
    • "id": 51,
    • "name": "Test invoice",
    • "invoicedate": 1528070400000,
    • "debtor": "Test Debtor Name",
    • "creditor": "TestCreditor Name",
    • "vatnumber": "56374646",
    • "invoicenumber": "56466837",
    • "amount": "1233.00",
    • "deleted": false,
    • "disabled": false,
    • "payment": 453,
    • "docdate": 1528137660000,
    • "duedate": 1528070400000
    • },
    • {
    • "id": 62,
    • "name": "bills Name",
    • "invoicedate": 1528761600000,
    • "debtor": "Debtor Name",
    • "creditor": "Creditor Name",
    • "vatnumber": "34344",
    • "invoicenumber": "676656478",
    • "amount": "10.00",
    • "deleted": false,
    • "disabled": false,
    • "payment": 20,
    • "docdate": 1528816823000,
    • "duedate": 1528761600000
    • }
  • ]

Get Expired Ticket

Method: GET

https://puutwallet.com/partner/documents/invoice/expired


Response Body

    [
    • {
    • "id": 2,
    • "name": "Bus Ticket",
    • "number": "5643",
    • "validfrom": 1502236800000,
    • "validtill": 1503619200000,
    • "quantity": 4,
    • "itinerary": "4",
    • "units": "5",
    • "seats": "4",
    • "rate": 6578,
    • "deleted": false,
    • "disabled": false,
    • "title": "Bus ticket",
    • "docdate": 1502270807000,
    • "validFromFormatted": "08/17",
    • "validTillFormatted": "08/17"
    • },
    • {
    • "id": 18,
    • "name": "Travel ticket",
    • "number": "9823982",
    • "validfrom": 1505865600000,
    • "validtill": 1505865600000,
    • "quantity": 1,
    • "itinerary": "Reims",
    • "units": "12",
    • "seats": "1",
    • "rate": 12,
    • "deleted": false,
    • "disabled": false,
    • "title": "Ticket Title",
    • "docdate": 1505932164000,
    • "validFromFormatted": "09/17",
    • "validTillFormatted": "09/17"
    • }
    • {
    • "id": 148,
    • "name": "My ticket ",
    • "number": "195467693467700",
    • "validfrom": 1527552000000,
    • "validtill": 1540771200000,
    • "quantity": 3,
    • "itinerary": "all",
    • "units": "1",
    • "rate": 12,
    • "deleted": false,
    • "disabled": false,
    • "dateofissue": 1526774400000,
    • "docdate": 1540303482000,
    • "validFromFormatted": "05/18",
    • "validTillFormatted": "10/18",
    • "dateofissueFormatted": "05/18"
    • }
    • {
    • "id": 166,
    • "name": "My ticket ",
    • "number": "19770006500",
    • "validfrom": 1527552000000,
    • "validtill": 1540771200000,
    • "quantity": 3,
    • "itinerary": "all",
    • "units": "1",
    • "rate": 12,
    • "deleted": false,
    • "disabled": false,
    • "dateofissue": 1526774400000,
    • "docdate": 1540808732000,
    • "validFromFormatted": "05/18",
    • "validTillFormatted": "10/18",
    • "dateofissueFormatted": "05/18"
    • }
    • {
    • "id": 167,
    • "name": "My ticket ",
    • "number": "19890706500",
    • "validfrom": 1526688000000,
    • "validtill": 1540771200000,
    • "quantity": 3,
    • "itinerary": "all",
    • "units": "1",
    • "rate": 12,
    • "deleted": false,
    • "disabled": false,
    • "dateofissue": 1527638400000,
    • "docdate": 1540808919000,
    • "validFromFormatted": "05/18",
    • "validTillFormatted": "10/18",
    • "dateofissueFormatted": "05/18"
    • }
    • {
    • "id": 175,
    • "name": "My ticket ",
    • "number": "45689012345",
    • "validfrom": 1526688000000,
    • "validtill": 1540771200000,
    • "quantity": 3,
    • "itinerary": "all",
    • "units": "1",
    • "rate": 12,
    • "deleted": false,
    • "disabled": false,
    • "dateofissue": 1527638400000,
    • "docdate": 1540982644000,
    • "validFromFormatted": "05/18",
    • "validTillFormatted": "10/18",
    • "dateofissueFormatted": "05/18"
    • }
    • {
    • "id": 176,
    • "name": "My ticket ",
    • "number": "456886786789012345",
    • "validfrom": 1526688000000,
    • "validtill": 1540771200000,
    • "quantity": 3,
    • "itinerary": "all",
    • "units": "1",
    • "rate": 12,
    • "deleted": false,
    • "disabled": false,
    • "dateofissue": 1540944000000,
    • "docdate": 1540982881000,
    • "validFromFormatted": "05/18",
    • "validTillFormatted": "10/18",
    • "dateofissueFormatted": "10/18"
    • }
    • {
    • "id": 206,
    • "name": "My ticket ",
    • "number": "456886012345",
    • "validfrom": 1526688000000,
    • "validtill": 1540771200000,
    • "quantity": 3,
    • "itinerary": "all",
    • "units": "1",
    • "rate": 12,
    • "deleted": false,
    • "disabled": false,
    • "dateofissue": 1540944000000,
    • "docdate": 1541415342000,
    • "validFromFormatted": "05/18",
    • "validTillFormatted": "10/18",
    • "dateofissueFormatted": "10/18"
    • }
    • {
    • "id": 207,
    • "name": "My ticket ",
    • "number": "4568877012345",
    • "validfrom": 1537315200000,
    • "validtill": 1540771200000,
    • "quantity": 3,
    • "itinerary": "all",
    • "units": " ",
    • "rate": 12,
    • "deleted": false,
    • "disabled": false,
    • "dateofissue": 1540944000000,
    • "docdate": 1541415496000,
    • "validFromFormatted": "09/18",
    • "validTillFormatted": "10/18",
    • "dateofissueFormatted": "10/18"
    • }
    • {
    • "id": 209,
    • "name": "My ticket ",
    • "number": "456789012345",
    • "validfrom": 1526688000000,
    • "validtill": 1540771200000,
    • "quantity": 3,
    • "itinerary": "all",
    • "units": "1",
    • "rate": 12,
    • "deleted": false,
    • "disabled": false,
    • "dateofissue": 1540944000000,
    • "docdate": 1541415768000,
    • "validFromFormatted": "05/18",
    • "validTillFormatted": "10/18",
    • "dateofissueFormatted": "10/18"
    • }
    • {
    • "id": 288,
    • "name": "My ticket ",
    • "number": "12540959013",
    • "validfrom": 1537315200000,
    • "validtill": 1540771200000,
    • "quantity": 4,
    • "itinerary": "all",
    • "units": "4",
    • "rate": 23,
    • "deleted": false,
    • "disabled": false,
    • "dateofissue": 1540944000000,
    • "docdate": 1542275996000,
    • "validFromFormatted": "09/18",
    • "validTillFormatted": "10/18",
    • "dateofissueFormatted": "10/18"
    • }
  • ]