A call to get payment methods from interswitch .
Resource Url
Sandbox.interswitchng.com/api/v1/verve/wallet/subscribers/{subscriberId}/paymentmethods.json?schem e={scheme}&channel={channel}&merchantid={merchantId}&version=5.0&transactionType=getpaymentmet hods
GetTransactionMethod Request
The following describes the element required to be sent for a request.
Field | Description | Required |
subscriberId | subscriberId | Yes |
merchantId | The verve wallet merchantId | Yes |
transactionType | transactionType | Yes |
scheme | The verve wallet scheme owner | Yes |
GetTransactionMethod Response
A HTTP response code 200 is sent back for a success
Response Parameters
Field | Description | |
code | Response Code | Present only when there is an error |
description | Description of response | Present only when there is an error |
Error | Description of error (if present) | Present only when there is an error |
paymentmethods | ||
paymentMethodTypeCode | ||
paymentMethodTypeName | ||
paymentMethodCode | ||
paymentMethodName | ||
paymentMethodPAN | ||
paymentMethodStatus | ||
requireExpDate | ||
requirePIN | ||
requireCVV2 | ||
requireOTP | ||
defaultPinActivated | ||
noOfPanDigit | ||
paymentMethodMaskedPan | ||
paymentMethodLongName | ||
paymentMethodLastPanDigits | ||
paymentMethodIssuerCbnCode | ||
paymentMethodIdentifier | ||
paymentMethodAccountNumber |
Sample Response
200
{“paymentmethods”:[{“paymentMethodTypeCode”:”QTA”,”paymentMethodTypeName”:”eCash”,”paymentMet hodCode”:”UBA”,”paymentMethodName”:”UBA”,”paymentMethodPAN”:”5061020000000002330″,”paymentMet hodStatus”:”Active”,”requireExpDate”:”false”,”requirePIN”:”true”,”requireCVV2″:”false”,”requireOTP”:”false”, “defaultPinActivated”:””,”noOfPanDigit”:”0″,”paymentMethodMaskedPan”:”506102*********2330″,”paymentMet hodLongName”:”UBA
eCash”,”paymentMethodLastPanDigits”:”**30″,”paymentMethodIssuerCbnCode”:”033″,”paymentMethodIdenti fier”:”C42E6B3B2E0F4D07A919E726932C1E74″,”paymentMethodAccountNumber”:”5061020000000002330″}]}
Communication
Requests will be sent over the REST protocol