Happy Business Starts Here

How can I create Bank Transfer(SEPA) payment method with REST API through GoCardless?

Highlighted
Support SME

How can I create Bank Transfer(SEPA) payment method with REST API through GoCardless?

I'm trying to create Bank Transfer(SEPA) payment method with REST API through GoCardless, but I'm not sure which fields I could use.






If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Support SME

Re: How can I create Bank Transfer(SEPA) payment method with REST API through GoCardless?

As our current integration with GoCardless, it is only supported to create Bank Transfer(SEPA) payment method with IBAN.

 

Here is an example of how to do it with REST API:

 

Payment Gateway: GoCardless

Payment Method Type: Bank Transfer(SEPA)

REST API Request

 

POST https://rest.apisandbox.zuora.com/v1/object/payment-method

{ 
"AccountId": "2c92c0f9671686a201672f0a42684b15", 
"BankTransferAccountNumber": "FR1420041010050500013M02606", 
"Country": "France", 
"BankTransferAccountName": "Test Account", 
"Email": "dummy@dummyemail.com", 
"FirstName": "Test", 
"LastName": "Account", 
"Type": "BankTransfer", 
"BankTransferType": "SEPA"
}

(field BankTransferAccountNumber will be mapped to iban in GoCardless' API)

 

 






If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

View solution in original post

2 REPLIES 2
Highlighted
Support SME

Re: How can I create Bank Transfer(SEPA) payment method with REST API through GoCardless?

As our current integration with GoCardless, it is only supported to create Bank Transfer(SEPA) payment method with IBAN.

 

Here is an example of how to do it with REST API:

 

Payment Gateway: GoCardless

Payment Method Type: Bank Transfer(SEPA)

REST API Request

 

POST https://rest.apisandbox.zuora.com/v1/object/payment-method

{ 
"AccountId": "2c92c0f9671686a201672f0a42684b15", 
"BankTransferAccountNumber": "FR1420041010050500013M02606", 
"Country": "France", 
"BankTransferAccountName": "Test Account", 
"Email": "dummy@dummyemail.com", 
"FirstName": "Test", 
"LastName": "Account", 
"Type": "BankTransfer", 
"BankTransferType": "SEPA"
}

(field BankTransferAccountNumber will be mapped to iban in GoCardless' API)

 

 






If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

View solution in original post

Highlighted
Scholar

Re: How can I create Bank Transfer(SEPA) payment method with REST API through GoCardless?

Hello Yolanda,

 

thanks for the solution. I verified this is working indeed.

Are there any updates on this? Is it possible to create the Payment Method as part in the Create order REST API these days for GoCardless so we can use 1 call instead?

I can't get this to work, getting an error 'Unsupported OPM type SEPA' when using "Type": "BankTransfer" in the paymentMethod part of the Create order REST API.

 

This is the part for paymentMethod I'm now trying in Create order:

 
"paymentMethod": {
	"type": "SEPA",
	"makeDefault": true,
	"IBAN": "NL02ABNA0123456789",
	"businessIdentificationCode": null
},
 

Best regards, Jan