Advertisement
Guest User

Untitled

a guest
Sep 29th, 2016
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 7.04 KB | None | 0 0
  1. purchase create
  2.  
  3. {
  4.   "purchase": {
  5.     "id": "AAEAAADoKU7YIwIY-c4aUxc0S5Gwnfy-9OK888QDWvZKLYQrK62BHJb-",
  6.     "displayId": "ULWP A6UX 9SA2 U684",
  7.     "creationDateTime": "2016-09-29T13:21:15Z",
  8.     "amount": {
  9.       "currency": "NGN",
  10.       "amount": 5
  11.     },
  12.     "customType": "",
  13.     "walletId": "AAEAAAMk7LOB7yhbuyYF4twdOw_mbM8c0SkCN-jyJfHSfT3lObAp94vQ",
  14.     "walletAccountId": "AAEAAAP2wHesNlgJwictLGppA9NSFvYZ4BzMhMXkwxmCFsz0WjEfTuoV",
  15.     "walletAccountItemId": "AAEAAAfCjEVu-5jboawf1tUoaQUfZjH96uupLQHtdZ09x-tEEzblb0gr",
  16.     "walletAccountItemDisplayId": "STH2 HUG4 UU34 U700",
  17.     "shopConfigurationId": "AAEAAADoKU7YIEFuHnCjgmQrHY1WwOuDbbPYMCc50pSQEjSG58AdYxjF",
  18.     "purchaseType": "Regular",
  19.     "purchaseStatus": "Created",
  20.     "description": "test",
  21.     "merchantAmount": {
  22.       "currency": "NGN",
  23.       "amount": 5
  24.     },
  25.     "merchantExchangeRate": 1,
  26.     "merchantExchangeRateId": null,
  27.     "consumerAmount": null,
  28.     "consumerExchangeRate": null,
  29.     "consumerExchangeRateId": null,
  30.     "consumerWalletId": null,
  31.     "consumerWalletAccountId": null,
  32.     "consumerWalletAccountItemId": null,
  33.     "consumerWalletAccountItemDisplayId": null,
  34.     "paymentSessionId": null,
  35.     "refundedAmount": {
  36.       "currency": "NGN",
  37.       "amount": 0
  38.     },
  39.     "refundedAmountLC": {
  40.       "currency": "EUR",
  41.       "amount": 0
  42.     },
  43.     "consumerRefundedAmount": null,
  44.     "merchantRefundedAmount": {
  45.       "currency": "NGN",
  46.       "amount": 0
  47.     },
  48.     "loyaltyCreditAmount": {
  49.       "currency": "NGN",
  50.       "amount": 0
  51.     },
  52.     "loyaltyCreditAmountLC": {
  53.       "currency": "EUR",
  54.       "amount": 0
  55.     },
  56.     "consumerLoyaltyCreditAmount": null,
  57.     "merchantLoyaltyCreditAmount": {
  58.       "currency": "NGN",
  59.       "amount": 0
  60.     },
  61.     "consumerReservedEmoney": null,
  62.     "consumerReservedLoyaltyCredits": null,
  63.     "consumerAmountDue": null,
  64.     "consumerAmountPaid": null,
  65.     "consumerDiscountAmount": null,
  66.     "discountAmountLC": {
  67.       "currency": "EUR",
  68.       "amount": 0
  69.     },
  70.     "refundedConsumerDiscountAmount": null,
  71.     "refundedDiscountAmountLC": {
  72.       "currency": "EUR",
  73.       "amount": 0
  74.     },
  75.     "refundedMerchantDiscountAmount": {
  76.       "currency": "NGN",
  77.       "amount": 0
  78.     },
  79.     "merchantDiscountAmount": {
  80.       "currency": "NGN",
  81.       "amount": 0
  82.     },
  83.     "discountAmount": {
  84.       "currency": "NGN",
  85.       "amount": 0
  86.     },
  87.     "merchantReferenceId": "123456789",
  88.     "purchaseSuccessUrl": "",
  89.     "purchaseFailureUrl": "",
  90.     "purchaseCancelUrl": "",
  91.     "purchaseReturnUrl": "",
  92.     "basket": "",
  93.     "shippingAddress": "",
  94.     "billingAddress": "",
  95.     "consumerData": "",
  96.     "consumerWalletOwnerData": null,
  97.     "additionalData": "",
  98.     "addressRequired": false,
  99.     "sendUserData": false,
  100.     "securityPinProcessType": "Undecided",
  101.     "potentialIssuableLoyaltyPoint": null,
  102.     "purchaseContext": "Regular"
  103.   },
  104.   "requestId": "rBIABwAAAVd2Gy6rLSugK96cELM",
  105.   "status": "Success"
  106. }
  107.  
  108. ----
  109. getPaymentDetails
  110. {
  111.   "paymentOptions": {
  112.     "walletId": "",
  113.     "purchaseId": "AAEAAADoKU7YIwIY-c4aUxc0S5Gwnfy-9OK888QDWvZKLYQrK62BHJb-",
  114.     "purchaseAmount": {
  115.       "currency": "NGN",
  116.       "amount": 5
  117.     },
  118.     "consumerPurchaseAmount": {
  119.       "currency": "NGN",
  120.       "amount": 5
  121.     },
  122.     "emoneyAmount": {
  123.       "currency": "NGN",
  124.       "amount": 0
  125.     },
  126.     "paymentAmount": {
  127.       "currency": "NGN",
  128.       "amount": 5
  129.     },
  130.     "loyaltyCreditsAmount": null,
  131.     "consumerLoyaltyCreditsAmount": null,
  132.     "emoneyDetails": null,
  133.     "paymentMethodDetails": {
  134.       "paymentSessionId": "AAEAAAkKbHgJGAFUiPj7WCm8nF4zsUE1F-6R0LhJKyLJP4NLD0dVHKEY",
  135.       "paymentMethods": [
  136.         {
  137.           "name": "centralPayPlus",
  138.           "selected": false,
  139.           "paymentInstruments": [],
  140.           "requiredFields": null,
  141.           "cardSchemes": null,
  142.           "fieldValueRestrictions": null
  143.         },
  144.         {
  145.           "name": "centralPayPlusMobile",
  146.           "selected": false,
  147.           "paymentInstruments": [],
  148.           "requiredFields": null,
  149.           "cardSchemes": null,
  150.           "fieldValueRestrictions": null
  151.         },
  152.         {
  153.           "name": "centralPayPlusOnDelivery",
  154.           "selected": false,
  155.           "paymentInstruments": [],
  156.           "requiredFields": null,
  157.           "cardSchemes": null,
  158.           "fieldValueRestrictions": null
  159.         }
  160.       ],
  161.       "action": null,
  162.       "threeDSRedirectUrl": null,
  163.       "paReq": null,
  164.       "merchantData": null,
  165.       "threeDSadditionalData": null,
  166.       "externalReference": null,
  167.       "limitDefinitions": [],
  168.       "limitRangeSummary": null
  169.     },
  170.     "cashbackPurchaseLimit": null,
  171.     "paymentNecessity": "NotEnoughUsableEmoney"
  172.   },
  173.   "requestId": "rBIABwAAAVd2HJndLSugK96cELE",
  174.   "status": "Success"
  175. }
  176.  
  177. ----
  178. {
  179.   "pagingInfo": {
  180.     "requestedStartWith": 0,
  181.     "requestedCount": 20,
  182.     "actualCount": 2,
  183.     "totalCount": 2,
  184.     "showPrevious": false,
  185.     "showNext": false,
  186.     "currentPageNumber": 0,
  187.     "totalPageCount": 1
  188.   },
  189.   "paymentInstruments": [
  190.     {
  191.       "paymentInstrumentId": "AAEAAADmFtJl1fFluobXnBT7b0FLB-CF9LHqNzQymoxa3wk1oMOvFsCn",
  192.       "paymentInstrumentPublicId": "AAEAAAQnvHoiVgbB-UTU3p4YM3_C9uJc9E04fhcIMJ2xpGMmM-r01Ss6",
  193.       "displayValue": "Zenith Bank null 2345678901",
  194.       "searchValue": "1ff93e91a74d420ed3f673b7f10edf309b43b3378c96182f4f27dba9b398106822a28539ea3eb78fe12ad595579efe4b862e85cb54d99773c7455f2b1fe72026",
  195.       "creationDateTime": "2016-09-29T10:24:21Z",
  196.       "currencyCode": "NGN",
  197.       "paymentInstrumentType": "BankAccount",
  198.       "paymentInstrumentStatus": "Active",
  199.       "paymentInstrumentVerificationStatus": "Verified",
  200.       "customType": null,
  201.       "walletId": "AAEAAAMk7LOB5JBb80yqUcDLPie8PJzmsahvK5F-TDaW_ZUTJ2zd3cbb",
  202.       "additionalData": null,
  203.       "paymentInstrumentCapabilities": [
  204.         "OfflineCredit",
  205.         "OnlineCredit",
  206.         "OfflineDebit",
  207.         "OnlineDebit"
  208.       ],
  209.       "publicPaymentInstrumentInfo": null
  210.     },
  211.     {
  212.       "paymentInstrumentId": "AAEAAADmFtJl1mHppI3SJ35qJAoEDRFwTwL1S4NhNme2bO_vCRiriaT5",
  213.       "paymentInstrumentPublicId": "AAEAAAQnvHoiSd3x_S16OlFUpCij2o65Z-XU0DGgFFxP2BbZx10DCFcE",
  214.       "displayValue": "Zenith Bank null 2345901678",
  215.       "searchValue": "86a09271db4f84f9400083b50681bd4fd0bfc94b7f2315f545ff8593b874b8925b04725da17ac5e4f751dc514fc6e5c001938c9d6e710350b7d2f1d27eda9b78",
  216.       "creationDateTime": "2016-09-29T13:19:38Z",
  217.       "currencyCode": "NGN",
  218.       "paymentInstrumentType": "BankAccount",
  219.       "paymentInstrumentStatus": "Active",
  220.       "paymentInstrumentVerificationStatus": "Verified",
  221.       "customType": null,
  222.       "walletId": "AAEAAAMk7LOB5JBb80yqUcDLPie8PJzmsahvK5F-TDaW_ZUTJ2zd3cbb",
  223.       "additionalData": null,
  224.       "paymentInstrumentCapabilities": [
  225.         "OfflineCredit",
  226.         "OnlineCredit",
  227.         "OfflineDebit",
  228.         "OnlineDebit"
  229.       ],
  230.       "publicPaymentInstrumentInfo": null
  231.     }
  232.   ],
  233.   "requestId": "rBIABwAAAVd2HxZTLSugK96cELA",
  234.   "status": "Success"
  235. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement