Approving a Relationship
Approve an incoming relationship request from another participant on the RTGS.global network.
Sign the request
curl -X POST "https://signing.api.example.com/v1/sign" \
-H "Content-Type: application/json" \
-d '{"SignFor":"RTGS:G:BL12345678","Method":"POST","PathAndQuery":"/v3/relationships/approve","Message":"{\"RequestingParticipantRtgsGlobalId\":\"RTGS:B:US12345678\",\"CorrelationId\":\"a1b2c3d4-e5f6-7890-1234-567890abcdef\"}"}'
Approve the relationship request
curl -X POST "https://api.example.com/v3/relationships/approve" \
-H "Content-Type: application/json" \
-H "rtgs-global-sig: {signature}" \
-d '{"RequestingParticipantRtgsGlobalId":"RTGS:B:US12345678","CorrelationId":"a1b2c3d4-e5f6-7890-1234-567890abcdef"}'
Webhooks
relationship.approved
{
"specversion": "1.0",
"type": "relationship.approved",
"source": "rtgs.global",
"id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
"verificationmaterial": "{signature}",
"data_base64": "{base64-encoded-payload}"
}