I use the AuthNet API to download transactions into my system. We are testing the recurring billing feature and are trying to see what data we will get back when a recurring transaction is created.
The API doc for the endpoint /getTransactionListRequest shows it will return the subscription information ( see sample below.) In the first transaction, I see the subscription information. Does that information ONLY show up in the JSON if the transaction was the result of a recurring bill? None of my current transactions show those JSON attributes. None of my current transactions are recurring yet.
{
"getTransactionListResponse": {
"-xmlns": "AnetApi/xml/v1/schema/AnetApiSchema.xsd",
"messages": {
"resultCode": "Ok",
"message": {
"code": "I00001",
"text": "Successful."
}
},
"transactions": {
"transaction": [
{
"transId": "12345",
"submitTimeUTC": "2009-05-30T09:00:00",
"submitTimeLocal": "2009-05-30T04:00:00",
"transactionStatus": "settledSuccessfully",
"invoice": "INV00001",
"firstName": "John",
"lastName": "Doe",
"amount": "2.00",
"accountType": "Visa",
"accountNumber": "XXXX1111",
"settleAmount": "2.00",
"subscription": {
"id": "145521",
"payNum": "1"
},
"profile": {
"customerProfileId": "1806660050",
"customerPaymentProfileId": "1805324550"
}
},
{
"transId": "12345",
"submitTimeUTC": "2009-05-30T09:00:00",
"submitTimeLocal": "2009-05-30T04:00:00",
"transactionStatus": "settledSuccessfully",
"invoice": "INV00001",
"firstName": "John",
"lastName": "Doe",
"amount": "2.00",
"accountType": "Visa",
"accountNumber": "XXXX1111",
"marketType": "eCommerce",
"product": "Card Not Present",
"mobileDeviceId": "2354578983274523978"
}
]
},
"totalNumInResultSet": "2"
}
}
โ04-21-2023 01:28 PM