9. Update Phone Number
Kartlarınızın telefon numaralarını güncelleyebilirsiniz
Card - Update Phone Number
PUT
{{Base Address}}/api/paywall/card/production/phone
The request to the provided address is sufficient. You can use the 'Base Address' as you wish for both the test and live environments.
The header information that needs to be sent to the service is as follows:
apikeyprivate
string
Yes
The Private Key obtained from the merchant panel.
apiclientprivate
string
Yes
The Private Client obtained from the merchant panel.
The parameters that need to be sent to the service are as follows:
CardId
int
Yes
The Paywall ID information of the card. It is returned at the time of creation.
Phone
string
Yes
The phone number you want to assign to the card.
{
"CardId": 1254333,
"Phone": "5435435454"
}
The response from the service:
Body
object
The response returns null. No details provided.
ErrorCode
int
The error code. If the operation is successful, it returns a value of '0'.
Result
bool
It returns a true or false value. If the operation is successful, it returns 'true'.
Message
string
If the operation is unsuccessful, it provides a message regarding the error. It offers language support based on the locale parameter.
{
"ErrorCode": 0,
"Result": true,
"Message": "",
"Body": null
}
Last updated