logo Mercanet

Release 24.6

go directly to content

Search by keywords

deletePaymentMean

To search in the page use Ctrl+F on your keyboard

This function allows a merchant to permanently delete one of the payment means of his wallet.

If the account or the card does not exist, a 01 response code is returned. If the deletion works, 00 response code is returned and the date of removal.

Recommended interfaceVersion: WR_WS_2.55

  • PROD
    https://office-server.mercanet.com/rs-services/v2/wallet/deletePaymentMean
    method
    POST
  • TEST
    https://office-server-mercanet.test.sips-services.com/rs-services/v2/wallet/deletePaymentMean
    method
    POST
  • PROD
    https://office-server.mercanet.com/services/v2/wallet?wsdl
    method
    POST
  • TEST
    https://office-server-mercanet.test.sips-services.com/services/v2/wallet?wsdl
    method
    POST

Required

Optional

Request sample

            {
  "interfaceVersion": "WR_WS_2.3",
  "keyVersion": "2",
  "merchantId": "011223344550000",
  "merchantWalletId": "walId011",
  "paymentMeanId": "2",
  "seal": "dc02b07a50eaae5007be184ede9a1b03150809ced6fca81c81f7a54929129b44"
}

        
                  <urn:deletePaymentMean>
         <urn:input>
            <urn:merchantId>011223344550000</urn:merchantId>
            <urn:interfaceVersion>WR_WS_2.2</urn:interfaceVersion>
            <urn:merchantWalletId>walId011</urn:merchantWalletId>
            <urn:paymentMeanId>2</urn:paymentMeanId>
         </urn:input>
      </urn:deletePaymentMean>

        

Required

  • seal
    presence
    Required
    Interface version
    2.0

    Message seal used to ensure the integrity of the request and the authentication of sender / receiver of the message.

Optional

Response sample

            {
  "walletActionDateTime": "2014-05-19T23:22:08-12:00",
  "walletResponseCode": "00",
  "seal": "e721a45f7decf017ba079dd0c25b1e7916c6c9e6c7e86d6cef37bec2cf42ba04"
}

        
                  <deletePaymentMeanResponse xmlns="urn:sips:cn:contract:office:wallet:v2">
         <output>
            <walletActionDateTime>2012-10-17T23:50:44-12:00</walletActionDateTime>
            <walletResponseCode>00</walletResponseCode>
            <errorFieldName />
         </output>
      </deletePaymentMeanResponse>

        

Changelog


Interface version Data Attendance Container
2.12 intermediateServiceProviderId Request
2.12 sealAlgorithm Request
2.0 interfaceVersion Request
2.0 keyVersion Request
2.0 merchantId Request
2.0 merchantWalletId Request
2.0 paymentMeanId Request
2.0 seal Request/Response
2.0 errorFieldName Response
2.0 walletActionDateTime Response
2.0 walletResponseCode Response