Hello, We receive webhook events for payments and subscriptions.
What API calls would need to be taken to determine which subscription a particular authcapture.created event (such as shown below) belongs to?
Thanks Nick
stdClass Object (
[notificationId] => 140466c9-6098-4d84-9349-f7edfe8162c2
[eventType] => net.authorize.payment.authcapture.created
[eventDate] => 2019-02-12T09:26:15.2416353Z
[webhookId] => 93945118-d8b1-4c83-b12d-7d126019410e
[payload] => stdClass Object (
[responseCode] => 1
[authCode] => A5JCBZ
[avsResponse] => Y
[authAmount] => 17.05
[entityName] =>
transaction [id] => 40025136538 )
)
02-12-2019 01:39 AM - edited 02-12-2019 01:41 AM
The GetTransactionDetails api takes a transaction id and will return the transaction details, including the subscription id and the payment number for the subscription.
https://developer.authorize.net/api/reference/#transaction-reporting-get-transaction-details
02-13-2019 09:57 AM - edited 02-13-2019 09:57 AM