#Testing delayed routes fails

1 messages ยท Page 1 of 1 (latest)

tiny dome
#

Hi,

I'm trying to test the delayed routes like this with a POST method: https://api.mollie.com/v2/payments/tr_nCEYT9tgHHsDBZ9NTW7DJ/routes
i see in the mollie dashboard that the order is "paid". But i get a 404 response with: Invalid resource endpoint.

The body contains: testmode: true and the needed amount -> currency & value and destination with type and organizationId.

Am i missing something in the settings for the mollie dashboard or is my request faulty?

I'm testing with postman and using the test API that's included with my account..

orchid cloak
#

Hey, thanks for your question! We are checking internally. Once I hear feedback from the team, I will get back to you!

orchid cloak
#

The reason you get 404, is because you don't have that feature enabled. POST-ing to that endpoint just won't work.

tiny dome
#

Ah! that makes sense haha. Should i contact support to get the right features enabled?

orchid cloak
tiny dome
#

Thanks, i will do that ๐Ÿ™‚

tiny dome
#

Hi Klaudia, i have marketplaces activated and trying to test. so i made a testpayment with id: tr_nCEYT9tgHHsDBZ9NTW7DJ and trying to do a POST to the following URL: https://api.mollie.com/v2/payments/tr_nCEYT9tgHHsDBZ9NTW7DJ/routes

with my test API key which is connected to the test ecommerce shop from where the payment is from. The json that i send in the body is the following: {
"amount": {
"currency": "EUR",
"value": "5.95"
},
"description": "Order #12345",
"destination": {
"type": "organization",
"organizationId": "org_19135177"
}
}

i'm still getting a 404. So i tried to get the payment on it's own with a GET and that's succesfull. The payment can be found with the same credentials, but when i add: /routes in the URL it fails. I can't see what i'm doing wrong here..

i also tried different organisationId's just to test with Postman, but also with no success. Hope you can help me!

orchid cloak
tiny dome
#

Yes i'm following the docs. that's where i get my info from

orchid cloak
#

I did some digging and the issue is that you still don't have the holding balance feature enabled. Once that's on, delayed routing will work automatically.

Here is a full guide and explanation with action items on the setup: https://docs.mollie.com/docs/split-payments-with-delayed-routing

To enable holding balance feature you need to usually contact CSM assigned to your org, if you don't have one then you need to reach out to our support for further assistance cuz this has implications on the ability to process "normal" payments.

Also, so sorry for the back and fourth, the issue is not as straightforward and the responsible team will be working on updating the documentation with the missing information ๐Ÿ™

Mollie Documentation

Delayed routing allows you to provide the routing information at a later time after the payment has been paid.
This offers enhanced flexibility compared to the Upfront Routing, with the primary difference being when routing instructions are provided.
With Delayed Routing, instructions are submitted โ€ฆ