409 error_duplicate_resource. It ends with the ID in hand, ready to use in your next call.
Nuvion returns a resource’s ID in the create response. If you lost it, list the resource and match on a value you still know, such as a name, a reference or the account it belongs to.
Which call to use
Each list is paginated, newest first unless the endpoint says otherwise. When
has_next is true, pass next_cursor as cursor to read the next page. See Pagination.
Recover an entity
Search by the name you sent when you created the entity. This is also how you recover from a409 error_duplicate_resource on create.
id of the match is the entity_id. To read the person, address and identification IDs, or the person’s email, retrieve the entity.
Recover an account
Filter the entity’s accounts by thecurrency and display_name you used. Without entity_id, the list returns your own accounts. The display_name match is partial, so if more than one account comes back, pick the one whose display_name matches exactly.
id is data.data[].id. See List accounts for the filters.
Recover a transfer
Filter by theunique_reference you sent. The reference must match exactly, including letter case.
200 OK with an empty data array. A transfer record exists even when the transfer ends in failed, so a missing match means no transfer was created with that reference.
Recover a card
The card list can’t filter by name, so list the cards on the funding account and matchname. The card id is under data.cards.
created and type to tell them apart. See List cards.
When a call fails or returns nothing
The request can also return the shared
403 and 429 errors. See Errors for the standard error object.
Don’t lose it again
- Store the ID when the create succeeds, before you do anything else with the resource.
- Send a stable reference such as
unique_referenceon transfers and funding sessions, anddisplay_nameon accounts. A retry with the same value returns409 error_duplicate_resourceinstead of creating a second record, and the reference lets you find the first one. - Handle
409 error_duplicate_resourceby recovering the existing ID, as above, not by showing the raw error. See Avoiding duplicate entities.

