-
Notifications
You must be signed in to change notification settings - Fork 10
Providing a payment reference
Ashley Barrett edited this page Feb 6, 2017
·
1 revision
As well as the consumerReference
, a paymentReference
can be provided if a unique reference is required for the payment. This will be returned in the Receipt
object with the status of the payment:
let reference = Reference(consumerRef: "<CONSUMER_REFERENCE>", paymentRef: "<PAYMENT_REFERENCE>")
let payment = try judo.payment(myJudoId, amount: oneGBPAmount, reference: reference)