The following request examples are in the format to use in the gateway playground for a COPYandPAY integration.
This integration uses the iframe checkout of the payment gateway for SAQ-A PCI compliance.
You can find the gateway playground at Gateway documentation for COPYandPAY integration.
COPYandPAY request to create a checkout for a single payment.
entityId={channelId}
amount=11.00
currency=EUR
paymentType=DB
integrity=true
merchantTransactionId=P123
billing.street1=Calle Principal 123
billing.city=Barcelona
billing.country=ES
billing.postcode=08123
[email protected]
customer.ip=2001:8a0:7f4b:1b00:dd4e:2bf6:1fb8:56af
customer.givenName=John
customer.surname=Smith
customer.phone=34667666666
customer.merchantCustomerId=CUST11
customParameters[CRMCustomerID]=CUST11
customParameters[OrderID]=SP-00011
customParameters[PaymentType]=SinglePayment
threeDSecure.challengeIndicator=04
customParameters[3DS_enrolled]=true
customParameters[3DS2_flow]=challenge
testMode=EXTERNAL
COPYandPAY request to create a checkout for a one-click checkout initial payment
entityId={channelId}
amount=20.01
currency=EUR
paymentType=DB
integrity=true
merchantTransactionId=P124
billing.street1=Ave. Diagonal 611
billing.city=Barcelona
billing.country=ES
billing.postcode=08028
standingInstruction.type=UNSCHEDULED
standingInstruction.mode=INITIAL
standingInstruction.source=CIT
createRegistration=true
[email protected]
customer.ip=2001:8a0:7f4b:1b00:dd4e:2bf6:1fb8:56af
customer.givenName=John
customer.surname=Smith
customer.phone=34667666666
customer.merchantCustomerId=CUST01
threeDSecure.challengeIndicator=04
customParameters[CRMCustomerID]=CUST01
customParameters[OrderID]=OC-00100
customParameters[PaymentType]=OneClickCheckout
customParameters[3DS_enrolled]=true
customParameters[3DS2_flow]=challenge
testMode=EXTERNAL
COPYandPAY request to create a checkout for a one-click checkout repeated payment
entityId={channelId}
amount=20.02
currency=EUR
paymentType=DB
integrity=true
merchantTransactionId=P125
standingInstruction.type=UNSCHEDULED
standingInstruction.mode=REPEATED
standingInstruction.source=CIT
registrations[0].id={registrationId}
customer.ip=2001:8a0:7f4b:1b00:dd4e:2bf6:1fb8:56af
customParameters[CRMCustomerID]=CUST01
customParameters[OrderID]=OC-00100
customParameters[PaymentType]=OneClickCheckout
testMode=EXTERNAL
COPYandPAY request to create a checkout for an instalment initial payment
entityId={channelId}
amount=20.05
currency=EUR
paymentType=DB
integrity=true
merchantTransactionId=P128
billing.street1=Ave. Diagonal 611
billing.city=Barcelona
billing.country=ES
billing.postcode=08028
standingInstruction.type=INSTALLMENT
standingInstruction.mode=INITIAL
standingInstruction.source=CIT
standingInstruction.numberOfInstallments=999
standingInstruction.expiry=9999-12-31
standingInstruction.frequency=0001
createRegistration=true
[email protected]
customer.ip=2001:8a0:7f4b:1b00:dd4e:2bf6:1fb8:56af
customer.givenName=Juan
customer.surname=Santos
customer.phone=34667666666
customer.merchantCustomerId=CUST01
threeDSecure.challengeIndicator=04
customParameters[StoreCredentialType]=CIT
customParameters[CRMCustomerID]=CRM CUST01
customParameters[InstalmentsID]=I-00100
customParameters[PaymentType]=Instalment
customParameters[3DS_enrolled]=true
customParameters[3DS2_flow]=challenge
testMode=EXTERNAL
COPYandPAY request to collect an instalment repeated payment
entityId={channelId}
amount=20.06
currency=EUR
paymentType=DB
merchantTransactionId=P129
standingInstruction.type=INSTALLMENT
standingInstruction.mode=REPEATED
standingInstruction.source=MIT
standingInstruction.initialTransactionId={CardholderInitiatedTransactionID}
customer.ip=2001:8a0:7f4b:1b00:dd4e:2bf6:1fb8:56af
customParameters[CRMCustomerID]=CUST01
customParameters[InstalmentsID]=I-00100
customParameters[TransactionID]=P-00006000
customParameters[StoreCredentialType]=MIT
testMode=EXTERNAL
COPYandPAY request to create a checkout for a subscription initial payment
entityId={channelId}
amount=20.03
currency=EUR
paymentType=DB
integrity=true
merchantTransactionId=P126
billing.street1=Calle Principal 123
billing.city=Barcelona
billing.country=ES
billing.postcode=08028
standingInstruction.type=RECURRING
standingInstruction.mode=INITIAL
standingInstruction.source=CIT
standingInstruction.expiry=9999-12-31
standingInstruction.frequency=0001
standingInstruction.recurringType=SUBSCRIPTION
createRegistration=true
[email protected]
customer.ip=2001:8a0:7f4b:1b00:dd4e:2bf6:1fb8:56af
customer.givenName=John
customer.surname=Smith
customer.phone=34667666666
customer.merchantCustomerId=CUST01
threeDSecure.challengeIndicator=04
customParameters[StoreCredentialType]=CIT
customParameters[CRMCustomerID]=CRM CUST01
customParameters[SubscriptionID]=S-00100
customParameters[PaymentType]=Subscription
customParameters[3DS_enrolled]=true
customParameters[3DS2_flow]=challenge
testMode=EXTERNAL
COPYandPAY request to collect a subscription repeated payment
entityId={channelId}
amount=20.04
currency=EUR
paymentType=DB
merchantTransactionId=P127
standingInstruction.type=RECURRING
standingInstruction.mode=REPEATED
standingInstruction.source=MIT
standingInstruction.recurringType=SUBSCRIPTION
standingInstruction.initialTransactionId={CardholderInitiatedTransactionID}
customParameters[CRMCustomerID]=CUST01
customParameters[SubscriptionID]=S-00100
customParameters[TransactionID]=P-00007000
customParameters[StoreCredentialType]=MIT
customer.ip=2001:8a0:7f4b:1b00:dd4e:2bf6:1fb8:56af
testMode=EXTERNAL
COPYandPAY request to create a checkout for a metered initial payment
entityId={channelId}
amount=25.00
currency=EUR
paymentType=DB
integrity=true
merchantTransactionId=P130
billing.street1=Calle Principal 123
billing.city=Barcelona
billing.country=ES
billing.postcode=08123
standingInstruction.type=UNSCHEDULED
standingInstruction.mode=INITIAL
standingInstruction.source=CIT
standingInstruction.expiry=9999-12-31
standingInstruction.recurringType=STANDING_ORDER
createRegistration=true
[email protected]
customer.ip=2001:8a0:7f4b:1b00:dd4e:2bf6:1fb8:56af
customer.givenName=John
customer.surname=Smith
customer.phone=34667666666
customer.merchantCustomerId=CUST01
threeDSecure.challengeIndicator=04
customParameters[StoreCredentialType]=CIT
customParameters[CRMCustomerID]=CRM CUST01
customParameters[MeteredId]=M-00100
customParameters[PaymentType]=Metered
customParameters[3DS2_enrolled]=true
customParameters[3DS2_flow]=challenge
testMode=EXTERNAL
COPYandPAY request to collect a metered repeated payment
entityId={channelId}
amount=20.08
currency=EUR
paymentType=DB
merchantTransactionId=P131
standingInstruction.type=UNSCHEDULED
standingInstruction.mode=REPEATED
standingInstruction.source=MIT
standingInstruction.recurringType=STANDING_ORDER
standingInstruction.initialTransactionId={CardholderInitiatedTransactionID}
customer.ip=2001:8a0:7f4b:1b00:dd4e:2bf6:1fb8:56af
customParameters[CRMCustomerID]=CUST01
customParameters[MeteredID]=M-00100
customParameters[TransactionID]=P-00006000
customParameters[StoreCredentialType]=MIT
testMode=EXTERNAL