7. Details
You can access the details of your cards.
Card - Details
GET
{{Base Address}}/api/paywall/card/production/detail
Simply sending a request to the address provided above will suffice. You can use the 'Base Address' as you wish for both the Testing Environment and the Production Environment.
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.
cardid
string
Yes
The Id information of the card in Paywall. Returned during creation.
The response from the service:
Body
object
The detailed information related to the card.
ErrorCode
int
Error code. If the transaction is successful, it returns '0'.
Result
bool
It returns either true or false. If the transaction is successful, it returns 'true'.
Message
string
If the transaction is unsuccessful, this is the specified error message, providing language support according to the locale parameter.
{
"ErrorCode": 0,
"Result": true,
"Message": "",
"Body": {
"CardId": 15,
"CardIdExternal": 66735,
"ExternalId": "1231231a3",
"BalanceInfo": {
"TotalBalance": 1.00
},
"CardInfo": {
"CardNumberMasked": "529799******0142",
"CardNumber": "5297990033450142",
"ExpiryMonth": "08",
"ExpiryYear": "27",
"Cvv": "413"
}
}
}
Last updated