curl -X 'POST'
'https://ipgrest.asanpardakht.ir/v1/TokenWithDefaultSharing'
-H 'accept: text/plain'
-H 'usr: frosh5014975'
-H 'pwd: Zk2795Yo'
-H 'Content-Type: application/json-patch+json'
-d '{
"merchantConfigurationId": 0,
"serviceTypeId": 0,
"localInvoiceId": 0,
"amountInRials": 0,
"localDate": "string",
"additionalData": "string",
"callbackURL": "string",
"paymentId": "string",
"useDefaultSharing": false,
"settlementPortions": [
{
"iban": "string",
"amountInRials": 0,
"paymentId": "string"
}
]
}'