To ensure our records remain in sync with PayPal, you should only perform refunds through Secure Trading, by submitting a REFUND request as described below. We strongly advise against performing refunds directly using your PayPal admin portal, as changes may not be reflected on Secure Trading’s records.


Settle status 10

Settle status “10”

Standard PayPal refunds are settled immediately (settle status “100”). However, under certain conditions defined by PayPal, refunds can be set to settle status “10” (“settling”), which is an intermediate step prior to settlement.


If a PayPal refund on your account is in settle status “10”, it is recommended you query it with our Support Team in case further actions need to be completed to ensure settlement.


REFUND request

The following is an example of a REFUND request for PayPal:

Ensure you include the parenttransactionreference value returned in the AUTH response of the transaction to be refunded (NOT from the ORDER or ORDERDETAILS responses).

import securetrading

stconfig = securetrading.Config()
stconfig.username = "[email protected]"
stconfig.password = "password"
st = securetrading.Api(stconfig)

refund = {
   "requesttypedescriptions": ["REFUND"],
   "sitereference": "test_site12345",
   "parenttransactionreference": "72-32-20006"

strequest = securetrading.Request()
stresponse = st.process(strequest)
#stresponse contains the transaction response
$configData = array(
	'username' => '[email protected]',
	'password' => 'your_webservices_password'
$requestData = array(
    'requesttypedescriptions' => array('REFUND'),
    'sitereference' =>'test_site12345',
    'parenttransactionreference' =>'72-32-20006'

$api = \Securetrading\api($configData);

$response = $api->process($requestData);
// $response contains the transaction response
curl --user [email protected]:password
-H "Content-type: application/json"
-H "Accept: application/json"
-d '{
	"alias": "[email protected]",
	"version": "1.00",
	"request": [{
              "requesttypedescriptions": ["REFUND"],
              "sitereference": "test_site12345",
              "parenttransactionreference": "72-32-20006"


REFUND response

The following is an example of a REFUND response returned:

  u 'requestreference': u 'Ak70u1ujh',
    u 'version': u '1.00',
    u 'response': [{
      u 'transactionreference': u '72-32-20005',
      u 'merchantname': u 'Test Merchant',
      u 'paymenttypedescription': u 'PAYPAL',
      u 'transactionstartedtimestamp': u '2016-12-25 12:31:00',
      u 'errormessage': u 'Ok',
      u 'parenttransactionreference': u '72-32-20004',
      u 'accounttypedescription': u 'ECOM',
      u 'errorcode': u '0',
      u 'settleduedate': u '2016-12-26',
      u 'baseamount': u '1050',
      u 'currencyiso3a': u 'GBP',
      u 'authcode': u 'REFUND ACCEPTED',
      u 'requesttypedescription': u 'REFUND',
      u 'operatorname': u '[email protected]',
      u 'livestatus': u '0',
      u 'settlestatus': u '100'
array(3) {
  ["requestreference"] => string(9) "Acdefhwxy"
  ["version"] => string(4) "1.00"
  ["response"] => array(1) {
    [0] => array(16) {
      ["transactionreference"] => string(11) "72-32-20005"
      ["merchantname"] => string(13) "Test Merchant"
      ["paymenttypedescription"] => string(5) "PAYPAL"
      ["transactionstartedtimestamp"] => string(19) "2016-12-25 12:31:00"
      ["errormessage"] => string(2) "Ok"
      ["parenttransactionreference"] => string(11) "72-32-20004"
      ["accounttypedescription"] => string(4) "ECOM"
      ["errorcode"] => string(1) "0"
      ["settleduedate"] => string(10) "2016-12-26"
      ["baseamount"] => string(4) "1050"
      ["currencyiso3a"] => string(3) "GBP"
      ["authcode"] => string(15) "REFUND ACCEPTED"
      ["requesttypedescription"] => string(6) "REFUND"
      ["operatorname"] => string(23) "[email protected]"
      ["livestatus"] => string(1) "0"
      ["settlestatus"] => string(3) "100"
{"requestreference":"W23-22rd4301","version":"1.00","response":[{"transactionreference":"72-32-20005","merchantname":"Test Merchant","paymenttypedescription":"PAYPAL","transactionstartedtimestamp":"2016-12-25 12:31:00","errormessage":"Ok","parenttransactionreference":"72-32-20004","accounttypedescription":"ECOM","errorcode":"0","settleduedate":"2016-12-26","baseamount":"1050","currencyiso3a":"GBP","authcode":"REFUND ACCEPTED","requesttypedescription":"REFUND","operatorname":"[email protected]","livestatus":"0","settlestatus":"100"}],"secrand":"SNQVg"}