Update payment rule
Changed onPartially updates a previously created payment rule. Only properties included in the request are updated; omitted fields remain unchanged. Setting a nullable property to null clears it.
Request
- Base URLhttps://api.sandbox.bvnk.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
ID of the wallet configuration or rule to update. You can get this value from the id field of the /payment/v1/rules response.
Request body
Example request
{
"fees": {
"customerFee": {
"amount": 100.5,
"currency": "USD"
}
},
"beneficiary": {
"currency": "USDT",
"entity": {
"dateOfBirth": "1990-05-15",
"address": {
"addressLine1": "123 Main Street",
"addressLine2": "Apartment 456",
"postalCode": "NW1 4NP",
"city": "London",
"country": "GB",
"stateCode": "AL"
}
}
}
}Response
Rule updated.
Changes
- breaking
the request property
//became not nullable - breaking
the request property
//became not nullable - breaking
the request property
//////became not nullable - breaking
the request property
//////became not nullable - breaking
the request property
//////became not nullable - breaking
the request property
//////became not nullable - breaking
the request property
//////became not nullable - breaking
the request property
//////became not nullable - breaking
the request property
//////became not nullable - breaking
the request property
//////became not nullable - breaking
the request property
//////became not nullable - breaking
the request property
///////became required - breaking
the request property
///////became required - warning
removed the request property
/////// - warning
removed the request property
/////// - info
added the new
ARBITRUMenum value to the request property// - info
added the new
ARCenum value to the request property// - info
added the new
BASEenum value to the request property//
- breaking
- warning
removed the request property
- info
added the new optional request property
/
- warning