Hi Divakar
I suggest you take a look at the design guidelines TMF630, which describe how to extend the base TMF Open API model for your particular needs.
Specifically for payment method, I would caution you against including the card number directly in the model, for PCI and other security reasons you should be using tokenized card wherever possible.
Hope it helps
------------------------------
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.
------------------------------
Original Message:
Sent: Jan 03, 2024 20:54
From: Divakar Soundararajan
Subject: TMF654 Prepay Balance Management Payment Method Queries
Can we have a custom attributes like below in the paymentMethod object available in /topupBalance - TMF 654 while designing the API Spec
"paymentMethod": {
"id": "ID",
"name": "REGISTEREDCARD",
"@baseType": "PaymentMethod",
"@type": "RegisteredCreditCard",
"cardType": "Visa",
"cardNumber": "XXXXXXXXXXXXXX",
"expirationDate": "03/30",
"lastFourDigits": "XXXX"
}
------------------------------
Divakar Soundararajan
TO BE VERIFIED
------------------------------