...
- API requests:
- REQUEST - Credit Card request: PAYMENT or RESERVE
This is the default API response for either a PAYMENT or RESERVE API call using credit cards as a payment method. Please make sure that you understand the difference between a PAYMENT and RESERVE api calls. - REQUEST - Credit Card: PAYMENT or RESERVE (with Fraud enabled)
PayU's Fraud service is an optional paid-for service. If integrating and signed up for fraud, please make sure to include the sections Basket.productLineItem, Basket.shippingDetails and Fraud - REQUEST - eBucks: PAYMENT
- REQUEST - Credit Card with Handshake
- REQUEST - Credit Card with Token (Save Card) - first request
- REQUEST - Credit Card with Token (Save Card) - subsequent request
- REQUEST - Crediting a transaction
- REQUEST - Credit Card request: PAYMENT or RESERVE
- API response:
- RESPONSE - Credit Card: PAYMENT or RESERVE
This is the default API response for either a PAYMENT or RESERVE API call using credit cards. - RESPONSE - Credit Card: PAYMENT or RESERVE (with 3D Secure enabled - card enrolled)
This is the default API response for either a PAYMENT or RESERVE API call using credit cards, but the store is 3D enabled. - RESPONSE - Credit Card: PAYMENT or RESERVE (with bank reference)
Merchant can request to have the the bank reference returned in the doTransaction API reponse (by default it is not returned) for credit card payments. If enabled it will send the bank reference in the customer field parameter. - RESPONSE - Credit Card: PAYMENT or RESERVE (with Fraud enabled - APPROVE)
This is the default API response for either a PAYMENT or RESERVE API call using credit cards, where Fraud is enabled and an APPROVE response was recieved from the Fraud service provider. - RESPONSE - Credit Card: PAYMENT or RESERVE (with Fraud enabled - CHALLENGE)
This is the default API response for either a PAYMENT or RESERVE API call using credit cards, where Fraud is enabled and a CHALLENGE response was recieved from the Fraud service provider. - RESPONSE - Credit Card: PAYMENT or RESERVE (with Fraud enabled - DENY)
This is the default API response for either a PAYMENT or RESERVE API call using credit cards, where Fraud is enabled and a DENY response was recieved from the Fraud service provider. - RESPONSE - eBucks: PAYMENT
This is the default API response for either a PAYMENT or RESERVE API call using eBucks - response_EFTPro_payment
This is the default API response for EFT Pro payment
- RESPONSE - Credit Card: PAYMENT or RESERVE
Anchor | ||||
---|---|---|---|---|
|
...
Anchor | ||||
---|---|---|---|---|
|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://soap.api.controller.web.payjar.com/">
<soapenv:Header/>
<soapenv:Body>
<soap:doTransaction xmlns:ns2="http://soap.api.controller.web.payjar.com/">
<Api>ONE_ZERO</Api>
<Safekey>{86903CCB-79A9-42EE-0174-1ACE90185507}</Safekey>
<TransactionType>PAYMENT</TransactionType>
<AuthenticationType>NA</AuthenticationType>
<AdditionalInformation>
<merchantReference>MerchRef001</merchantReference>
<supportedPaymentMethods>CREDITCARD</supportedPaymentMethods>
<storePaymentMethod>true</storePaymentMethod>
</AdditionalInformation>
<Customer>
<countryCode>27</countryCode>
<merchantUserId>MechUser001</merchantUserId>
<email>name.surname@mail.com</email>
<firstName>Name</firstName>
<lastName>Surname</lastName>
<mobile>27887592452</mobile>
<regionalId>2345679888</regionalId>
</Customer>
<Basket>
<amountInCents>1000</amountInCents>
<currencyCode>ZAR</currencyCode>
<description>Goods</description>
</Basket>
<Creditcard>
<amountInCents>1000</amountInCents>
<cardExpiry>122013</cardExpiry>
<cardNumber>5111120000091349</cardNumber>
<cvv>123</cvv>
<nameOnCard>N Surname</nameOnCard>
</Creditcard>
</soap:doTransaction>
</soapenv:Body>
</soapenv:Envelope> |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://soap.api.controller.web.payjar.com/">
<soapenv:Header/>
<soapenv:Body>
<soap:doTransaction xmlns:ns2="http://soap.api.controller.web.payjar.com/">
<Api>ONE_ZERO</Api>
<Safekey>{86903CCB-79A9-42EE-0174-1ACE90185507}</Safekey>
<TransactionType>PAYMENT</TransactionType>
<AuthenticationType>TOKEN</AuthenticationType>
<AdditionalInformation>
<merchantReference>MerchRef001</merchantReference>
<supportedPaymentMethods>CREDITCARD</supportedPaymentMethods>
</AdditionalInformation>
<Customer>
<countryCode>27</countryCode>
<merchantUserId>MechUser001</merchantUserId>
<email>name.surname@mail.com</email>
<firstName>Name</firstName>
<lastName>Surname</lastName>
<mobile>27887592452</mobile>
<regionalId>2345679888</regionalId>
</Customer>
<Basket>
<amountInCents>1000</amountInCents>
<currencyCode>ZAR</currencyCode>
<description>Goods</description>
</Basket>
<Creditcard
<pmId>DyZ7XBB5QxF5FEoIADAkMCQAUnlDEmIRVXNTa3xUYVUWfEUT</pmId>
<amountInCents>1000</amountInCents>
<cvv>123</cvv>
</Creditcard>
</soap:doTransaction>
</soapenv:Body>
</soapenv:Envelope> |
Anchor
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://soap.api.controller.web.payjar.com/" xmlns:SOAPENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENV="SOAP-ENV"> <soapenv:Body> <soap:doTransaction xmlns:ns2="http://soap.api.controller.web.payjar.com/"> <Api>ONE_ZERO</Api> <Safekey>{00000000-0000-0000-0000-000000000000}</Safekey> <TransactionType>PAYMENT/RESERVE</TransactionType> <AdditionalInformation> <merchantReference>1234567890</merchantReference> </AdditionalInformation> <Customer> <countryCode>27</countryCode> <countryOfResidence>ZAR</countryOfResidence> <merchantUserId>0123465798</merchantUserId> <email>john.doe@example.com</email> <firstName>John</firstName> <lastName>Doe</lastName> <mobile>0827777777</mobile> <regionalId>5612124567897</regionalId> </Customer> <Basket> <amountInCents>12000</amountInCents> <!-- amount in zar cents --> <currencyCode>ZAR</currencyCode> </Basket> <Ebucks> <amountInCents>12000</amountInCents> <!-- amount in eBucks cents (EB * 10) --> </Ebucks> <Customfield> <key>ebucksOtp</key> <value>909059</value> </Customfield> <Customfield> <key>ebucksAccountNumber</key> <value>80000278865</value> </Customfield> </soap:doTransaction> </soapenv:Body> </soapenv:Envelope> |
...