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?
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
transaction [id] => 40025136538 )
The GetTransactionDetails api takes a transaction id and will return the transaction details, including the subscription id and the payment number for the subscription.