Skip to content

Command: payment.setDynamicFields

Back to Index

Sets dynamic fields of a payment. Non specified fields will be left unchanged. Set value to null to remove field.

Body
fieldsmap of string to any value

Examples

Set dynamic fields of an existing Payment
POST https://<hantera-hostname>/resources/actors/payment/43ebb15a-8e7b-43cd-b3b0-fbb4de269a8f
Authorization: Bearer <YOUR TOKEN>
Content-Type: application/json
[{
"type": "applyCommands",
"body": {
"commands": [{
"type": "setDynamicFields",
"fields": {
"paymentIntentId": "pi_3MtwBwLkdIwHu7ix28a3tqPa"
}
}
]
}
}]
Back to Index