Open APIs

 View Only
  • 1.  TMF670 Payment Methods API - GET payment methods for account

    Posted May 26, 2020 01:55
    Hi,

    I see that TMF670 Payment Methods API supports the GET operation "GET /paymentMethods/v1/account/{accountId}/paymentMethod".

    This is counter to the general convention for GET, that is, .../apiName/apiVersion/apiResource.

    Shouldn't the above GET be achievable the 'conventional' way using GET /paymentMethods/v1//paymentMethod with the query parameter specifying the account Id?

    ------------------------------
    Madhu Narasimhan
    Oracle Corporation
    ------------------------------


  • 2.  RE: TMF670 Payment Methods API - GET payment methods for account

    Posted May 26, 2020 06:49
    Hi Madhu

    I think that your analysis is correct, and I have opened an issue to record that.
    Thanks for calling this problem out.

    Note that TMF670 was published a long time ago and has not (yet) been aligned with updated design guidelines. I don't know what the plans are to refresh this API.

    ------------------------------
    Jonathan Goldberg
    Amdocs Management Limited
    Any opinions and statements made by me on this forum are purely personal, and do not necessarily reflect the position of the TM Forum or my employer.
    ------------------------------



  • 3.  RE: TMF670 Payment Methods API - GET payment methods for account

    Posted May 27, 2020 07:53
    Hi,

    I agree with Jonathan - this is wrong. We are just about to start refactoring this API to bring it to the same level of consistency with the others, and we will attend to this as we do so.


    ------------------------------
    Stephen Harrop
    Principal Integration Architect
    Vodafone Group
    ------------------------------



  • 4.  RE: TMF670 Payment Methods API - GET payment methods for account

    Posted May 27, 2020 11:34
    Thanks, Jonathan and Stephen. In the meanwhile, we will implement this GET using query parameter and not support the longer format.

    ------------------------------
    Madhu Narasimhan
    Oracle Corporation
    ------------------------------