createPayment
@POST(value = "/collection/{apiVersion}/payment")
Creates a Collection payment (V2). Poll getPaymentStatus with the same uuid as the reference ID to check the outcome.
Return
A Response with an empty body; HTTP 202 indicates the payment was accepted.
Parameters
payment
The payment payload (amount/currency, references, notes, and options).
apiVersion
The API version to target; use v2_0 for this endpoint.
productSubscriptionKey
The Ocp-Apim-Subscription-Key for the Collection product.
uuid
A UUID V4 used as the X-Reference-Id; use this same ID to query the payment status.