username:password
Authorization: Basic *****************
{
"pricing_schemes": [
{
"billing_cycle_sequence": 1,
"pricing_scheme": {
"fixed_price": {
"value": "10",
"currency_code": "USD"
},
"roll_out_strategy": {
"effective_time": "2022-11-01T00:00:00Z",
"process_change_from": "NEXT_PAYMENT"
}
}
},
{
"billing_cycle_sequence": 2,
"pricing_scheme": {
"fixed_price": {
"value": "50",
"currency_code": "USD"
},
"roll_out_strategy": {
"effective_time": "2022-11-01T00:00:00Z",
"process_change_from": "NEXT_PAYMENT"
}
}
}
]
}
curl --location -g --request POST 'https://api-m.sandbox.paypal.com/v1/billing/plans/{{billing_plan_id}}/update-pricing-schemes' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data-raw '{
"pricing_schemes": [
{
"billing_cycle_sequence": 1,
"pricing_scheme": {
"fixed_price": {
"value": "10",
"currency_code": "USD"
},
"roll_out_strategy": {
"effective_time": "2022-11-01T00:00:00Z",
"process_change_from": "NEXT_PAYMENT"
}
}
},
{
"billing_cycle_sequence": 2,
"pricing_scheme": {
"fixed_price": {
"value": "50",
"currency_code": "USD"
},
"roll_out_strategy": {
"effective_time": "2022-11-01T00:00:00Z",
"process_change_from": "NEXT_PAYMENT"
}
}
}
]
}'
{}