Happy new year!!
I am using the TMF654 /topupBalance to perform a recharge operation. I need a suggestion on the paymentMethod object usage. As per the specification the payment Method will be used as below for example
"paymentMethod": {
"id": "22",
"href": "/paymentMethods/v1/paymentMethod/2",
"type": "credit-card"
}
Can we change / modify the above to the below sample to include the payment related fields, so that I need not have a separate orchestration for payments while performing recharge / topup operation
"paymentMethod": {
"id": "ID",
"name": "REGISTEREDCARD",
"@baseType": "PaymentMethod",
"@type": "RegisteredCreditCard",
"cardType": "Visa",
"cardNumber": "XXXXXXXXXXXXXXX",
"expirationDate": "03/30",
"lastFourDigits": "XXXX"
}
------------------------------
Divakar Soundararajan
TO BE VERIFIED
------------------------------