Creating a Creditor
Check whether the target funds controller requires creditor party management, then register a creditor.
Sign the request
curl -X POST "https://signing.api.example.com/v1/sign" \
-H "Content-Type: application/json" \
-d '{"SignFor":"RTGS:G:BL12345678","Method":"GET","PathAndQuery":"/v1/funds-controllers"}'
Retrieve funds controllers
curl -X GET "https://api.example.com/v1/funds-controllers" \
-H "rtgs-global-sig: {signature}"
Verify the response signature
curl -X POST "https://signing.api.example.com/v1/verify" \
-H "Content-Type: application/json" \
-d '{"Signature":"{rtgs-global-sig-from-response}","Message":"{response-body}"}'
Webhooks
creditor.created
{
"specversion": "1.0",
"type": "creditor.created",
"source": "rtgs.global",
"id": "e8639fe7-51b4-487c-851f-3dcb35f43a3e",
"verificationmaterial": "{signature}",
"data_base64": "{base64-encoded-payload}"
}