Payflow Pro Guide

Table Of Contents
Billing Agreements and Reference Transactions
Obtaining the BAID Without Express Checkout Purchase
2
28 Express Checkout for Payflow Pro
Example of Obtaining the BAID Without Express Checkout Purchase
This section provides an example of obtaining the BAID. The billing agreement parameters
(and AMT, which must be 0) are shown in boldface.
Set Express Checkout Request (ACTION=S)
The following is an example of a Set Express Checkout request that passes billing agreement
parameters:
IMPORTANT:Even though no payment is sent, the value of TRXTYPE must be A in the
request strings.
PARTNER=partner
&VENDOR=vendor
&PWD=password
&USER=user
&TRXTYPE=A
&ACTION=S
&TENDER=P
&RETURNURL=http://return.com
&CANCELURL=http://cancel.com
&AMT=0.00
&BA_DESC=purchase Time magazine
&BILLINGTYPE=MerchantInitiatedBilling
&PAYMENTTYPE=any
&BA_CUSTOM=magazine subscription
Set Express Checkout Response
RESULT=0
&RESPMSG=Approved
&TOKEN=EC-36X58962RS656712N
&CORRELATIONID=a398b1f35ebfa
Create Customer Billing Agreement Request (ACTION=X)
The Create Customer Billing Agreement request passes the TOKEN returned in the Set Express
Checkout response:
PARTNER=partner
&VENDOR=vendor
&PWD=password
&USER=user
&TRXTYPE=A
&ACTION=X
&TENDER=P
&TOKEN=EC-36X58962RS656712N
Create Customer Billing Agreement Response
The response returns the BAID: