Code Samples

Fetch the routed debit network of a transactionAnchorIcon

For transactions routed on debit networks, “debit network” field will be populated in the response object during the authorization step and, will be available for subsequent actions, such as submit_for_settlement and void.
  1. Ruby
result.transaction.id;
result.transaction.status;
...;
result.transaction.debit_network;

Transaction search with debit networkAnchorIcon

Transactions can be retrieved using either the transaction ID or the network used for optimized debit routing during the transaction.
  1. Ruby
collection = gateway.transaction.search do |search|
  search.debit_network.is "STAR"
end

collection.each do |transaction|
  puts transaction.amount
end

If you accept cookies, we’ll use them to improve and customize your experience and enable our partners to show you personalized PayPal ads when you visit other sites. Manage cookies and learn more