curl --location --request PATCH '/payment/auto_recharge_prefs' \
--header 'Content-Type: application/json' \
--data-raw '{
"enabled": true,
"invoice_enabled": true,
"preference": "credit_paypal",
"recharge_amount": "104.00",
"threshold_amount": "104.00"
}'
{
"data": {
"enabled": true,
"id": "1524126400473204723",
"invoice_enabled": true,
"preference": "credit_paypal",
"recharge_amount": "104.00",
"record_type": "auto_recharge_pref",
"threshold_amount": "104.00"
}
}
Authorization: Bearer ********************