cancel
Showing results for 
Search instead for 
Did you mean: 

How to determine which recurring billing agreement triggered a payment capture?

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 )

)

inkeyes
Contributor
1 REPLY 1

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

mmcguire
Administrator Administrator
Administrator